import { IRPCProtocol } from '@opensumi/ide-connection';
import { MessageType } from '@opensumi/ide-core-common';
import { IDialogService, IMessageService } from '@opensumi/ide-overlay';
import { IExtHostMessage, IMainThreadMessage } from '../../../common/vscode';
import type vscode from 'vscode';
export declare class MainThreadMessage implements IMainThreadMessage {
    private rpcProtocol;
    protected readonly proxy: IExtHostMessage;
    protected readonly dialogService: IDialogService;
    protected readonly messageService: IMessageService;
    constructor(rpcProtocol: IRPCProtocol);
    dispose(): void;
    $showMessage(type: MessageType, message: string, options: vscode.MessageOptions, actions: string[], from: any): Promise<number | undefined>;
}
//# sourceMappingURL=main.thread.message.d.ts.map