export declare const dynamicFunction: any>(implementation: F) => [fn: F, set: (fn: F) => void];