import * as React from 'react'; import { PreciseTheme } from '../../common'; import { FormContextProps } from '../../hoc/withFormContext'; import { TagBuilderProps } from './TagBuilder.types.part'; interface CloseIconProps { onClick?(): void; onMouseDown?(event: React.MouseEvent): void; theme?: PreciseTheme; } export interface TagBuilderState { inputValue: string; value: Array; error?: React.ReactChild; focused: boolean; controlled: boolean; inputPosition?: number; valid?: boolean; } export declare class TagBuilderInt extends React.Component { private _input; constructor(props: TagBuilderProps); UNSAFE_componentWillReceiveProps({ value, inputValue, error }: TagBuilderProps): void; componentDidMount(): void; componentWillUnmount(): void; private fireBeforeTagRemoveEvent; private inputChanged; private keyDownHandler; private inputFocused; private inputBlurred; private inputMoveLeft; private inputMoveRight; private inputMoveEnd; private inputMoveHome; private setFocus; private addTag; private removePrevTag; private removeNextTag; private removeTag; private onChange; private removeTagMouseDownHandler; private renderTag; private setContainer; render(): JSX.Element; static inner: { readonly RestyledTagItem: any; readonly StyledText: any; readonly CloseIcon: React.SFC & { inner: { readonly StyledIcon: any; }; }; readonly InputContainer: any; readonly StyledInput: any; readonly TagBuilderContainer: any; readonly StyledInputBox: any; readonly StyledInputRow: React.SFC & { inner: { readonly TextFieldBoxWithLabelWrapper: any; readonly TextFieldLabel: any; readonly TextFieldLabelText: any; }; }; readonly StyledTagsContainer: any; readonly InputIcon: React.SFC & { inner: { readonly StyledIconContainer: any; readonly IconLink: React.SFC & { inner: { readonly StyledAnchor: any; readonly StyledIcon: any; readonly AnchorText: any; }; }; readonly Icon: React.FC & { inner: { readonly StyledIcon: any; }; }; }; }; }; } export declare const TagBuilder: React.SFC; export {};