/** * Portable MCP server target-policy helpers. * * @experimental This API is unstable and may change without notice. */ import type { McpServerEntry } from "../settings/index.js"; import type { SharedMcpTargetMember } from "./shared-target.js"; export declare const isMcpServerApplicableToAgent: (entry: McpServerEntry, agentId: string) => boolean; export declare const MCP_NOT_APPLICABLE_REASON = "MCP server is not targeted to this agent"; export interface McpTargetGroup { readonly key: string; readonly path: string; readonly members: ReadonlyArray; } export declare const groupConfiguredMcpTargets: (args: { readonly agentIds: ReadonlyArray; readonly scope: "project" | "user"; }) => ReadonlyArray; export declare const planMcpTargetGroups: (args: { readonly configuredAgentIds: ReadonlyArray; readonly entry: McpServerEntry; readonly scope: "project" | "user"; }) => ReadonlyArray; export declare const sharedMcpTargetPolicyConflict: (args: { readonly entry: McpServerEntry; readonly agentIds: ReadonlyArray; readonly scope: "project" | "user"; }) => string | undefined; //# sourceMappingURL=targeting.d.ts.map