import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { ServerContext } from "../context.js"; /** * Capability & identity descriptor (proposal G1). * * Two-layer discovery: conditional tool registration means an absent * capability's tools never appear in tools/list; this descriptor explains the * shape of what IS present, so clients can plan instead of probe. Flags are * frozen at boot (the same per-boot gate used for registration) — a restart * picks up provider changes, matching worker semantics. */ export declare function buildCapabilities(ctx: ServerContext): { mode: string; admin: boolean; role: string | null; ownership_enforced: boolean; admin_scope: string; authz_policy_version: number; user_resource_bypass: boolean; system_session_admin: boolean; default_visibility: string; viewerScopedGroups: boolean; facts: { search: boolean; embedder: boolean; }; graph: boolean; graph_namespaces: boolean; graph_stats: boolean; models_configured: boolean; skills_prompts: number; registered_agents: number; prompt: { imageAttachments: boolean; }; }; export declare function registerCapabilityTools(server: McpServer, ctx: ServerContext): void; //# sourceMappingURL=capabilities.d.ts.map