import { FocusEventHandler, ChangeEventHandler } from 'react'; import { Input } from '../input.js'; import { InferComponentProps } from '../types.js'; declare const createZipCodeValidator: ({ isRequired, label, requiredErrorMessage, minLengthErrorMessage, nineDigitLengthErrorMessage, }?: { isRequired?: boolean | undefined; label?: string | undefined; requiredErrorMessage?: string | undefined; minLengthErrorMessage?: string | undefined; nineDigitLengthErrorMessage?: string | undefined; }) => (zip: string) => [string] | void; type ZipCodeInputProps = InferComponentProps & Parameters[0] & { name: string; onBlur?: FocusEventHandler; onChange?: ChangeEventHandler; invalidOnTouched?: boolean; restrictToFiveDigits?: boolean; }; /** * @deprecated This component is deprecated and will be removed in a future release. Avoid using it in new code. */ export declare const ZipCodeInput: import("styled-components/dist/types.js").IStyledComponentBase<"web", import("styled-components").FastOmit; helperText?: string; isStatic?: boolean; errors?: string[]; lede?: import("react").ReactNode; touched?: boolean; childrenBeforeErrors?: import("react").ReactNode; innerRef?: import("react").MutableRefObject; tooltipText?: string; isPrivate?: boolean; } & InferComponentProps & import("react").InputHTMLAttributes) | (Omit & import("react").InputHTMLAttributes, "ref"> & import("react").RefAttributes, HTMLInputElement>, any, any>>), { isInvalid?: boolean; }>> & (string & (Omit, HTMLInputElement>, any>, keyof import("react").Component> | Omit, HTMLInputElement>>, keyof import("react").Component>))>, never>> & string & Omit<({ autoFocus, children, className, label, hasSpaceForErrors, helperIcon, helperLinkAction, helperText, isInvalid, isStatic, value, required, type, errors, lede, touched, placeholder, childrenBeforeErrors, innerRef, tooltipText, isPrivate, ...props }: { label?: string; hasSpaceForErrors?: boolean; helperIcon?: import("../index.js").IconName; helperLinkAction?: import("react").MouseEventHandler; helperText?: string; isStatic?: boolean; errors?: string[]; lede?: import("react").ReactNode; touched?: boolean; childrenBeforeErrors?: import("react").ReactNode; innerRef?: import("react").MutableRefObject; tooltipText?: string; isPrivate?: boolean; } & InferComponentProps & import("react").InputHTMLAttributes) | (Omit & import("react").InputHTMLAttributes, "ref"> & import("react").RefAttributes, HTMLInputElement>, any, any>>), { isInvalid?: boolean; }>> & (string & (Omit, HTMLInputElement>, any>, keyof import("react").Component> | Omit, HTMLInputElement>>, keyof import("react").Component>))>) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component>> & { isRequired?: boolean | undefined; label?: string | undefined; requiredErrorMessage?: string | undefined; minLengthErrorMessage?: string | undefined; nineDigitLengthErrorMessage?: string | undefined; } & { name: string; onBlur?: FocusEventHandler; onChange?: ChangeEventHandler; invalidOnTouched?: boolean; restrictToFiveDigits?: boolean; }, never>> & string & Omit<({ name, label, onBlur, onChange, invalidOnTouched, isRequired, requiredErrorMessage, minLengthErrorMessage, nineDigitLengthErrorMessage, restrictToFiveDigits, ...props }: ZipCodeInputProps) => import("react/jsx-runtime").JSX.Element, keyof import("react").Component>; export {};