import React from 'react'; import { type PressableProps, type StyleProp, type ViewStyle } from 'react-native'; import { type AnimatedStyle } from 'react-native-reanimated'; import { type ColorName } from '../../theme/color'; import { type RadiusToken } from '../../theme/radius'; export interface ZSPressableProps extends Omit { onPress?: () => void; onLongPress?: () => void; children?: React.ReactNode; style?: StyleProp; backgroundColor?: ColorName | (string & {}); radius?: RadiusToken; pressedColor?: ColorName | (string & {}); loading?: boolean; preventDoublePress?: boolean; disabled?: boolean; } export interface ZSPressableBaseProps extends Omit { style?: StyleProp>; /** style 에 Reanimated 애니메이션 스타일을 넘길 때만 켠다 — 겉을 Animated 컴포넌트로 감싸는 비용이 커서 기본은 끈다 */ animated?: boolean; } declare function ZSPressable({ onPress, onLongPress, onPressIn, onPressOut, children, style, backgroundColor, radius, pressedColor, loading, preventDoublePress, disabled, hitSlop, onLayout, accessibilityRole, accessibilityState, animated, ...props }: ZSPressableBaseProps): React.JSX.Element; export declare const AnimatedZSPressable: React.MemoExoticComponent; declare const PublicZSPressable: React.MemoExoticComponent<(props: ZSPressableProps) => React.JSX.Element>; export default PublicZSPressable; //# sourceMappingURL=index.d.ts.map