type Fn = (...args: ARGS) => R; /** * A hook that returns a stable callback that always has the latest version of the provided function. * Taken from https://github.com/Volune/use-event-callback/blob/master/src/index.ts. * * @param {Fn} fn - The callback function. * @returns {Fn} A stable version of the provided callback function. */ export declare const useEventCallback: (fn: Fn) => Fn; export {}; //# sourceMappingURL=useEventCallback.d.ts.map