import React from 'react'; import { AvailableIconName } from 'components/Icons/Svg/icon_names'; type Size = 'default' | 'medium'; type TextAlign = 'left' | 'right'; interface OnChangeProps { target: { name: string; value: string; }; } interface IconProps { fill: string; name: AvailableIconName; stroke: string; width: number; } interface LeftRightComponentParams { refInput: React.RefObject; value: string; } interface InputTextProps { className: string; disabled: boolean; error?: string; icon?: IconProps; id?: string; left?: boolean; leftComponent: (data?: LeftRightComponentParams) => React.ReactElement; name?: string; onChange: (e: OnChangeProps) => void; placeholder?: string; prefix: React.ReactElement | string; readOnly: boolean; right?: boolean; rightComponent: (data?: LeftRightComponentParams) => React.ReactElement; size: Size; suffix: React.ReactElement | string; textAlign: TextAlign; type: string; value: string; width?: string; } interface InputTextState { MINIMAL_INPUT_WIDTH: number; PADDING_WIDTH: number; leftComponentWidth: number; prefixWidth: number; rightComponentWidth: number; suffixWidth: number; truncatePrefix: boolean; value: string; } export declare class UIInputText extends React.PureComponent { refInput: React.RefObject; refLeftComponent: React.RefObject; refPrefix: React.RefObject; refRightComponent: React.RefObject; refSuffix: React.RefObject; static displayName: string; static defaultProps: { className: string; disabled: boolean; leftComponent: () => void; onChange: () => void; prefix: null; readOnly: boolean; rightComponent: () => void; size: string; suffix: null; textAlign: string; type: string; value: string; }; constructor(props: any); focus: () => void; componentDidUpdate(prevProps: any): void; componentDidMount(): void; initSuffixWidth: () => void; initPrefixWidth: () => void; checkPrefixOverflow: () => void; initRightComponentWidth: () => void; initLeftComponentWidth: () => void; handleChange: (event: React.ChangeEvent) => void; truncateText: (text: string) => string; render(): React.ReactElement; } export declare const IconCopyWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit, HTMLSpanElement>, never>> & string; declare const _default: React.ForwardRefExoticComponent & React.RefAttributes>; export default _default;