import { type Config } from './config'; /** * Canonical names for EDGE (Cloudflare Worker) services. * Used as keys into `runtime.services.edgeServices` and {@link EDGE_SERVICE_DEFAULTS}. */ export declare const EdgeServiceName: Readonly<{ readonly Calls: 'calls'; readonly Image: 'image'; readonly Transcription: 'transcription'; readonly Discord: 'discord'; readonly CorsProxy: 'cors-proxy'; readonly ApiProxy: 'api-proxy'; readonly Introspect: 'introspect'; readonly ChatAgent: 'chat-agent'; }>; export type EdgeServiceName = (typeof EdgeServiceName)[keyof typeof EdgeServiceName]; /** * Canonical dev/test default endpoints for EDGE services. * Single source of truth for the URLs previously hard-coded across plugins. * Production values are supplied per-app via `dx.yml` (`runtime.services.edgeServices`). */ export declare const EDGE_SERVICE_DEFAULTS: Readonly>; /** * Resolve the endpoint for an EDGE service. * Prefers the matching `runtime.services.edgeServices` entry, falling back to the canonical * {@link EDGE_SERVICE_DEFAULTS} entry. * `name` is expected to be unique; on duplicates the last entry wins so a later override is * not silently shadowed by an earlier one (proto cannot enforce uniqueness on a repeated field). */ export declare const getEdgeServiceEndpoint: (config: Config, name: EdgeServiceName) => string; //# sourceMappingURL=edge-services.d.ts.map