import { z } from "zod"; /** Value-free routing stored on the connection, never supplied by an agent binding. */ export declare const aiProviderRoutingSchema: z.ZodObject<{ kind: z.ZodEnum<{ bedrock: "bedrock"; gateway: "gateway"; local: "local"; openrouter: "openrouter"; }>; protocol: z.ZodEnum<{ bedrock: "bedrock"; chat: "chat"; messages: "messages"; responses: "responses"; }>; baseUrl: z.ZodOptional; auth: z.ZodDefault>; region: z.ZodOptional; models: z.ZodDefault; }, z.core.$strict>>>; }, z.core.$strict>; export type AiProviderRouting = z.infer; export declare function aiRoutingHarness(adapter: string, provider?: unknown, acpxAgent?: unknown): string; export declare function isAiRoutingCompatible(route: AiProviderRouting, harness: string): boolean; export declare function aiRoutingBaseUrl(route: AiProviderRouting, harness: string): string; /** OpenCode names models with a provider prefix; other harnesses use the raw ID. */ export declare function aiRoutingModel(route: AiProviderRouting, harness: string, model: string): string; /** Catalog identity is derived from routing, including accounts saved before these rows existed. */ export declare function aiConnectionCatalogSlug(provider: string, routing?: Pick): string; /** Direct catalog setup presets; legacy gateway links still open their existing setup. */ export declare function aiProviderSetupPreset(source: string | null): { provider: "openrouter" | "bedrock" | "gateway" | "local" | "google"; protocol?: AiProviderRouting["protocol"]; label?: string; } | undefined; //# sourceMappingURL=ai-provider-routing.d.ts.map