/** * A (temporary) userland implementation of `useEvent` from this React RFC: https://github.com/reactjs/rfcs/pull/220. * * Typically useful for getting a stable reference to an "event" function (i.e. one that isn't called during render * but is called later in a useEffect or event handler) that accesses state or props. */ export declare function useEvent(handler: (...args: T) => U): (...args: T) => U; //# sourceMappingURL=event.d.ts.map