/** * Enhanced Pressable component with modifier support * Injects disabled state into style function for disabled: modifier support */ import { type PressableStateCallbackType, type PressableProps as RNPressableProps, type StyleProp, type ViewStyle } from "react-native"; type EnhancedPressableState = PressableStateCallbackType & { disabled: boolean | null | undefined; }; export type PressableProps = Omit & { /** * Style can be a static style object/array or a function that receives Pressable state + disabled */ style?: StyleProp | ((state: EnhancedPressableState) => StyleProp); className?: string; }; /** * Enhanced Pressable that supports the disabled: modifier * * @example * * Submit * */ export declare const Pressable: import("react").ForwardRefExoticComponent & { /** * Style can be a static style object/array or a function that receives Pressable state + disabled */ style?: StyleProp | ((state: EnhancedPressableState) => StyleProp); className?: string; } & import("react").RefAttributes>; export {};