import { IHoverDelegate } from "../../../../base/browser/ui/hover/hoverDelegate.js"; import { Disposable } from "../../../../base/common/lifecycle.js"; import { IActionWidgetService } from "../../../../platform/actionWidget/browser/actionWidget.service.js"; import { IHoverService } from "../../../../platform/hover/browser/hover.service.js"; /** Where a new session works: in its folder, or in a new Git worktree of it. */ export type SessionIsolation = "folder" | "worktree"; export interface IIsolationPickerOptions { readonly user: string; readonly hoverDelegate?: IHoverDelegate; readonly onSelect: (isolation: SessionIsolation) => void; } /** * The isolation dropdown of the New Session composer (Branch or New Worktree): a trigger showing the * current choice that opens a list of both, each with its description. */ export declare class IsolationPicker extends Disposable { private readonly _options; private readonly _actionWidgetService; private readonly _hoverService; private readonly _renderDisposables; private readonly _hoverDelegate; private _isolation; private _trigger; private _isOpen; constructor(_options: IIsolationPickerOptions, _actionWidgetService: IActionWidgetService, _hoverService: IHoverService); render(container: HTMLElement): void; update(isolation: SessionIsolation): void; showPicker(): void; private _getItems; private _getOption; private _updateTrigger; }