import type { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import type { ContractSearchInput } from "../schemas/index.js"; import type { JsonApiResource } from "../types.js"; /** * `/contracts` payload: the resource id becomes the `resource` relationship, * `note` the `informationComments` attribute (`models.contract` has no `note`), * and `id` — present on update — lands on `data.id`. */ export declare function buildContractBody(params: Record): unknown; /** * The contracts of one resource, as `/resources/{id}/administrative` includes * them (issue #253). Neither `GET /contracts` (WAF 403 page — the RAML only * documents `post`) nor `GET /resources/{id}/contracts` (404) exists, probed * live on 2026-09-26: the administrative tab is the only read path, and its * `included` carries the full contract objects. Each contract is tagged with * the resource it belongs to so a list spanning several resources stays * readable. */ export declare function contractsOfResource(resourceId: string, label?: string): Promise; /** Server-side contract filters of the composed search (type, then period window). */ export declare function filterContracts(contracts: JsonApiResource[], filters: Pick): JsonApiResource[]; /** One line per contract: who, which type, which dates, where the probation stands. */ export declare function contractSummary(contract: JsonApiResource): string; export declare function registerContractTools(server: McpServer): void; //# sourceMappingURL=contracts.d.ts.map