/**
* Creates a MutableRefObject with a constant reference. This allows us to pass around a constant reference
* to a callback, but let the consumer change the callback over time without losing that reference.
* The callback is only updated after render, so any usage of the callback during render will operate on the
* previous render's callback. Callbacks created by this hook should **only** be used for event handling.
* If the callback is called on the first render of a component, it will log an error. In the future,
* this will throw.
*
* ```
*
* @param callback
*/
export declare function useEventCallback<T extends Function>(callback: T): T;
