import type { MotiPressableInteractionState } from './types'; import { MotiPressableInteractionIds } from './context'; type Factory = (interaction: MotiPressableInteractionState) => Props; type Deps = unknown[] | null | undefined; /** * Replacement for `useAnimatedProps`, which receives the interaction state as the first argument. * @param factory function that receives the interaction state and returns the props */ export declare function useMotiPressableAnimatedProps(id: MotiPressableInteractionIds['id'], factory: Factory, deps?: Deps): Partial; export declare function useMotiPressableAnimatedProps(factory: Factory, deps?: Deps): Partial; export {}; //# sourceMappingURL=use-moti-pressable-animated-props.d.ts.map