/** * Enhanced TouchableOpacity component with modifier support * Adds active state support for active: modifier via onPressIn/onPressOut */ import { type TouchableOpacityProps as RNTouchableOpacityProps, type StyleProp, type ViewStyle } from "react-native"; type TouchableOpacityState = { active: boolean; disabled: boolean | null | undefined; }; export type TouchableOpacityProps = Omit & { /** * Style can be a static style object/array or a function that receives TouchableOpacity state */ style?: StyleProp | ((state: TouchableOpacityState) => StyleProp); className?: string; }; /** * Enhanced TouchableOpacity that supports active: and disabled: modifiers * * @example * * Submit * */ export declare const TouchableOpacity: import("react").ForwardRefExoticComponent & { /** * Style can be a static style object/array or a function that receives TouchableOpacity state */ style?: StyleProp | ((state: TouchableOpacityState) => StyleProp); className?: string; } & import("react").RefAttributes>; export {};