import { IRPCProtocol } from '@opensumi/ide-connection';
import { IProgressOptions, IProgressStep } from '@opensumi/ide-core-common';
import { IExtension } from '../../../common';
import { IMainThreadProgress } from '../../../common/vscode/progress';
export declare class MainThreadProgress implements IMainThreadProgress {
    private rpcProtocol;
    private proxy;
    private progress;
    private readonly progressService;
    constructor(rpcProtocol: IRPCProtocol);
    $startProgress(handle: number, options: IProgressOptions, extension?: IExtension | undefined): void;
    $progressReport(handle: number, message: IProgressStep): void;
    $progressEnd(handle: number): void;
    dispose(): void;
    private createTask;
}
//# sourceMappingURL=main.thread.api.progress.d.ts.map