import React from 'react';
import { EditableCellOnKeyDown } from '../../hooks';
import { Cell, WorksheetItem, WorksheetTextColumn } from '../../types';
export interface TextEditorProps<Item> {
    cell: Cell<Item>;
    initialValue?: string;
    isEdited: boolean;
    onBlur(event?: React.FocusEvent<HTMLInputElement>, cell?: Cell<Item>): void;
    onKeyDown: EditableCellOnKeyDown;
    isMetaKey: boolean;
    isControlKey: boolean;
    action?: WorksheetTextColumn<WorksheetItem>['action'];
}
export declare const TextEditor: <T extends WorksheetItem>({ cell, isEdited, initialValue, onBlur, onKeyDown, isMetaKey, isControlKey, action, }: TextEditorProps<T>) => React.JSX.Element;
//# sourceMappingURL=TextEditor.d.ts.map