import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri"; import { IPromptsService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.service"; import { IAICustomizationWorkspaceService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/aiCustomizationWorkspaceService.service"; import { type AICustomizationPromptsStorage, AICustomizationManagementSection } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement"; import { ICustomizationItemProvider, IHarnessDescriptor } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/customizationHarnessService"; import { ICustomizationHarnessService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/customizationHarnessService.service"; import { IAgentPluginService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/chat/common/plugins/agentPluginService.service"; /** * Snapshot of the list widget's internal state, passed in to avoid coupling. */ export interface IDebugWidgetState { readonly allItems: readonly { readonly name?: string; readonly storage?: AICustomizationPromptsStorage; readonly groupKey?: string; readonly syncable?: boolean; readonly pluginUri?: URI; }[]; readonly displayEntries: readonly { type: string; label?: string; count?: number; collapsed?: boolean; }[]; } /** * Generates a debug diagnostics report for the AI Customization list widget. * * The report follows the unified pipeline: * 1. Provider output — what the active provider returns * 2. Raw PromptsService data — lower-level service output (when no extension provider) * 3. Widget state — normalized items and display entries after grouping * 4. Source folders — where files are discovered from */ export declare function generateCustomizationDebugReport(section: AICustomizationManagementSection, promptsService: IPromptsService, workspaceService: IAICustomizationWorkspaceService, widgetState: IDebugWidgetState, activeDescriptor?: IHarnessDescriptor, promptsServiceItemProvider?: ICustomizationItemProvider, harnessService?: ICustomizationHarnessService, agentPluginService?: IAgentPluginService): Promise;