import React from 'react'; import '../../Components/InputControls/wdk-SaveableTextEditor.scss'; declare type InputProps = React.TextareaHTMLAttributes & React.InputHTMLAttributes; declare type InputPropsWithoutOnChange = Omit; interface Props extends InputPropsWithoutOnChange { value: string; onSave: (value: string) => void; multiLine?: boolean; className?: string; displayValue?: (value: string, handleEdit: () => void) => React.ReactNode; emptyText?: string; } interface State { editing: boolean; editingValue: string; } declare class SaveableTextEditor extends React.Component { constructor(props: Props); handleEdit(): void; handleSave(): void; handleCancel(): void; handleChange(editingValue: string): void; handleSubmit(event: React.FormEvent): void; render(): JSX.Element; } export default SaveableTextEditor; //# sourceMappingURL=SaveableTextEditor.d.ts.map