import { IRPCProtocol } from '@opensumi/ide-connection';
import { CancellationToken } from '@opensumi/ide-core-common';
import { DecorationReply, DecorationRequest, IExtHostDecorationsShape, IMainThreadDecorationsShape } from '../../../common/vscode/decoration';
import type vscode from 'vscode';
export declare class ExtHostDecorations implements IExtHostDecorationsShape {
    protected readonly proxy: IMainThreadDecorationsShape;
    protected readonly logger: import("@opensumi/ide-core-common").IDebugLog;
    private static _handlePool;
    private static _maxEventSize;
    private readonly _provider;
    constructor(rpcProtocol: IRPCProtocol);
    registerFileDecorationProvider(provider: vscode.FileDecorationProvider, extensionId: string): vscode.Disposable;
    $provideFileDecorations(requests: DecorationRequest[], token: CancellationToken): Promise<DecorationReply>;
}
//# sourceMappingURL=ext.host.decoration.d.ts.map