declare const useEventCallback: any>(fn: F) => (...args: Parameters) => ReturnType; export default useEventCallback;