import { EventLike } from "../../../base/browser/dom.js"; import { BaseActionViewItem } from "../../../base/browser/ui/actionbar/actionViewItems.js"; import { IAction } from "../../../base/common/actions.js"; import { Event } from "../../../base/common/event.js"; import { ResolvedKeybinding } from "../../../base/common/keybindings.js"; import { Disposable } from "../../../base/common/lifecycle.js"; import { MenuId } from "../../../platform/actions/common/actions.js"; import { IMenuService } from "../../../platform/actions/common/actions.service.js"; import { IContextKeyService } from "../../../platform/contextkey/common/contextkey.service.js"; import { IHoverService } from "../../../platform/hover/browser/hover.service.js"; import { IInstantiationService } from "../../../platform/instantiation/common/instantiation.js"; import { IKeybindingService } from "../../../platform/keybinding/common/keybinding.service.js"; import { INotificationService } from "../../../platform/notification/common/notification.service.js"; import { ITelemetryService } from "../../../platform/telemetry/common/telemetry.service.js"; /** The parts of an editor group that the empty-group Add Tab UI depends on. */ export interface IEmptyEditorGroup { readonly element: HTMLElement; readonly scopedContextKeyService: IContextKeyService; readonly isEmpty: boolean; readonly onDidModelChange: Event; } /** * Renders the Add Tab actions in an empty editor group: the `+` dropdown at the top * (where the hidden tab bar would show it) from `dropdownMenuId`, and the actions of * `listMenuId` as a centered list in place of the editor watermark. Nothing is * rendered while the group has editors. */ export declare class EmptyEditorGroupAddTab extends Disposable { private readonly group; private readonly dropdownMenuId; private readonly listMenuId; private readonly menuService; private readonly keybindingService; private readonly telemetryService; private readonly notificationService; private readonly instantiationService; private readonly content; constructor(group: IEmptyEditorGroup, dropdownMenuId: MenuId, listMenuId: MenuId, menuService: IMenuService, keybindingService: IKeybindingService, telemetryService: ITelemetryService, notificationService: INotificationService, instantiationService: IInstantiationService); private render; } export declare class SessionsWatermarkActionViewItem extends BaseActionViewItem { private readonly lookupKeybinding; private readonly instantiationService; private readonly keybindingService; private readonly hoverService; private submenuFlyout; constructor(action: IAction, lookupKeybinding: (commandId: string) => ResolvedKeybinding | undefined, instantiationService: IInstantiationService, keybindingService: IKeybindingService, hoverService: IHoverService); render(container: HTMLElement): void; onClick(event: EventLike): void; protected updateEnabled(): void; }