import { Agent, LanguageModel } from '@theia/ai-core/lib/common'; import { LanguageModelAlias } from '@theia/ai-core/lib/common/language-model-alias'; import * as React from '@theia/core/shared/react'; import { AgentDetailServices } from './agent-detail-model'; export interface AgentDetailViewProps { readonly agent: Agent; readonly services: AgentDetailServices; /** Category-wide model/alias caches, resolved by the owning category. */ readonly languageModels: LanguageModel[] | undefined; readonly languageModelAliases: LanguageModelAlias[]; /** Bumped by the owning category on every upstream change, to re-run the async detail load. */ readonly revision: number; /** * Reveals a capability's prompt fragment on the Prompt Snippets page, which owns the (global) text. * Provided by the category, which has the navigation context. */ readonly onOpenPromptSnippet: (fragmentId: string) => void; /** Reveals a tool on the Tools page, where its confirmation mode is set. */ readonly onOpenTool: (toolName: string) => void; } /** * The Agents item-detail page: enable/show-in-chat toggles, description, prompt * templates, LLM requirements, used variables/functions, capabilities and * notification settings. Owns its async state (parsed prompt parts + agent * settings), reloading whenever {@link AgentDetailViewProps.revision} changes. */ export declare const AgentDetailView: React.FC; //# sourceMappingURL=agent-detail-view.d.ts.map