import type { MotiPressableInteractionState } from './types'; import { MotiPressableInteractionIds } from './context'; declare type Factory = (interaction: MotiPressableInteractionState) => Props; /** * 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?: readonly any[]): Partial; export declare function useMotiPressableAnimatedProps(factory: Factory, deps?: readonly any[]): Partial; export {};