import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri"; import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service"; import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service"; import { IContextKeyService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey.service"; import { IContextMenuService } from "@codingame/monaco-vscode-api/vscode/vs/platform/contextview/browser/contextView.service"; import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service"; import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation"; import { IKeybindingService } from "@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service"; import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service"; import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service"; import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service"; import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service"; import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service"; import { IThemeService } from "@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service"; import { IViewPaneOptions, ViewPane } from "@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/views/viewPane"; import { IViewDescriptorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service"; import { ILifecycleService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service"; import { IChatViewTitleActionContext } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/actions/chatActions"; import { IChatAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/participants/chatAgents.service"; import { IChatModel } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/model/chatModel"; import { IChatService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatService/chatService.service"; import { IChatSessionsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/chatSessionsService.service"; import { AgentSessionsControl } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsControl"; import { ChatWidget } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/widget/chatWidget"; import { IViewWelcomeDelegate } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewWelcomeController"; import { IChatViewsWelcomeDescriptor } from "@codingame/monaco-vscode-katex-common/vscode/vs/workbench/contrib/chat/browser/viewsWelcome/chatViewsWelcome"; import { IWorkbenchLayoutService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/layout/browser/layoutService.service"; import { AgentSessionsViewerOrientation } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessions"; import { IProgressService } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service"; import { IActivityService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/activity/common/activity.service"; import { IAgentSessionsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsService.service"; import { IAgentSession } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/agentSessions/agentSessionsModel"; import { IChatEntitlementService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/chat/common/chatEntitlementService.service"; import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service"; import { IHostService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/host/browser/host.service"; export declare class ChatViewPane extends ViewPane implements IViewWelcomeDelegate { private readonly storageService; private readonly chatService; private readonly chatAgentService; private readonly logService; private readonly notificationService; private readonly layoutService; private readonly chatSessionsService; private readonly telemetryService; private readonly progressService; private readonly agentSessionsService; private readonly chatEntitlementService; private readonly commandService; private readonly activityService; private readonly workbenchEnvironmentService; private readonly hostService; private readonly memento; private readonly viewState; private viewPaneContainer; private readonly chatViewLocationContext; private lastDimensions; private readonly lastDimensionsPerOrientation; private welcomeController; private restoringSession; private readonly loadSessionCts; private readonly modelRef; private readonly activityBadge; constructor(options: IViewPaneOptions, keybindingService: IKeybindingService, contextMenuService: IContextMenuService, configurationService: IConfigurationService, contextKeyService: IContextKeyService, viewDescriptorService: IViewDescriptorService, instantiationService: IInstantiationService, openerService: IOpenerService, themeService: IThemeService, hoverService: IHoverService, storageService: IStorageService, chatService: IChatService, chatAgentService: IChatAgentService, logService: ILogService, notificationService: INotificationService, layoutService: IWorkbenchLayoutService, chatSessionsService: IChatSessionsService, telemetryService: ITelemetryService, lifecycleService: ILifecycleService, progressService: IProgressService, agentSessionsService: IAgentSessionsService, chatEntitlementService: IChatEntitlementService, commandService: ICommandService, activityService: IActivityService, workbenchEnvironmentService: IWorkbenchEnvironmentService, hostService: IHostService); private updateContextKeys; private getViewPositionAndLocation; private getSessionHoverPosition; private updateViewPaneClasses; private registerListeners; private onDidChangeAgents; private getTransferredOrPersistedSessionInfo; protected renderBody(parent: HTMLElement): void; private createControls; private static readonly SESSIONS_SIDEBAR_MIN_WIDTH; private static readonly SESSIONS_SIDEBAR_SNAP_THRESHOLD; private static readonly SESSIONS_SIDEBAR_DEFAULT_WIDTH; private static readonly CHAT_WIDGET_DEFAULT_WIDTH; private static readonly SESSIONS_SIDEBAR_VIEW_MIN_WIDTH; private sessionsContainer; private sessionsTitleContainer; private sessionsTitle; private sessionsNewButtonContainer; private sessionsControlContainer; private sessionsControl; get agentSessionsControl(): AgentSessionsControl | undefined; private sessionsViewerVisible; private sessionsViewerOrientation; private sessionsViewerOrientationConfiguration; private sessionsViewerOrientationContext; private sessionsViewerVisibilityContext; private sessionsViewerPositionContext; private sessionsViewerSidebarWidth; private sessionsViewerSash; private readonly sessionsViewerSashDisposables; private createSessionsControl; getSessionsViewerOrientation(): AgentSessionsViewerOrientation; updateConfiguredSessionsViewerOrientation(orientation: "stacked" | "sideBySide" | unknown): void; private doUpdateConfiguredSessionsViewerOrientation; private updateSessionsControlVisibility; getFocusedSessions(): IAgentSession[]; private static readonly MIN_CHAT_WIDGET_HEIGHT; private _widget; get widget(): ChatWidget; private titleControl; private createChatControl; private createChatTitleControl; private registerControlsListeners; private setupContextMenu; private applyModel; private _applyModel; private showModel; private updateWidgetLockState; private clear; loadSession(sessionResource: URI): Promise; focus(): void; focusInput(): void; focusSessions(): boolean; private layoutingBody; private relayout; protected layoutBody(height: number, width: number): void; private doLayoutBody; private layoutSessionsControl; private computeEffectiveSideBySideSessionsSidebarWidth; getLastDimensions(orientation: AgentSessionsViewerOrientation): { height: number; width: number; } | undefined; private createSessionsViewerSash; saveState(): void; private updateViewState; shouldShowWelcome(): boolean; getMatchingWelcomeView(): IChatViewsWelcomeDescriptor | undefined; getActionsContext(): IChatViewTitleActionContext | undefined; }