import { ILogService } from "../../../../../../platform/log/common/log.service.js"; import { IStorageValueChangeEvent } from "../../../../../../platform/storage/common/storage.js"; import { IStorageService } from "../../../../../../platform/storage/common/storage.service.js"; import { ChatAgentLocation } from "../../../common/constants.js"; export type ChatModelSelectionLogLevel = "debug" | "info" | "error"; export type ChatModelSelectionLogValue = string | number | boolean | undefined; export interface IChatModelSelectionDiagnosticContext { readonly surface: string; readonly location: ChatAgentLocation; readonly modelTarget: string | undefined; readonly sessionKey: string | undefined; readonly conversationKey: string | undefined; readonly metadata?: Readonly>; } export interface IChatModelSelectionDiagnostics { report(event: string, details: Readonly>, level?: ChatModelSelectionLogLevel): void; } export declare class ChatModelSelectionDiagnostics implements IChatModelSelectionDiagnostics { private readonly _logService; private readonly _storageService; private readonly _getContext; constructor(_logService: ILogService, _storageService: IStorageService, _getContext: () => IChatModelSelectionDiagnosticContext); report(event: string, details: Readonly>, level?: ChatModelSelectionLogLevel): void; logStorageChange(event: IStorageValueChangeEvent, currentModel: string | undefined): void; } export declare const NullChatModelSelectionDiagnostics: IChatModelSelectionDiagnostics;