import { type TextFieldProps as RACTextFieldProps } from 'react-aria-components'; import type { AffixProps, ApiProps, CommonProps, FieldWithPlaceholderProps } from '../types.js'; export interface TextFieldProps extends CommonProps, FieldWithPlaceholderProps, AffixProps, ApiProps, Pick { /** * Whether to render a button that can be used to clear the text field. * @default false */ isClearable?: boolean; } /** The imperative API exposed by the `TextField` component. */ export interface TextFieldApi { /** Focuses the input field. */ focus: () => void; /** Selects the contents of the input field. */ select: () => void; } /** * Allows users to enter a single line of text with a keyboard. * * See [text field usage guidelines](https://ui.cimpress.io/components/text-field/). */ declare const _TextField: (props: TextFieldProps & import("react").RefAttributes & import("../../with-style-props.js").StyleProps) => import("react").JSX.Element | null; export { _TextField as TextField }; //# sourceMappingURL=text-field.d.ts.map