import * as React from "react"; import "./TextLine.scss"; interface IProps { text: string; saveTextHint?: string; isTitle?: boolean; isEditing?: boolean; invalid?: boolean; onChange?: (value: string) => boolean | void; } interface IState { isEditing: boolean; invalid: boolean; value: string; } export declare class TextLine extends React.Component { input: HTMLInputElement; state: { isEditing: boolean; invalid: boolean; value: string; }; handleKeyUp: ({ key }: KeyboardEvent) => void; setFocusToInput: () => void; handleEdit: () => void; handleExit: (newValue?: string) => void; handleChange: ({ target }: React.ChangeEvent) => void; handleInputKeyDown: ({ key }: React.KeyboardEvent) => void; handleInputRef: (ref: HTMLInputElement) => HTMLInputElement; componentDidMount(): void; componentWillUnmount(): void; render(): JSX.Element; } export {};