/** * @fileoverview Server-specific configuration for the ClinicalTrials.gov MCP server. * @module config/server-config */ import { z } from '@cyanheads/mcp-ts-core'; /** * The most studies ClinicalTrials.gov returns on one page. It answers a larger * `pageSize` with a 200 carrying 1,000 studies, so a value past it has no * effect upstream. */ export declare const UPSTREAM_MAX_PAGE_SIZE = 1000; declare const ServerConfigSchema: z.ZodObject<{ apiBaseUrl: z.ZodDefault; requestTimeoutMs: z.ZodDefault>; maxPageSize: z.ZodDefault, z.ZodTransform>>; }, z.core.$strip>; export type ServerConfig = z.infer; /** * Get server configuration, parsed from env vars on first call and cached. * First called from `setup()` (via `initClinicalTrialsService()`), never at * module import, so an invalid `CT_*` value reaches the framework's startup * configuration banner. Throws a ConfigurationError naming the variable. */ export declare function getServerConfig(): ServerConfig; export {}; //# sourceMappingURL=server-config.d.ts.map