import { ComponentType, TextareaHTMLAttributes } from 'react';
import { InputWrapperProps } from '../input-components/index.js';
import { DataAttributes } from '../../types.js';
export type InputStylesProps = {
disabled?: boolean;
$error?: string;
};
export declare const baseInputVariantsConfig: {
variants: {
disabled: {
false: string;
true: string;
};
hasValue: {
true: string;
};
hasError: {
true: string;
false: string;
};
};
compoundVariants: {
disabled: boolean;
hasValue: boolean;
class: string;
}[];
};
export declare const inputVariants: (props?: ({
disabled?: boolean | null | undefined;
hasValue?: boolean | null | undefined;
hasError?: boolean | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
export declare const withInputStyles: (Component: ComponentType) => import("react").ForwardRefExoticComponent & import("react").RefAttributes>;
export declare const withInputWrapper: (Component: ComponentType) => import("react").ForwardRefExoticComponent> & import("react").RefAttributes>;
export declare const StringInput: import("react").ForwardRefExoticComponent, "type" | "value" | "checked"> & {
value?: string;
uncontrolled?: boolean;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes>;
export declare const PatternInput: import("react").ForwardRefExoticComponent, "type" | "value" | "checked"> & {
value?: string;
uncontrolled?: boolean;
} & {
pattern: string;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes>;
export declare const PhoneNumberInput: import("react").ForwardRefExoticComponent & {
value?: import("../../index.js").PhoneNumber;
onChange?: import("react").ChangeEventHandler & {
value: import("../../index.js").PhoneNumber;
}>;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes>;
export declare const ZipCodeInput: import("react").ForwardRefExoticComponent & {
value?: import("../../index.js").ZipCode;
onChange?: import("react").ChangeEventHandler>;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes>;
export declare const ZipCodeExtendedInput: import("react").ForwardRefExoticComponent & {
value?: import("../../index.js").ZipCodeExtended;
onChange?: import("react").ChangeEventHandler>;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes>;
export declare const IntegerInput: import("react").ForwardRefExoticComponent & {
value?: number;
onChange?: import("react").ChangeEventHandler & {
value: number;
}>;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes>;
export declare const AddressTypeahead: import("react").ForwardRefExoticComponent, "type" | "value" | "checked"> & {
value?: string;
uncontrolled?: boolean;
} & {
onAddressSelect?: (addr: import("../../index.js").AddressTypeaheadAddress) => void;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes>;
export declare const USDInput: import("react").ForwardRefExoticComponent & {
withCents?: boolean;
value?: import("../../index.js").USDCents;
onChange?: import("react").ChangeEventHandler & {
value: import("../../index.js").USDCents;
}>;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes>;
export declare const DateInput: import("react").ForwardRefExoticComponent, "type" | "onChange" | "value" | "checked"> & {
onChange?: import("react").ChangeEventHandler & {
value: Date;
}>;
value?: Date;
uncontrolled?: boolean;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes>;
export declare const TextareaInput: import("react").ForwardRefExoticComponent & TextareaHTMLAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes>;
export declare const StringField: import("react").ForwardRefExoticComponent, "type" | "value" | "checked"> & {
value?: string;
uncontrolled?: boolean;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes & {
error?: string;
} & DataAttributes & Pick, "ref"> & import("react").RefAttributes>;
export declare const PatternField: import("react").ForwardRefExoticComponent, "type" | "value" | "checked"> & {
value?: string;
uncontrolled?: boolean;
} & {
pattern: string;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes & {
error?: string;
} & DataAttributes & Pick, "ref"> & import("react").RefAttributes>;
export declare const PhoneNumberField: import("react").ForwardRefExoticComponent & {
value?: import("../../index.js").PhoneNumber;
onChange?: import("react").ChangeEventHandler & {
value: import("../../index.js").PhoneNumber;
}>;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes & {
error?: string;
} & DataAttributes & Pick, "ref"> & import("react").RefAttributes>;
export declare const ZipCodeField: import("react").ForwardRefExoticComponent & {
value?: import("../../index.js").ZipCode;
onChange?: import("react").ChangeEventHandler>;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes & {
error?: string;
} & DataAttributes & Pick, "ref"> & import("react").RefAttributes>;
export declare const ZipCodeExtendedField: import("react").ForwardRefExoticComponent & {
value?: import("../../index.js").ZipCodeExtended;
onChange?: import("react").ChangeEventHandler>;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes & {
error?: string;
} & DataAttributes & Pick, "ref"> & import("react").RefAttributes>;
export declare const IntegerField: import("react").ForwardRefExoticComponent & {
value?: number;
onChange?: import("react").ChangeEventHandler & {
value: number;
}>;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes & {
error?: string;
} & DataAttributes & Pick, "ref"> & import("react").RefAttributes>;
export declare const AddressTypeaheadField: import("react").ForwardRefExoticComponent, "type" | "value" | "checked"> & {
value?: string;
uncontrolled?: boolean;
} & {
onAddressSelect?: (addr: import("../../index.js").AddressTypeaheadAddress) => void;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes & {
error?: string;
} & DataAttributes & Pick, "ref"> & import("react").RefAttributes>;
export declare const USDField: import("react").ForwardRefExoticComponent & {
withCents?: boolean;
value?: import("../../index.js").USDCents;
onChange?: import("react").ChangeEventHandler & {
value: import("../../index.js").USDCents;
}>;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes & {
error?: string;
} & DataAttributes & Pick, "ref"> & import("react").RefAttributes>;
export declare const DateField: import("react").ForwardRefExoticComponent, "type" | "onChange" | "value" | "checked"> & {
onChange?: import("react").ChangeEventHandler & {
value: Date;
}>;
value?: Date;
uncontrolled?: boolean;
} & import("react").RefAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes & {
error?: string;
} & DataAttributes & Pick, "ref"> & import("react").RefAttributes>;
export declare const TextareaField: import("react").ForwardRefExoticComponent & TextareaHTMLAttributes & {
$error?: string;
}, "ref"> & import("react").RefAttributes & {
error?: string;
} & DataAttributes & Pick, "ref"> & import("react").RefAttributes>;