import { d as InferPresetOutput } from "../types-5fo7WST9.mjs"; import * as arktype0 from "arktype"; import * as arktype_internal_methods_string_ts0 from "arktype/internal/methods/string.ts"; import * as arktype_internal_methods_object_ts0 from "arktype/internal/methods/object.ts"; //#region src/presets/arktype.d.ts /** * Vercel System Environment Variables * @see https://vercel.com/docs/projects/environment-variables/system-environment-variables#system-environment-variables */ declare const vercel: { readonly id: "vercel"; readonly server: { readonly VERCEL: arktype0.BaseType; readonly CI: arktype0.BaseType; readonly VERCEL_ENV: arktype0.BaseType<"development" | "preview" | "production" | undefined, {}>; readonly VERCEL_URL: arktype0.BaseType; readonly VERCEL_PROJECT_PRODUCTION_URL: arktype0.BaseType; readonly VERCEL_BRANCH_URL: arktype0.BaseType; readonly VERCEL_REGION: arktype0.BaseType; readonly VERCEL_DEPLOYMENT_ID: arktype0.BaseType; readonly VERCEL_SKEW_PROTECTION_ENABLED: arktype0.BaseType; readonly VERCEL_AUTOMATION_BYPASS_SECRET: arktype0.BaseType; readonly VERCEL_GIT_PROVIDER: arktype0.BaseType; readonly VERCEL_GIT_REPO_SLUG: arktype0.BaseType; readonly VERCEL_GIT_REPO_OWNER: arktype0.BaseType; readonly VERCEL_GIT_REPO_ID: arktype0.BaseType; readonly VERCEL_GIT_COMMIT_REF: arktype0.BaseType; readonly VERCEL_GIT_COMMIT_SHA: arktype0.BaseType; readonly VERCEL_GIT_COMMIT_MESSAGE: arktype0.BaseType; readonly VERCEL_GIT_COMMIT_AUTHOR_LOGIN: arktype0.BaseType; readonly VERCEL_GIT_COMMIT_AUTHOR_NAME: arktype0.BaseType; readonly VERCEL_GIT_PREVIOUS_SHA: arktype0.BaseType; readonly VERCEL_GIT_PULL_REQUEST_ID: arktype0.BaseType; }; }; type VercelEnv = InferPresetOutput; /** * Neon for Vercel Environment Variables * @see https://neon.tech/docs/guides/vercel-native-integration#environment-variables-set-by-the-integration */ declare const neonVercel: { readonly id: "neon-vercel"; readonly server: { readonly DATABASE_URL: arktype_internal_methods_string_ts0.StringType; readonly DATABASE_URL_UNPOOLED: arktype0.BaseType; readonly PGHOST: arktype0.BaseType; readonly PGHOST_UNPOOLED: arktype0.BaseType; readonly PGUSER: arktype0.BaseType; readonly PGDATABASE: arktype0.BaseType; readonly PGPASSWORD: arktype0.BaseType; readonly POSTGRES_URL: arktype0.BaseType; readonly POSTGRES_URL_NON_POOLING: arktype0.BaseType; readonly POSTGRES_USER: arktype0.BaseType; readonly POSTGRES_HOST: arktype0.BaseType; readonly POSTGRES_PASSWORD: arktype0.BaseType; readonly POSTGRES_DATABASE: arktype0.BaseType; readonly POSTGRES_URL_NO_SSL: arktype0.BaseType; readonly POSTGRES_PRISMA_URL: arktype0.BaseType; }; }; type NeonVercelEnv = InferPresetOutput; /** * @see https://docs.uploadthing.com/getting-started/appdir#add-env-variables */ declare const uploadthing: { readonly id: "uploadthing"; readonly server: { readonly UPLOADTHING_TOKEN: arktype_internal_methods_string_ts0.StringType; }; }; type UploadthingEnv = InferPresetOutput; /** * Render System Environment Variables * @see https://docs.render.com/environment-variables#all-runtimes */ declare const render: { readonly id: "render"; readonly server: { readonly IS_PULL_REQUEST: arktype0.BaseType; readonly RENDER_DISCOVERY_SERVICE: arktype0.BaseType; readonly RENDER_EXTERNAL_HOSTNAME: arktype0.BaseType; readonly RENDER_EXTERNAL_URL: arktype0.BaseType; readonly RENDER_GIT_BRANCH: arktype0.BaseType; readonly RENDER_GIT_COMMIT: arktype0.BaseType; readonly RENDER_GIT_REPO_SLUG: arktype0.BaseType; readonly RENDER_INSTANCE_ID: arktype0.BaseType; readonly RENDER_SERVICE_ID: arktype0.BaseType; readonly RENDER_SERVICE_NAME: arktype0.BaseType; readonly RENDER_SERVICE_TYPE: arktype0.BaseType<"web" | "pserv" | "cron" | "worker" | "static" | undefined, {}>; readonly RENDER: arktype0.BaseType; }; }; type RenderEnv = InferPresetOutput; /** * Railway Environment Variables * @see https://docs.railway.app/reference/variables#railway-provided-variables */ declare const railway: { readonly id: "railway"; readonly server: { readonly RAILWAY_PUBLIC_DOMAIN: arktype0.BaseType; readonly RAILWAY_PRIVATE_DOMAIN: arktype0.BaseType; readonly RAILWAY_TCP_PROXY_DOMAIN: arktype0.BaseType; readonly RAILWAY_TCP_PROXY_PORT: arktype0.BaseType; readonly RAILWAY_TCP_APPLICATION_PORT: arktype0.BaseType; readonly RAILWAY_PROJECT_NAME: arktype0.BaseType; readonly RAILWAY_PROJECT_ID: arktype0.BaseType; readonly RAILWAY_ENVIRONMENT_NAME: arktype0.BaseType; readonly RAILWAY_ENVIRONMENT_ID: arktype0.BaseType; readonly RAILWAY_SERVICE_NAME: arktype0.BaseType; readonly RAILWAY_SERVICE_ID: arktype0.BaseType; readonly RAILWAY_REPLICA_ID: arktype0.BaseType; readonly RAILWAY_DEPLOYMENT_ID: arktype0.BaseType; readonly RAILWAY_SNAPSHOT_ID: arktype0.BaseType; readonly RAILWAY_VOLUME_NAME: arktype0.BaseType; readonly RAILWAY_VOLUME_MOUNT_PATH: arktype0.BaseType; readonly RAILWAY_RUN_UID: arktype0.BaseType; readonly RAILWAY_GIT_COMMIT_SHA: arktype0.BaseType; readonly RAILWAY_GIT_AUTHOR_EMAIL: arktype0.BaseType; readonly RAILWAY_GIT_BRANCH: arktype0.BaseType; readonly RAILWAY_GIT_REPO_NAME: arktype0.BaseType; readonly RAILWAY_GIT_REPO_OWNER: arktype0.BaseType; readonly RAILWAY_GIT_COMMIT_MESSAGE: arktype0.BaseType; }; }; type RailwayEnv = InferPresetOutput; /** * Fly.io Environment Variables * @see https://fly.io/docs/machines/runtime-environment/#environment-variables */ declare const fly: { readonly id: "fly"; readonly server: { readonly FLY_APP_NAME: arktype0.BaseType; readonly FLY_MACHINE_ID: arktype0.BaseType; readonly FLY_ALLOC_ID: arktype0.BaseType; readonly FLY_REGION: arktype0.BaseType; readonly FLY_PUBLIC_IP: arktype0.BaseType; readonly FLY_IMAGE_REF: arktype0.BaseType; readonly FLY_MACHINE_VERSION: arktype0.BaseType; readonly FLY_PRIVATE_IP: arktype0.BaseType; readonly FLY_PROCESS_GROUP: arktype0.BaseType; readonly FLY_VM_MEMORY_MB: arktype0.BaseType; readonly PRIMARY_REGION: arktype0.BaseType; }; }; type FlyEnv = InferPresetOutput; /** * Netlify Environment Variables * @see https://docs.netlify.com/configure-builds/environment-variables */ declare const netlify: { readonly id: "netlify"; readonly server: { readonly NETLIFY: arktype0.BaseType; readonly BUILD_ID: arktype0.BaseType; readonly CONTEXT: arktype0.BaseType<"dev" | "production" | "deploy-preview" | "branch-deploy" | undefined, {}>; readonly REPOSITORY_URL: arktype0.BaseType; readonly BRANCH: arktype0.BaseType; readonly URL: arktype0.BaseType; readonly DEPLOY_URL: arktype0.BaseType; readonly DEPLOY_PRIME_URL: arktype0.BaseType; readonly DEPLOY_ID: arktype0.BaseType; readonly SITE_NAME: arktype0.BaseType; readonly SITE_ID: arktype0.BaseType; }; }; type NetlifyEnv = InferPresetOutput; /** * Cloudflare Pages System Environment Variables * @see https://developers.cloudflare.com/pages/configuration/build-configuration/#environment-variables */ declare const cloudflarePages: { readonly id: "cloudflare-pages"; readonly server: { readonly CF_PAGES: arktype0.BaseType; readonly CF_PAGES_COMMIT_SHA: arktype0.BaseType; readonly CF_PAGES_BRANCH: arktype0.BaseType; readonly CF_PAGES_URL: arktype0.BaseType; }; }; type CloudflarePagesEnv = InferPresetOutput; /** * Cloudflare Workers Builds System Environment Variables * @see https://developers.cloudflare.com/workers/ci-cd/builds/configuration/#environment-variables */ declare const cloudflareWorkers: { readonly id: "cloudflare-workers"; readonly server: { readonly WORKERS_CI: arktype0.BaseType; readonly WORKERS_CI_BUILD_UUID: arktype0.BaseType; readonly WORKERS_CI_COMMIT_SHA: arktype0.BaseType; readonly WORKERS_CI_BRANCH: arktype0.BaseType; }; }; type CloudflareWorkersEnv = InferPresetOutput; /** * Cloudflare Containers Runtime Environment Variables * @see https://developers.cloudflare.com/containers/configuration/environment-variables/ */ declare const cloudflareContainers: { readonly id: "cloudflare-containers"; readonly server: { readonly CLOUDFLARE_APPLICATION_ID: arktype0.BaseType; readonly CLOUDFLARE_COUNTRY_A2: arktype0.BaseType; readonly CLOUDFLARE_DEPLOYMENT_ID: arktype0.BaseType; readonly CLOUDFLARE_LOCATION: arktype0.BaseType; readonly CLOUDFLARE_REGION: arktype0.BaseType; readonly CLOUDFLARE_DURABLE_OBJECT_ID: arktype0.BaseType; }; }; type CloudflareContainersEnv = InferPresetOutput; /** * Upstash redis Environment Variables * @see https://upstash.com/docs/redis/howto/connectwithupstashredis */ declare const upstashRedis: { readonly id: "upstash-redis"; readonly server: { readonly UPSTASH_REDIS_REST_URL: arktype_internal_methods_string_ts0.StringType; readonly UPSTASH_REDIS_REST_TOKEN: arktype_internal_methods_string_ts0.StringType; }; }; type UpstashRedisEnv = InferPresetOutput; /** * Coolify Environment Variables * @see https://coolify.io/docs/knowledge-base/environment-variables#predefined-variables */ declare const coolify: { readonly id: "coolify"; readonly server: { readonly COOLIFY_FQDN: arktype0.BaseType; readonly COOLIFY_URL: arktype0.BaseType; readonly COOLIFY_BRANCH: arktype0.BaseType; readonly COOLIFY_RESOURCE_UUID: arktype0.BaseType; readonly COOLIFY_CONTAINER_NAME: arktype0.BaseType; readonly SOURCE_COMMIT: arktype0.BaseType; readonly PORT: arktype0.BaseType; readonly HOST: arktype0.BaseType; }; }; type CoolifyEnv = InferPresetOutput; /** * Supabase for Vercel Environment Variables * @see https://vercel.com/marketplace/supabase */ declare const supabaseVercel: { readonly id: "supabase-vercel"; readonly clientPrefix: "NEXT_PUBLIC_"; readonly server: { readonly POSTGRES_URL: arktype_internal_methods_string_ts0.StringType; readonly POSTGRES_PRISMA_URL: arktype0.BaseType; readonly POSTGRES_URL_NON_POOLING: arktype0.BaseType; readonly POSTGRES_USER: arktype0.BaseType; readonly POSTGRES_HOST: arktype0.BaseType; readonly POSTGRES_PASSWORD: arktype0.BaseType; readonly POSTGRES_DATABASE: arktype0.BaseType; readonly SUPABASE_SERVICE_ROLE_KEY: arktype0.BaseType; readonly SUPABASE_ANON_KEY: arktype0.BaseType; readonly SUPABASE_URL: arktype0.BaseType; readonly SUPABASE_JWT_SECRET: arktype0.BaseType; }; readonly client: { readonly NEXT_PUBLIC_SUPABASE_ANON_KEY: arktype0.BaseType; readonly NEXT_PUBLIC_SUPABASE_URL: arktype0.BaseType; }; }; type SupabaseVercelEnv = InferPresetOutput; /** * Vite Environment Variables * @see https://vite.dev/guide/env-and-mode */ declare const vite: { readonly id: "vite"; readonly shared: { readonly BASE_URL: arktype0.BaseType; readonly MODE: arktype0.BaseType; readonly DEV: arktype0.BaseType; readonly PROD: arktype0.BaseType; readonly SSR: arktype0.BaseType; }; }; type ViteEnv = InferPresetOutput; /** * WXT Environment Variables * @see https://wxt.dev/guide/essentials/config/environment-variables.html#built-in-environment-variables */ declare const wxt: { readonly id: "wxt"; readonly server: { readonly MANIFEST_VERSION: arktype_internal_methods_object_ts0.ObjectType<(In: "2" | "3" | undefined) => arktype0.Out, {}>; readonly BROWSER: arktype0.BaseType<"chrome" | "firefox" | "safari" | "edge" | "opera" | undefined, {}>; readonly CHROME: arktype0.BaseType; readonly FIREFOX: arktype0.BaseType; readonly SAFARI: arktype0.BaseType; readonly EDGE: arktype0.BaseType; readonly OPERA: arktype0.BaseType; }; }; type WxtEnv = InferPresetOutput; //#endregion export { CloudflareContainersEnv, CloudflarePagesEnv, CloudflareWorkersEnv, CoolifyEnv, FlyEnv, NeonVercelEnv, NetlifyEnv, RailwayEnv, RenderEnv, SupabaseVercelEnv, UploadthingEnv, UpstashRedisEnv, VercelEnv, ViteEnv, WxtEnv, cloudflareContainers, cloudflarePages, cloudflareWorkers, coolify, fly, neonVercel, netlify, railway, render, supabaseVercel, uploadthing, upstashRedis, vercel, vite, wxt };