import { ComponentProps, JSX } from "react"; import { BiometricsValidType } from "../../utils/types"; import { NumberButton } from "./NumberButton"; type BiometricAuthProps = { /** * Type of device biometric. */ biometricType: BiometricsValidType; /** * Function to be executed when the biometric button is pressed. * @returns void */ onBiometricPress: () => void; /** * This label will be read from ScreenReaders and give informations about biometric button. */ biometricAccessibilityLabel: string; } | { biometricType?: never; onBiometricPress?: never; biometricAccessibilityLabel?: never; }; type NumberPadProps = { /** * Used to choose the component color variant between `dark` and `light`. * * The default value is `dark`. */ variant?: ComponentProps["variant"]; /** * This label will be read from ScreenReaders and give informations about delete button. */ deleteAccessibilityLabel: string; /** * This function is passed to all numeric buttons to handle their press action. * @param value * @returns void */ onNumberPress: (value: number) => void; /** * This function is passed to the delete button to handle the action to trigger when it's pressed. * * @returns void */ onDeletePress: () => void; } & BiometricAuthProps; /** * This component displays a custom numeric keyboard. * * It accepts an optional `biometricType` prop which enables an extra keyboard button that accepts a `onBiometricPress` prop used to handle the action to be executed when it's pressed. * @returns {JSX.Element} The rendered numeric keyboard component. */ export declare const NumberPad: ({ variant, biometricType, biometricAccessibilityLabel, deleteAccessibilityLabel, onNumberPress, onBiometricPress, onDeletePress }: NumberPadProps) => JSX.Element; export {}; //# sourceMappingURL=NumberPad.d.ts.map