import { type VeryfrontCloudProviderId } from "./model-catalog.js"; export type { VeryfrontCloudProviderId } from "./model-catalog.js"; interface ParsedVeryfrontCloudModelId { provider: VeryfrontCloudProviderId; modelId: string; } export declare function parseVeryfrontCloudModelId(modelId: string, kind: "language" | "embedding"): ParsedVeryfrontCloudModelId; export declare function requireVeryfrontCloudBootstrap(): { apiBaseUrl: string; apiToken: string; projectSlug?: string; }; export declare function getVeryfrontCloudGatewayBaseUrl(apiBaseUrl: string, provider: VeryfrontCloudProviderId): string; /** * Creates a fetch wrapper that replaces all SDK-injected auth headers with * a single `Authorization: Bearer` header for the Veryfront Cloud gateway. * * Provider runtimes set their own native auth headers (`x-api-key` for * Anthropic, `x-goog-api-key` for Google, `Authorization` for OpenAI). * The gateway expects only Bearer auth, so we strip all provider-specific * headers to prevent credential leakage to the wrong auth path. */ export declare function createVeryfrontCloudFetch(apiToken: string, apiBaseUrl: string, projectSlug?: string): typeof fetch; //# sourceMappingURL=shared.d.ts.map