import type { EnvConfig } from './env-schema.js';
export type { EnvConfig };
declare function loadEnvConfig(): {
    NODE_ENV?: "development" | "production" | undefined;
    REDOCLY_ENV: "development" | "preview" | "production";
    REDOCLY_EXECUTION_MODE: "build" | "develop" | "runtime";
    REDOCLY_INTERNAL_DEV?: boolean | undefined;
    CI?: boolean | undefined;
    PORT?: number | undefined;
    REDOCLY_LOG_FORMAT?: string | undefined;
    REDOCLY_LOG_LEVEL?: string | undefined;
    TERM?: string | undefined;
    INSPECT_MODE?: string | undefined;
    REDOCLY_PREFIX_PATHS?: string | undefined;
    REDOCLY_CONTENT_DIR?: string | undefined;
    REDOCLY_PORTAL_VERSION?: string | undefined;
    REDOCLY_TELEMETRY?: string | undefined;
    TELEMETRY_DEV_DEBUG?: boolean | undefined;
    WEB_SERVER_IDLE_TIMEOUT?: string | undefined;
    REDOCLY_PROBLEMS_OUTPUT_FILE?: string | undefined;
    REDOCLY_METADATA_OUTPUT_FOLDER?: string | undefined;
    ORGANIZATION_ID?: string | undefined;
    ORGANIZATION_SLUG?: string | undefined;
    ORG_SLUG?: string | undefined;
    PROJECT_ID?: string | undefined;
    PROJECT_SLUG?: string | undefined;
    PROJECT_URL?: string | undefined;
    PROJECT_BUILD_ID?: string | undefined;
    PUBLIC_REDOCLY_BRANCH_NAME?: string | undefined;
    JWT_SECRET_KEY?: string | undefined;
    AUTH_URL?: string | undefined;
    BH_API_URL?: string | undefined;
    ENTITLEMENTS_JWKS_CDN_URL?: string | undefined;
    OAUTH_CLIENT_ID?: string | undefined;
    OAUTH_CLIENT_SECRET?: string | undefined;
    OIDC_CLIENT_ID?: string | undefined;
    OIDC_CLIENT_SECRET?: string | undefined;
    OIDC_ISSUER_URL?: string | undefined;
    LOCALHOST_LOGIN?: boolean | undefined;
    REDOCLY_OAUTH_USE_INTROSPECT?: string | undefined;
    REDOCLY_ENFORCE_LOGIN?: boolean | undefined;
    REDOCLY_ENFORCE_RESIDENCY?: string | undefined;
    REDOCLY_SSR_RENDER_MODE?: "main" | "worker" | undefined;
    REDOCLY_SSR_WORKERS_MIN?: number | undefined;
    REDOCLY_SSR_WORKERS_MAX?: number | undefined;
    NEW_CATALOG_ENABLED?: boolean | undefined;
    NEW_SCORECARDS_ENABLED?: boolean | undefined;
    ENABLE_COMMENTS?: string | undefined;
    REDOCLY_EXP_DISABLE_MD_VALIDATION?: boolean | undefined;
    ENABLE_SOURCE_MAPS?: boolean | undefined;
    PLAN_GATES?: string | undefined;
    REDOCLY_EXP_LLMSTXT_AGENT_FEEDBACK_ENABLED?: boolean | undefined;
    REDOCLY_EXP_LLMSTXT_AGENT_FEEDBACK_URL?: string | undefined;
    REDOCLY_EXP_LLMSTXT_AGENT_ENDPOINT?: string | undefined;
    REDOCLY_EXP_MCP_CODE_MODE_ENABLED?: boolean | undefined;
    SEARCH_DEV_REINIT?: string | undefined;
    SEARCH_DEV_DEBUG: boolean;
    TYPESENSE_API_URL?: string | undefined;
    TYPESENSE_API_KEY?: string | undefined;
    MAIN_API_URL?: string | undefined;
    SERVER_EDITOR_APP_URL?: string | undefined;
    REDOCLY_PUBLIC_URL?: string | undefined;
    REDOCLY_DIAGRAM_MICROSERVICE_URL?: string | undefined;
    REDOCLY_CORS_ORIGINS?: string | undefined;
    SQLD_REMOTE_DATABASE_URL?: string | undefined;
    SQLD_REMOTE_DATABASE_AUTH_TOKEN?: string | undefined;
    FORCE_CATALOG_CACHE_REVALIDATE?: boolean | undefined;
    SCORECARDS_POLLING_INTERVAL_MS?: string | undefined;
    OTEL_TRACES_URL?: string | undefined;
    REQUEST_ID?: string | undefined;
    SITE_URL?: string | undefined;
    isProductionEnv: boolean;
    isPreviewEnv: boolean;
    isReunite: boolean;
    isBuildMode: boolean;
    isDevelopMode: boolean;
    isRuntimeMode: boolean;
};
export type EnvConfigWithDerived = ReturnType<typeof loadEnvConfig> & {
    [K: string]: never;
};
export declare const envConfig: {
    NODE_ENV?: "development" | "production" | undefined;
    REDOCLY_ENV: "development" | "preview" | "production";
    REDOCLY_EXECUTION_MODE: "build" | "develop" | "runtime";
    REDOCLY_INTERNAL_DEV?: boolean | undefined;
    CI?: boolean | undefined;
    PORT?: number | undefined;
    REDOCLY_LOG_FORMAT?: string | undefined;
    REDOCLY_LOG_LEVEL?: string | undefined;
    TERM?: string | undefined;
    INSPECT_MODE?: string | undefined;
    REDOCLY_PREFIX_PATHS?: string | undefined;
    REDOCLY_CONTENT_DIR?: string | undefined;
    REDOCLY_PORTAL_VERSION?: string | undefined;
    REDOCLY_TELEMETRY?: string | undefined;
    TELEMETRY_DEV_DEBUG?: boolean | undefined;
    WEB_SERVER_IDLE_TIMEOUT?: string | undefined;
    REDOCLY_PROBLEMS_OUTPUT_FILE?: string | undefined;
    REDOCLY_METADATA_OUTPUT_FOLDER?: string | undefined;
    ORGANIZATION_ID?: string | undefined;
    ORGANIZATION_SLUG?: string | undefined;
    ORG_SLUG?: string | undefined;
    PROJECT_ID?: string | undefined;
    PROJECT_SLUG?: string | undefined;
    PROJECT_URL?: string | undefined;
    PROJECT_BUILD_ID?: string | undefined;
    PUBLIC_REDOCLY_BRANCH_NAME?: string | undefined;
    JWT_SECRET_KEY?: string | undefined;
    AUTH_URL?: string | undefined;
    BH_API_URL?: string | undefined;
    ENTITLEMENTS_JWKS_CDN_URL?: string | undefined;
    OAUTH_CLIENT_ID?: string | undefined;
    OAUTH_CLIENT_SECRET?: string | undefined;
    OIDC_CLIENT_ID?: string | undefined;
    OIDC_CLIENT_SECRET?: string | undefined;
    OIDC_ISSUER_URL?: string | undefined;
    LOCALHOST_LOGIN?: boolean | undefined;
    REDOCLY_OAUTH_USE_INTROSPECT?: string | undefined;
    REDOCLY_ENFORCE_LOGIN?: boolean | undefined;
    REDOCLY_ENFORCE_RESIDENCY?: string | undefined;
    REDOCLY_SSR_RENDER_MODE?: "main" | "worker" | undefined;
    REDOCLY_SSR_WORKERS_MIN?: number | undefined;
    REDOCLY_SSR_WORKERS_MAX?: number | undefined;
    NEW_CATALOG_ENABLED?: boolean | undefined;
    NEW_SCORECARDS_ENABLED?: boolean | undefined;
    ENABLE_COMMENTS?: string | undefined;
    REDOCLY_EXP_DISABLE_MD_VALIDATION?: boolean | undefined;
    ENABLE_SOURCE_MAPS?: boolean | undefined;
    PLAN_GATES?: string | undefined;
    REDOCLY_EXP_LLMSTXT_AGENT_FEEDBACK_ENABLED?: boolean | undefined;
    REDOCLY_EXP_LLMSTXT_AGENT_FEEDBACK_URL?: string | undefined;
    REDOCLY_EXP_LLMSTXT_AGENT_ENDPOINT?: string | undefined;
    REDOCLY_EXP_MCP_CODE_MODE_ENABLED?: boolean | undefined;
    SEARCH_DEV_REINIT?: string | undefined;
    SEARCH_DEV_DEBUG: boolean;
    TYPESENSE_API_URL?: string | undefined;
    TYPESENSE_API_KEY?: string | undefined;
    MAIN_API_URL?: string | undefined;
    SERVER_EDITOR_APP_URL?: string | undefined;
    REDOCLY_PUBLIC_URL?: string | undefined;
    REDOCLY_DIAGRAM_MICROSERVICE_URL?: string | undefined;
    REDOCLY_CORS_ORIGINS?: string | undefined;
    SQLD_REMOTE_DATABASE_URL?: string | undefined;
    SQLD_REMOTE_DATABASE_AUTH_TOKEN?: string | undefined;
    FORCE_CATALOG_CACHE_REVALIDATE?: boolean | undefined;
    SCORECARDS_POLLING_INTERVAL_MS?: string | undefined;
    OTEL_TRACES_URL?: string | undefined;
    REQUEST_ID?: string | undefined;
    SITE_URL?: string | undefined;
    isProductionEnv: boolean;
    isPreviewEnv: boolean;
    isReunite: boolean;
    isBuildMode: boolean;
    isDevelopMode: boolean;
    isRuntimeMode: boolean;
};
/**
 * Re-parses environment variables from `process.env` into {@link envConfig}.
 * Call after loading `.env` files (e.g. from dotenv) or mutating `process.env` so reads stay in sync.
 * Replaces the object contents entirely (no merging with stale keys).
 */
export declare function reloadEnvConfig(): void;
/**
 * Sets one or more environment variables on `process.env` and reloads {@link envConfig}.
 *
 * @example
 * setEnv('MY_VAR', 'value');
 * setEnv({ MY_VAR: 'value', OTHER_VAR: 'other' });
 */
export declare function setEnv(key: string, value: string | undefined): void;
export declare function setEnv(entries: Record<string, string | undefined>): void;
//# sourceMappingURL=env-config.d.ts.map