import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"; import { IContextKey } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey"; import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service"; import { IContextViewService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service"; import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service"; import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service"; import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service"; import { IAccessibilityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/common/accessibility.service"; import { SimpleFindWidget } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget"; export interface WebviewFindDelegate { readonly hasFindResult: Event; readonly onDidStopFind: Event; readonly checkImeCompletionState: boolean; find(value: string, previous: boolean): void; updateFind(value: string): void; stopFind(keepSelection?: boolean): void; focus(): void; } export declare class WebviewFindWidget extends SimpleFindWidget { private readonly _delegate; protected _getResultCount(dataChanged?: boolean): Promise<{ resultIndex: number; resultCount: number; } | undefined>; protected readonly _findWidgetFocused: IContextKey; constructor(_delegate: WebviewFindDelegate, contextViewService: IContextViewService, contextKeyService: IContextKeyService, hoverService: IHoverService, keybindingService: IKeybindingService, configurationService: IConfigurationService, accessibilityService: IAccessibilityService); find(previous: boolean): void; hide(animated?: boolean): void; protected _onInputChanged(): boolean; protected _onFocusTrackerFocus(): void; protected _onFocusTrackerBlur(): void; protected _onFindInputFocusTrackerFocus(): void; protected _onFindInputFocusTrackerBlur(): void; findFirst(): void; }