/// import { Editor, Popover, SelectionDetail, SelectionState } from "../interface"; import '../static/css/find.css'; import PopoverDialog from "../ui/PopoverDialog"; export default class FindDialog { _compositionEndTime: number; editor: Editor; dialog?: PopoverDialog; root: HTMLElement; oldText: string; oldSelection: SelectionState | null; oldSelectionDetail: SelectionDetail | null; components: { findInput: HTMLInputElement; findPrev: HTMLElement; findCurrent: HTMLElement; findNext: HTMLButtonElement; replaceInput: HTMLInputElement; findButton: HTMLButtonElement; replaceButton: HTMLButtonElement; replaceAllButton: HTMLButtonElement; closeButton: HTMLButtonElement; showReplaceButton: HTMLButtonElement; rowReplace: HTMLElement; rowActions: HTMLElement; statusContainer: HTMLElement; }; constructor(editor: Editor); destroy(): void; isMyPopover(popover: Popover): boolean; handleFindChanged: () => void; handleCompositionEnd: () => void; handleInput: (event: Event) => void; handleFind: () => void; findNext(options: { keepSearchResult: boolean; }): void; handleReplace: () => void; handleReplaceAll: () => void; doSearchNow(options: { keepReplaceResult: boolean; gotoFirstSearchResult: boolean; }): void; gotoNext(): void; gotoPrev(): void; updateSearchStatus(curr: number, count: number): void; doSearch: import("lodash").DebouncedFunc<(options: { keepReplaceResult: boolean; gotoFirstSearchResult: boolean; }) => void>; clearFind(options: { keepReplaceResult: boolean; }): void; private showFindOnly; private showReplace; private hideSearchResult; private showSearchResult; show(options?: { showFindAndReplace: boolean; }): void; hide(): void; isVisible(): boolean | undefined; research(): void; }