import { type PropsWithChildren } from 'react'; import { type WithSpringConfig, type WithTimingConfig } from 'react-native-reanimated'; import { type DefaultPressableProps, type PressableConfig } from './constants'; import { type AnimatedPressableOptions, type AnimationType } from './context'; export type PressablesConfigProps = { children?: React.ReactNode; animationType?: T; animationConfig?: T extends 'timing' ? WithTimingConfig : WithSpringConfig; globalHandlers?: { onPressIn?: (options: AnimatedPressableOptions) => void; onPressOut?: (options: AnimatedPressableOptions) => void; onPress?: (options: AnimatedPressableOptions) => void; }; metadata?: TMetadata; /** * Activates the pressable animation on hover (web only) * @platform web */ activateOnHover?: boolean; /** * Pressable configuration values (opacity, scale, etc.) */ config?: Partial; /** * Default props applied to all pressables. * Individual pressable props will override these values. * * @example * // Disable ripple effect globally on Android * * ... * */ defaultProps?: DefaultPressableProps; }; export declare const PressablesGroup: ({ children }: PropsWithChildren) => import("react/jsx-runtime").JSX.Element; export declare const PressablesConfig: ({ children, animationType, animationConfig, globalHandlers, metadata, activateOnHover, config, defaultProps, }: PressablesConfigProps) => import("react/jsx-runtime").JSX.Element; export * from './hooks'; export type { DefaultPressableProps, PressableConfig } from './constants'; //# sourceMappingURL=index.d.ts.map