import { AbstractStreamParsingChatAgent } from '@theia/ai-chat/lib/common/chat-agents'; import { MutableChatRequestModel } from '@theia/ai-chat/lib/common/chat-model'; import { LanguageModelRequirement } from '@theia/ai-core/lib/common'; import { MCPFrontendService, MCPServerDescription } from '@theia/ai-mcp/lib/common/mcp-server-manager'; import { CommandService, ILogger } from '@theia/core'; import { PreferenceService } from '@theia/core/lib/common'; import { EditorManager } from '@theia/editor/lib/browser'; import { FileService } from '@theia/filesystem/lib/browser/file-service'; export declare const GitHubChatAgentId = "GitHub"; export declare class GitHubChatAgent extends AbstractStreamParsingChatAgent { protected readonly logger: ILogger; protected readonly mcpService: MCPFrontendService; protected readonly preferenceService: PreferenceService; protected readonly commandService: CommandService; protected readonly editorManager: EditorManager; protected readonly fileService: FileService; id: string; name: string; languageModelRequirements: LanguageModelRequirement[]; protected defaultLanguageModelPurpose: string; description: string; iconClass: string; protected systemPromptId: string; prompts: { id: string; defaultVariant: import("@theia/ai-core/lib/common").BasePromptFragment; variants: never[]; }[]; /** * Override invoke to check if the GitHub MCP server is configured and running, * and if not, offer to configure or start it. */ invoke(request: MutableChatRequestModel): Promise; protected requiresConfiguration(): Promise; protected requiresStartingServer(): Promise; protected startServer(): Promise; protected offerConfiguration(): Promise; /** * Opens the user preferences JSON file and attempts to focus on the GitHub server configuration. */ protected openAndFocusOnGitHubConfig(serverName: string): Promise; /** * Starts the GitHub MCP server if it doesn't exist or isn't running. * * @returns A promise that resolves when the server is started */ ensureServerStarted(server: MCPServerDescription): Promise; } //# sourceMappingURL=github-chat-agent.d.ts.map