export declare function useLatestFunc any>(fn: T): (...args: Parameters) => void;