import { Event } from '../events'; /** * A function that takes a generic event as argument. */ type Callback = (event: E) => void; /** * A function that takes the synthetic version of a generic event as argument. */ type NativeCallback = (event: { nativeEvent: E; }) => void; /** * Create a proxy function that unwraps native events. */ export declare function useProxy(): (callback?: Callback) => NativeCallback; export {}; //# sourceMappingURL=useProxy.d.ts.map