import { type BuilderGatewayLane } from "../../server/credential-provider.js"; import type { AgentEngine, EngineCapabilities } from "./types.js"; export declare const BUILDER_CAPABILITIES: EngineCapabilities; export declare const BUILDER_SUPPORTED_MODELS: readonly ["auto", "claude-haiku-5-5", "claude-sonnet-5-5", "claude-opus-5-5", "gpt-5-4", "gpt-5-5", "gpt-5-4-mini", "gpt-5-1-codex-mini", "gpt-6-1-sol", "gpt-5-6-terra", "gpt-6-luna", "gemini-3-1-pro", "gemini-3-8-flash", "gemini-3-5-flash-lite", "gemini-3-1-flash-lite", "grok-code-fast", "qwen3-coder", "kimi-k2-5", "deepseek-v4-pro", "deepseek-v4-1-flash", "deepseek-v3-1", "z-ai-glm-4-5", "z-ai-glm-5-1", "z-ai-glm-5-3-flash"]; export declare const BUILDER_MODEL_UNAUTHORIZED_ERROR_CODE = "builder_model_unauthorized"; /** * A truncated stream, not a rejected request: the client continues the partial * turn, so this is absent from `isRetryableError` on purpose. * * Every predicate that recognises `builder_gateway_network_error` must list this * too, or a truncated stream silently stops recovering: `isResumableEngineError`, * `isRecoverableContinuationError`, `shouldCaptureRunError`, * `isInternalContinuationError` and the client's `sse-event-processor`. */ export declare const BUILDER_GATEWAY_STREAM_ENDED_ERROR_CODE = "builder_gateway_stream_ended"; export declare const BUILDER_DEFAULT_MODEL: "gpt-6-luna"; export interface BuilderEngineCredentials { privateKey: string | null; publicKey: string | null; userId?: string | null; orgName?: string | null; lane?: BuilderGatewayLane | null; } export declare function createBuilderEngine(config?: Record): AgentEngine;