import type { FormFieldProps } from "../FormField";
import type { FocusEvents, HTMLInputBaseProps, KeyboardEvents, MouseEvents, RebuiltInputCommonProps } from "../sharedHelpers/types";
export interface InputPhoneNumberProps extends Omit<HTMLInputBaseProps, "type" | "maxLength" | "minLength">, FocusEvents<HTMLInputElement>, KeyboardEvents<HTMLInputElement>, MouseEvents<HTMLInputElement>, Omit<RebuiltInputCommonProps, "showMiniLabel"> {
    /**
     * The current value of the input.
     */
    readonly value: string;
    /**
     * Custom onChange handler that provides the new value as the first argument.
     */
    readonly onChange: (value: string, event?: React.ChangeEvent<HTMLInputElement>) => void;
    /**
     * @deprecated Use `onKeyDown` or `onKeyUp` instead.
     */
    readonly onEnter?: FormFieldProps["onEnter"];
    /**
     * A pattern to specify the format to display the phone number in.
     * For example if you want to display the format for [Denmark](https://en.wikipedia.org/wiki/National_conventions_for_writing_telephone_numbers#Denmark)
     * you could set it to `** ** ** **`
     * @default "(***) ***-****"
     */
    readonly pattern?: string;
}
export declare const DEFAULT_PATTERN = "(***) ***-****";
