import type { ExtensionType } from "../extensions/common.js"; import type { ConfiguredAgentOutcome } from "../plan/plan.js"; import type { WorkspaceScope } from "./scope.js"; export type ConfiguredAgentLifecycleState = "projected" | "current"; /** * Exhaustive policy for interpreting configured agents for every extension * type. A new type cannot compile until its configured-agent semantics exist. */ export declare const EXTENSION_CONFIGURED_AGENT_POLICY: { readonly skill: { readonly kind: "per-agent"; }; readonly "mcp-server": { readonly kind: "per-agent"; }; readonly subagent: { readonly kind: "per-agent"; }; readonly rule: { readonly kind: "workspace-capability"; }; readonly hook: { readonly kind: "per-agent"; }; readonly knowledge: { readonly kind: "not-applicable"; readonly reasonCode: "workspace-owned"; readonly reason: "Knowledge bundles are workspace-owned and have no per-agent projection."; }; readonly pack: { readonly kind: "not-applicable"; readonly reasonCode: "container-owned"; readonly reason: "Packs are lifecycle containers; their members own projection outcomes."; }; }; /** Derive stable configured-agent lifecycle outcomes from canonical capability facts. */ export declare const configuredAgentLifecycleOutcomes: (args: { readonly type: ExtensionType; readonly name: string; readonly agentIds: ReadonlyArray; readonly scope: WorkspaceScope; readonly state: ConfiguredAgentLifecycleState; readonly enabled: boolean; readonly installed: boolean; readonly observedAgentIds?: ReadonlyArray; readonly applicableAgentIds?: ReadonlyArray; }) => ReadonlyArray; //# sourceMappingURL=configured-agent-outcomes.d.ts.map