import { BaseProps } from './types';

export interface TextExtraProps {
    selectOnFocus?: boolean;
    centerPlaceholder?: boolean;
    resetOnBlurIfEmpty?: boolean;
}
export interface TextProps extends BaseProps<string>, TextExtraProps {
}
/**
 * A controlled string input component.
 *
 * @param props - The props for the input component. Unlisted props are passed to the
 * underlying input element.
 * @param props.value - The value of the input.
 * @param props.onChange - A function to call when the input value changes.
 * @param props.size - The size of the input: "small" | "medium" | "large".
 * @param props.selectOnFocus - Whether the input should select its contents when focused.
 * @param props.centerPlaceholder - Whether the placeholder should be centered.
 * @param props.resetOnBlurIfEmpty - Whether the input should reset to its previous value if
 * blurred while empty.
 */
export declare const Text: import('react').ForwardRefExoticComponent<TextProps & import('react').RefAttributes<HTMLInputElement>>;
//# sourceMappingURL=Text.d.ts.map