/// import { ComponentTypes, StyleFunctionContainer } from "../../theme/src/types"; /** * Hook to manage a pressed state and compose extra styling while a component is pressed * @param props The props object of a component * @param styleFunctions List of style functions supported by the component. By default, boxStyleFunctions are used * @param activeComponentType Type of the component inside which the hook is used. By default, this value is set to 'basic' * @param animateable Whether the styles should be dynamically animated using Moti. By default, this value is set to 'true' * @param parentStateValue A override value to control the 'pressed' state instead of the local state value * @returns The props object with updated styles according the current 'pressed' state */ export declare const usePressedState: (props: Record, styleFunctions?: StyleFunctionContainer[], activeComponentType?: ComponentTypes, animateable?: boolean, parentStateValue?: boolean | undefined) => { pressed: boolean; setPressed: import("react").Dispatch>; propsWithPressedStyles: Record; }; //# sourceMappingURL=usePressedState.d.ts.map