import { Disposable } from "../../../../base/common/lifecycle.js"; import { IObservable } from "../../../../base/common/observable.js"; import { ICommandService } from "../../../../platform/commands/common/commands.service.js"; import { IConfigurationService } from "../../../../platform/configuration/common/configuration.service.js"; import { INotificationService } from "../../../../platform/notification/common/notification.service.js"; import { type IChatPillSection } from "../../../browser/chatPills.js"; import { ICanvasContext } from "../common/canvas.js"; /** * Supplies the canvases pill of a chat input from the canvas context of the chat * it shows. Each canvas with a live source reveals its tab, reopening it if closed, * and offers to close the canvas itself when its host can. */ export declare class CanvasesPillControl extends Disposable { private readonly commandService; private readonly notificationService; /** Whether canvases are enabled and the chat can show them, so its input should offer the canvases pill. */ readonly offered: IObservable; readonly sections: IObservable; /** Reference keys of canvases whose close is in flight, so repeated activation sends one request. */ private readonly closingCanvases; constructor(context: IObservable, configurationService: IConfigurationService, commandService: ICommandService, notificationService: INotificationService); private createCloseAction; private revealCanvas; private closeCanvas; }