import { LongPressOptions } from '@uidotdev/usehooks'; interface NumberPadProps { /** * The current value displayed in the number pad */ value?: string; /** * Whether the number pad is disabled */ disabled?: boolean; /** * Callback fired when the value changes */ onChange?: (value: string) => void; /** * Callback fired on long press of the delete button */ onLongDeletePress?: () => void; /** * Options for the long press * @type LongPressOptions * @property { number } threshold - The time in milliseconds before the long press is triggered * @property { (e: Event) => void } onStart - Callback fired when the long press starts * @property { (e: Event) => void } onFinish - Callback fired when the long press finishes * @property { (e: Event) => void } onCancel - Callback fired when the long press is cancelled * @default { threshold: 1500 } */ longPressOptions?: LongPressOptions; } declare const NumberPad: ({ value, onChange, disabled, onLongDeletePress, longPressOptions, }: NumberPadProps) => import("react/jsx-runtime").JSX.Element; export { NumberPad }; export type { NumberPadProps };