import type { DependencyList, ReanimatedEvent } from './commonTypes'; interface GeneralHandler> { (event: ReanimatedEvent, context: Context): void; } type GeneralHandlers> = Record | undefined>; export interface UseHandlerContext> { context: Context; doDependenciesDiffer: boolean; useWeb: boolean; } /** * Lets you find out whether the event handler dependencies have changed. * * @param handlers - An object of event handlers. * @param dependencies - An optional array of dependencies. * @returns An object containing a boolean indicating whether the dependencies * have changed, and a boolean indicating whether the code is running on the * web. * @see https://docs.swmansion.com/react-native-reanimated/docs/advanced/useHandler */ export declare function useHandler>(handlers: GeneralHandlers, dependencies?: DependencyList): UseHandlerContext; export {}; //# sourceMappingURL=useHandler.d.ts.map