/** * BuilderEngine — HTTP client for the Builder.io managed LLM gateway. * * The gateway accepts an Anthropic-shaped request body and streams events as * JSONL. This engine translates the framework's EngineStreamOptions into the * gateway request, parses the streamed events into EngineEvent items, and * maps gateway error responses (402 quota, 403 disabled, 401 auth, 429 * concurrency) into structured stop events that carry an upgrade URL when * the chat UI needs to prompt the user to upgrade. * * Credentials come from BUILDER_PRIVATE_KEY + BUILDER_PUBLIC_KEY (set via the * Builder CLI-auth onboarding flow). Base URL is overridable via * BUILDER_GATEWAY_BASE_URL. */ import type { AgentEngine, EngineCapabilities } from "./types.js"; export declare const BUILDER_CAPABILITIES: EngineCapabilities; export declare const BUILDER_SUPPORTED_MODELS: readonly ["auto", string, "gpt-5-6-terra", "gpt-5-6-sol", "claude-haiku-4-5", "claude-sonnet-4-6" | "claude-sonnet-5", "claude-opus-4-8", "gemini-3-5-flash", "gemini-3-1-pro"]; export declare const BUILDER_MODEL_UNAUTHORIZED_ERROR_CODE = "builder_model_unauthorized"; export declare const BUILDER_DEFAULT_MODEL: string; export declare function createBuilderEngine(_config?: Record): AgentEngine; //# sourceMappingURL=builder-engine.d.ts.map