import React from 'react';
import { InputProps } from '../../../../components/input/Input';
import { InputMaskedProps } from '../../../../components/InputMasked';
import { TextareaProps } from '../../../../components/Textarea';
import { FieldBlockWidth } from '../../FieldBlock';
import type { TextCounterProps } from '../../../../fragments/TextCounter';
import type { FieldProps } from '../../types';
export type Props = FieldProps<string, undefined | string> & {
    multiline?: boolean;
    inputClassName?: string;
    innerRef?: React.RefObject<HTMLInputElement | HTMLTextAreaElement>;
    width?: FieldBlockWidth;
    size?: InputProps['size'] | TextareaProps['size'];
    keepPlaceholder?: InputProps['keep_placeholder'];
    minLength?: number;
    maxLength?: number;
    pattern?: string;
    type?: InputProps['type'];
    align?: InputProps['align'];
    selectall?: InputProps['selectall'];
    clear?: boolean;
    mask?: InputMaskedProps['mask'];
    leftIcon?: string;
    rightIcon?: string;
    submitElement?: InputProps['submit_element'];
    capitalize?: boolean;
    trim?: boolean;
    rows?: TextareaProps['rows'];
    autoresizeMaxRows?: TextareaProps['autoresize_max_rows'];
    autoresize?: TextareaProps['autoresize'];
    characterCounter?: Omit<TextCounterProps, 'text'> | number;
    autoComplete?: HTMLInputElement['autocomplete'];
    inputMode?: React.HTMLAttributes<HTMLInputElement>['inputMode'];
    autoCorrect?: React.HTMLAttributes<HTMLInputElement>['autoCorrect'];
    spellCheck?: React.HTMLAttributes<HTMLInputElement>['spellCheck'];
    autoFocus?: React.HTMLAttributes<HTMLInputElement>['autoFocus'];
    autoCapitalize?: React.HTMLAttributes<HTMLInputElement>['autoCapitalize'];
    onKeyDown?: React.KeyboardEventHandler<HTMLInputElement>;
};
declare function StringComponent(props: Props): import("react/jsx-runtime").JSX.Element;
declare namespace StringComponent {
    var _supportsSpacingProps: boolean;
}
export default StringComponent;
