import type { FC, DetailedHTMLProps, HTMLAttributes } from 'react';
import type { TextInputType, TextInputVariant, TextInputAutocomplete } from '../../components/text-input/pharos-text-input';
export interface PharosTextInputProps extends DetailedHTMLProps, HTMLElement> {
/**
* Indicates input value.
*/
value?: string;
/**
* Indicates the type of input.
*/
type?: TextInputType;
/**
* Indicates the variant of text input.
*/
variant?: TextInputVariant;
/**
* Indicates if input is readonly.
*/
readonly?: boolean;
/**
* Indicates if autocomplete is enabled
*/
autocomplete?: TextInputAutocomplete | undefined;
/**
* Display text when input is empty
*/
placeholder?: string;
/**
* Defines the minimum number of characters the user can enter
*/
minlength?: number | undefined;
/**
* Defines the maximum number of characters the user can enter
*/
maxlength?: number | undefined;
/**
* Pattern to validate the input against
*/
pattern?: string | undefined;
/**
* Indicates the input is on a AA compliant background.
*/
isOnBackground?: boolean;
/**
* Name for the form element.
*/
name?: string;
/**
* Indicates if input is required.
*/
required?: boolean;
/**
* Indicates if input is disabled.
*/
disabled?: boolean;
/**
* Indicates an invalidated state.
*/
invalidated?: boolean;
/**
* Indicates a validated state.
*/
validated?: boolean;
/**
* The message to display below the input.
*/
message?: string;
/**
* Indicates if the label should be hidden.
*/
hideLabel?: boolean;
}
export declare const PharosTextInput: FC;
//# sourceMappingURL=pharos-text-input.d.ts.map