import { combinedSchema } from "./env-schema.js"; import { z } from "zod"; export type Environment = z.infer; /** * Initialize environment and save the values */ export declare function initEnv(): Environment; /** * Lazy proxy over the validated environment values. Reading any property * before {@linkcode initEnv} has run throws — this is what catches code that * tries to consult the env outside the bootstrap. * * The default-export shape was retired in #234 to make accidental consumers * visibly fail at the import site, and an ESLint rule slams the door behind * it. The intended pattern is: `main()` calls `initEnv()` once, captures the * returned `Environment` into a local, and passes it explicitly to the few * call sites that need it. No global env consultation lives in handler code, * test infrastructure, or anywhere else. */ export declare const env: { HTTP_PORT: number; HTTP_HOST: string; HTTP_MCP_ENDPOINT_PATH: string; SSE_MCP_ENDPOINT_PATH: string; SSE_MCP_MESSAGE_ENDPOINT_PATH: string; LOG_LEVEL: "info" | "fatal" | "error" | "warn" | "debug" | "trace"; MCP_AUTH_DISABLED: boolean; DO_NOT_TRACK: boolean; MCP_ALLOWED_HOSTS: string[]; MCP_API_KEY?: string | undefined; BOOTSTRAP_SERVERS?: string | undefined; KAFKA_API_KEY?: string | undefined; KAFKA_API_SECRET?: string | undefined; FLINK_API_KEY?: string | undefined; FLINK_API_SECRET?: string | undefined; CONFLUENT_CLOUD_API_KEY?: string | undefined; CONFLUENT_CLOUD_API_SECRET?: string | undefined; SCHEMA_REGISTRY_API_KEY?: string | undefined; SCHEMA_REGISTRY_API_SECRET?: string | undefined; TABLEFLOW_API_KEY?: string | undefined; TABLEFLOW_API_SECRET?: string | undefined; FLINK_ENV_ID?: string | undefined; FLINK_ORG_ID?: string | undefined; FLINK_REST_ENDPOINT?: string | undefined; FLINK_COMPUTE_POOL_ID?: string | undefined; FLINK_CATALOG_NAME?: string | undefined; FLINK_ENV_NAME?: string | undefined; FLINK_DATABASE_NAME?: string | undefined; KAFKA_CLUSTER_ID?: string | undefined; KAFKA_ENV_ID?: string | undefined; CONFLUENT_CLOUD_REST_ENDPOINT?: string | undefined; SCHEMA_REGISTRY_ENDPOINT?: string | undefined; KAFKA_REST_ENDPOINT?: string | undefined; TELEMETRY_ENDPOINT?: string | undefined; TELEMETRY_API_KEY?: string | undefined; TELEMETRY_API_SECRET?: string | undefined; TELEMETRY_WRITE_KEY?: string | undefined; OAUTH_KAFKA_DEBUG?: string | undefined; }; //# sourceMappingURL=env.d.ts.map