/** * Returns a stable callback reference that always delegates to the latest implementation. * Prevents effect re-registration when an inline callback changes between renders. * * Serves the same role as `useEffectEvent` while this package supports React 18. */ export declare function useEventCallback(callback: (...args: GArgs) => GReturn): (...args: GArgs) => GReturn;