/** * @fileoverview Shared Zod schemas used across tool inputs and resource params. * @module mcp-server/tools/utils/_schemas */ import { z } from '@cyanheads/mcp-ts-core'; /** * Canonical NCT identifier schema, e.g. NCT03722472. Surrounding whitespace is * trimmed and the value uppercased before the format check, so `nct03722472` * parses to `NCT03722472` — upstream resolves every casing to the same study, * and handlers key Sets and Maps on the canonical string. The advertised * `pattern` stays `^NCT\d{8}$`. * * Canonicalized with in-place string checks rather than `z.preprocess()`: a * preprocess is a transform, which Zod marks optional at runtime, and a union * over such a member is advertised without its key in `required` (#154). */ export declare const nctIdSchema: z.ZodString; //# sourceMappingURL=_schemas.d.ts.map