import URI from '@theia/core/lib/common/uri'; import { ApplicationShell, OpenHandler, OpenerOptions, Widget, WidgetManager, WidgetOpenerOptions } from '@theia/core/lib/browser'; import { CustomEditor, CustomEditorSelector } from '../../../common'; import { CustomEditorWidget } from './custom-editor-widget'; import { PluginCustomEditorRegistry } from './plugin-custom-editor-registry'; import { PreferenceService } from '@theia/core'; export declare class CustomEditorOpener implements OpenHandler { private readonly editor; protected readonly shell: ApplicationShell; protected readonly widgetManager: WidgetManager; protected readonly editorRegistry: PluginCustomEditorRegistry; protected readonly preferenceService: PreferenceService; readonly id: string; readonly label: string; private readonly onDidOpenCustomEditorEmitter; readonly onDidOpenCustomEditor: import("@theia/core").Event<[CustomEditorWidget, (WidgetOpenerOptions | undefined)?]>; constructor(editor: CustomEditor, shell: ApplicationShell, widgetManager: WidgetManager, editorRegistry: PluginCustomEditorRegistry, preferenceService: PreferenceService); static toCustomEditorId(editorViewType: string): string; canHandle(uri: URI, options?: OpenerOptions): number; canOpenWith(uri: URI): number; getPriority(): number; protected readonly pendingWidgetPromises: Map>; protected openCustomEditor(uri: URI, options?: WidgetOpenerOptions): Promise; protected openSideBySide(uri: URI, options?: WidgetOpenerOptions): Promise; open(uri: URI, options?: WidgetOpenerOptions): Promise; matches(selectors: CustomEditorSelector[], resource: URI): boolean; selectorMatches(selector: CustomEditorSelector, resource: URI): boolean; } //# sourceMappingURL=custom-editor-opener.d.ts.map