import { z } from 'zod'; export interface RouteEntry { prefix: string; target: string; } export interface RelayConfig { apiKey: string; relayUrl: string; orchestratorUrl: string; orchestratorApiKey?: string; requestTimeoutMs: number; heartbeatIntervalMs: number; baseReconnectDelayMs: number; maxReconnectDelayMs: number; routes: RouteEntry[]; activationCode?: string; clusterApiKeyId?: string; } export declare const RouteEntrySchema: z.ZodObject<{ prefix: z.ZodString; target: z.ZodString; }, "strip", z.ZodTypeAny, { prefix: string; target: string; }, { prefix: string; target: string; }>; export declare const RelayConfigSchema: z.ZodObject<{ apiKey: z.ZodString; relayUrl: z.ZodDefault; orchestratorUrl: z.ZodDefault; orchestratorApiKey: z.ZodOptional; requestTimeoutMs: z.ZodDefault; heartbeatIntervalMs: z.ZodDefault; baseReconnectDelayMs: z.ZodDefault; maxReconnectDelayMs: z.ZodDefault; routes: z.ZodDefault, "many">>>; activationCode: z.ZodOptional; clusterApiKeyId: z.ZodOptional; }, "strip", z.ZodTypeAny, { apiKey: string; relayUrl: string; orchestratorUrl: string; requestTimeoutMs: number; heartbeatIntervalMs: number; baseReconnectDelayMs: number; maxReconnectDelayMs: number; routes: { prefix: string; target: string; }[]; orchestratorApiKey?: string | undefined; activationCode?: string | undefined; clusterApiKeyId?: string | undefined; }, { apiKey: string; relayUrl?: string | undefined; orchestratorUrl?: string | undefined; orchestratorApiKey?: string | undefined; requestTimeoutMs?: number | undefined; heartbeatIntervalMs?: number | undefined; baseReconnectDelayMs?: number | undefined; maxReconnectDelayMs?: number | undefined; routes?: { prefix: string; target: string; }[] | undefined; activationCode?: string | undefined; clusterApiKeyId?: string | undefined; }>; /** * Load relay configuration from environment variables, with optional overrides. */ export declare function loadConfig(overrides?: Partial): RelayConfig; //# sourceMappingURL=config.d.ts.map