/** * @fileoverview Server-specific configuration for openchargemap-mcp-server. * Lazy-parsed Zod schema, separate from the framework's core config. Maps schema * paths to env var names via `parseEnvConfig` so a missing/invalid value names the * variable (e.g. `OPENCHARGEMAP_API_KEY`) rather than the schema path. * @module config/server-config */ import { z } from '@cyanheads/mcp-ts-core'; /** Default Open Charge Map API base URL. */ export declare const DEFAULT_OCM_BASE_URL = "https://api.openchargemap.io/v3"; declare const ServerConfigSchema: z.ZodObject<{ apiKey: z.ZodString; baseUrl: z.ZodDefault; referenceRefresh: z.ZodDefault>; }, z.core.$strip>; /** Parsed server config shape. */ export type ServerConfig = z.infer; /** * Lazily parse and cache the server config from the environment. * Throws `ConfigurationError` (rendered as a clean startup banner) when required vars are missing. */ export declare function getServerConfig(): ServerConfig; /** Reset the cached config (test isolation only). */ export declare function resetServerConfig(): void; export {}; //# sourceMappingURL=server-config.d.ts.map