/** * A row or a disclosure gives a little; the action a deposit turns on gives * more, because it is the one press a buyer needs to feel they have made. */ export declare const ACTION_PRESSED_SCALE = 0.95; export declare const ACTION_PRESSED_DIM = 0.85; export interface PressScaleOptions { /** Scale at the bottom of the press. */ scale?: number; /** Opacity at the bottom of the press; 1 leaves the control at full strength. */ dim?: number; /** Fire a tap as the finger lands. Off for controls that are not an action. */ haptics?: boolean; } /** * Press feedback for a control the design gives no pressed fill: it dips under * the finger on press-in and springs back on press-out. Scale takes the label * and any icon with it, which is what makes it read as one physical object. * * Dip and dim run off one value, so the control is at its darkest exactly at * the bottom of the travel rather than drifting against it. * * Reduced motion drops the dip but keeps the dim, applied without a ramp: the * press still has to answer, and a control that changes strength in place asks * nothing of a vestibular system. The tap is unaffected — it is not motion. */ export declare function usePressScale({ scale, dim, haptics, }?: PressScaleOptions): { pressStyle: import("react-native-reanimated/lib/typescript/hook/commonTypes").AnimatedStyleHandle<{ transform: { scale: number; }[]; opacity: number; }>; onPressIn: () => void; onPressOut: () => void; }; //# sourceMappingURL=usePressScale.d.ts.map