import { Event } from "../../../../base/common/event.js"; import { Disposable } from "../../../../base/common/lifecycle.js"; import { IObservable } from "../../../../base/common/observable.js"; import { URI } from "../../../../base/common/uri.js"; import { IAgentConnection } from "../../../../platform/agentHost/common/agentService.js"; import { IAgentSubscription } from "../../../../platform/agentHost/common/state/agentSubscription.js"; import { CanvasReference, CanvasState } from "../../../../platform/agentHost/common/state/protocol/channels-canvas/state.js"; import { ChatState } from "../../../../platform/agentHost/common/state/sessionState.js"; import { ILogService } from "../../../../platform/log/common/log.service.js"; import { ICanvas, ICanvasContext, ICanvasOwner } from "./canvas.js"; export declare class AgentHostCanvas implements ICanvas { readonly resource: URI; readonly instanceId: string | undefined; readonly title: string; readonly status: string | undefined; readonly source: URI | undefined; readonly extensionId: string | undefined; readonly canvasId: string | undefined; constructor(resource: URI, canvas: CanvasState | undefined, logService: ILogService); } export declare class AgentHostCanvasCollection extends Disposable { readonly providerId: string; private readonly connection; private readonly logService; constructor(providerId: string, connection: IAgentConnection, logService: ILogService); createContext(owner: ICanvasOwner, references: IObservable, chat?: IObservable, onDidChangeDefinitions?: Event): ICanvasContext; } export declare function getAgentHostCanvasDefinitionsChangedEvent(subscription: IAgentSubscription): Event;