import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"; import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri"; import { IMarkdownString } from "@codingame/monaco-vscode-api/vscode/vs/base/common/htmlContent"; import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle"; import { ThemeIcon } from "@codingame/monaco-vscode-api/vscode/vs/base/common/themables"; import { IMarkdownRendererService } from "@codingame/monaco-vscode-api/vscode/vs/platform/markdown/browser/markdownRenderer.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 { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation"; import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service"; import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service"; import { ITelemetryService } from "@codingame/monaco-vscode-api/vscode/vs/platform/telemetry/common/telemetry.service"; import { ChatAgentLocation } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/constants"; import { IChatWidgetService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/chat.service"; export interface IViewWelcomeDelegate { readonly onDidChangeViewWelcomeState: Event; shouldShowWelcome(): boolean; } export declare class ChatViewWelcomeController extends Disposable { private readonly container; private readonly delegate; private readonly location; private contextKeyService; private instantiationService; private element; private enabled; private readonly enabledDisposables; private readonly renderDisposables; constructor(container: HTMLElement, delegate: IViewWelcomeDelegate, location: ChatAgentLocation, contextKeyService: IContextKeyService, instantiationService: IInstantiationService); private update; private render; } export interface IChatViewWelcomeContent { readonly icon?: ThemeIcon | URI; readonly title: string; readonly message: IMarkdownString; readonly additionalMessage?: string | IMarkdownString; tips?: IMarkdownString; readonly inputPart?: HTMLElement; readonly suggestedPrompts?: readonly IChatSuggestedPrompts[]; readonly useLargeIcon?: boolean; } export interface IChatSuggestedPrompts { readonly icon?: ThemeIcon; readonly label: string; readonly description?: string; readonly prompt: string; readonly uri?: URI; } export interface IChatViewWelcomeRenderOptions { readonly firstLinkToButton?: boolean; readonly location: ChatAgentLocation; readonly isWidgetAgentWelcomeViewContent?: boolean; } export declare class ChatViewWelcomePart extends Disposable { readonly content: IChatViewWelcomeContent; private openerService; private logService; private chatWidgetService; private telemetryService; private readonly markdownRendererService; private readonly contextMenuService; readonly element: HTMLElement; constructor(content: IChatViewWelcomeContent, options: IChatViewWelcomeRenderOptions | undefined, openerService: IOpenerService, logService: ILogService, chatWidgetService: IChatWidgetService, telemetryService: ITelemetryService, markdownRendererService: IMarkdownRendererService, contextMenuService: IContextMenuService); private getPromptContextMenuActions; needsRerender(content: IChatViewWelcomeContent): boolean; private renderMarkdownMessageContent; }