import { Injector } from '@opensumi/di';
import { IRPCProtocol } from '@opensumi/ide-connection';
import { IDialogService, IWindowDialogService } from '@opensumi/ide-overlay';
import { IExtOpenDialogOptions, IExtSaveDialogOptions, IMainThreadWindow } from '../../../common/vscode';
export declare class MainThreadWindow implements IMainThreadWindow {
    private rpcProtocol;
    private readonly proxy;
    injector: Injector;
    dialogService: IDialogService;
    windowDialogService: IWindowDialogService;
    constructor(rpcProtocol: IRPCProtocol);
    private getDefaultDialogOptions;
    $showOpenDialog(id: string, options?: IExtOpenDialogOptions): Promise<void>;
    $showSaveDialog(id: string, options?: IExtSaveDialogOptions): Promise<void>;
    dispose(): void;
}
//# sourceMappingURL=main.thread.window.d.ts.map