import type { AiCompletion } from './types.js'; /** * Calls Claude with structured outputs, so the answer is schema-valid rather * than merely JSON-shaped. * * Two things here are not boilerplate: * * - **`stop_reason` is checked before the content is read.** The provider's own * safety layer can decline a request and still return HTTP 200 with an empty * `content` — and moderation input is exactly the kind of text that trips it. * Reading `content[0]` first would throw on the one case this feature exists * to handle. * - **A declined request is retried on another model server-side** (`fallbacks`), * because a refusal is not a verdict. Turn it off with `ai.fallback: false`. */ export declare const anthropicCompletion: AiCompletion; //# sourceMappingURL=anthropic.d.ts.map