import Editor from '../Editor';
import { KeyPressEvent } from '../inputEvents';
import BaseTool from './BaseTool';
export default class FindTool extends BaseTool {
    private editor;
    private overlay;
    private searchInput;
    private currentMatchIdx;
    constructor(editor: Editor);
    canReceiveInputInReadOnlyEditor(): boolean;
    private getMatches;
    private focusCurrentMatch;
    private toNextMatch;
    private toPrevMatch;
    private fillOverlay;
    private isVisible;
    private setVisible;
    private toggleVisible;
    onKeyPress(event: KeyPressEvent): boolean;
    setEnabled(enabled: boolean): void;
}
