import React from 'react'; import { View } from 'react-native'; import { type SharedProps } from '@coinbase/cds-common/types/SharedProps'; import { type BoxBaseProps } from '../layout/Box'; import { type VStackProps } from '../layout/VStack'; import { type HapticFeedbackType } from '../system/Pressable'; export declare const SEPARATOR = 'SEPARATOR'; export declare const DELETE = 'DELETE'; export type SeparatorType = typeof SEPARATOR; export type DeleteType = typeof DELETE; export type NumpadValue = number | SeparatorType | DeleteType; export type NumpadButtonProps = { value: NumpadValue; onPress: (value: NumpadValue) => void; onLongPress?: (value: NumpadValue) => void; separator?: string; hideSeparator?: boolean; disabled?: boolean; separatorAccessibilityLabel?: string; deleteAccessibilityLabel?: string; feedback?: HapticFeedbackType; }; export type NumpadBaseProps = BoxBaseProps & { separator?: string; /** When `true`, hides the separator key and removes it from the accessibility tree. */ hideSeparator?: boolean; disabled?: boolean; accessory?: React.ReactNode; action?: React.ReactNode; separatorAccessibilityLabel?: string; deleteAccessibilityLabel?: string; }; export type NumpadProps = NumpadBaseProps & VStackProps & { onPress: (value: NumpadValue) => void; onLongPress?: (value: NumpadValue) => void; /** * Haptic feedback to trigger when being pressed. * @default none */ feedback?: HapticFeedbackType; } & SharedProps & VStackProps; export declare const Numpad: React.MemoExoticComponent< ({ ref: forwardedRef, ..._props }: NumpadProps & { ref?: React.Ref; }) => import('react/jsx-runtime').JSX.Element >; //# sourceMappingURL=Numpad.d.ts.map