import { IRPCProtocol } from '@opensumi/ide-connection';
import { IApplicationService } from '@opensumi/ide-core-common';
import { ILoggerManagerClient } from '@opensumi/ide-logs/lib/browser';
import { IMainThreadEnv } from '../../../common/vscode';
import { UriComponents } from '../../../common/vscode/ext-types';
import { MainThreadStorage } from './main.thread.storage';
import type vscode from 'vscode';
export declare class MainThreadEnv implements IMainThreadEnv {
    private rpcProtocol;
    private storage;
    loggerManger: ILoggerManagerClient;
    private eventDispose;
    private readonly proxy;
    private readonly openerService;
    private readonly clipboardService;
    private readonly externalUriService;
    private readonly appConfig;
    protected readonly applicationService: IApplicationService;
    private isSupportedLink;
    constructor(rpcProtocol: IRPCProtocol, storage: MainThreadStorage);
    setEnvValues(): Promise<void>;
    dispose(): void;
    private setLogLevel;
    $clipboardReadText(): Promise<string>;
    $clipboardWriteText(text: any): Thenable<void>;
    $openExternal(target: vscode.Uri): Promise<boolean>;
    private getWindowId;
    $asExternalUri(target: vscode.Uri): Promise<UriComponents>;
}
//# sourceMappingURL=main.thread.env.d.ts.map