import { type McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { type AccessPolicy } from "../config/access-policy.js"; /** Exposed for tests; lets us assert the catalog without booting a server. */ export declare const REGISTERED_RESOURCES: { name: string; uri: string; title: string; }[]; /** * `advancedRights.` in `/application/current-user` is a deep object * (field-level write access, group-level read access, search perimeter). This * keeps what a caller needs before writing or scoping a search: whether the * entity is enabled, whether it may be created / deleted, and the perimeter * flags that are *on* (plus explicit id lists). Everything else is dropped — * the raw payload stays on `boond://application/current-user`. */ export declare function summariseRights(raw: unknown): Record; /** The body of `boond://application/current-user/rights`, derived from the raw current-user payload. */ export declare function buildCurrentUserRights(response: { data?: unknown; included?: unknown; }): Record; /** * `policy` is optional on purpose — same rule as `registerAllPrompts`: the * catalogue generator and the existing test suites call this with a bare stub * server and must keep seeing the full surface, otherwise TOOLS.md drifts. */ export declare function registerAllResources(server: McpServer, policy?: AccessPolicy): void; //# sourceMappingURL=index.d.ts.map