import { Event } from "../../../../../sessions/sessions.web.main.internal.js"; import { ChatAgentLocation } from "../constants.js"; import { IChatModelInputState } from "../model/chatModel.js"; import { ChatHistoryChange } from "./chatWidgetHistoryService.js"; export declare const IChatWidgetHistoryService: import("../../../../../platform/instantiation/common/instantiation.js").ServiceIdentifier; export interface IChatWidgetHistoryService { _serviceBrand: undefined; readonly onDidChangeHistory: Event; clearHistory(): void; getHistory(location: ChatAgentLocation, historyKey?: string): readonly IChatModelInputState[]; append(location: ChatAgentLocation, history: IChatModelInputState, historyKey?: string): void; moveHistory(location: ChatAgentLocation, fromHistoryKey: string, toHistoryKey: string): void; }