import { IRPCProtocol } from '@opensumi/ide-connection';
import { Event } from '@opensumi/ide-core-common';
import { IEditorTab, IEditorTabGroupDto, IExtHostEditorTabs, TabOperation } from '../../../common/vscode/editor-tabs';
import type vscode from 'vscode';
export declare class ExtHostEditorTabs implements IExtHostEditorTabs {
    readonly _serviceBrand: undefined;
    private readonly _proxy;
    private readonly _onDidChangeTabs;
    private readonly _onDidChangeTabGroups;
    private _activeGroupId;
    private _extHostTabGroups;
    private _apiObject;
    constructor(rpcProtocol: IRPCProtocol);
    get tabs(): IEditorTab[];
    onDidChangeTabs: Event<void>;
    get tabGroups(): vscode.TabGroups;
    $acceptEditorTabModel(tabGroups: IEditorTabGroupDto[]): void;
    $acceptTabGroupUpdate(groupDto: IEditorTabGroupDto): void;
    $acceptTabOperation(operation: TabOperation): void;
    private _findExtHostTabFromApi;
    private _findExtHostTabGroupFromApi;
    private _closeTabs;
    private _closeGroups;
}
//# sourceMappingURL=ext.host.editor-tabs.d.ts.map