/**
 * Anthropic Messages connector.
 *
 * Speaks the native `/v1/messages` dialect — Anthropic's streaming format is
 * its own beast (typed `content_block_*` and `message_*` SSE events rather than
 * OpenAI-style choice deltas), so this connector owns a bespoke decode loop
 * instead of delegating to the shared OpenAI-compatible streamer.
 *
 * Wire shape (re-derived from Anthropic's public streaming docs):
 *
 *   event: message_start          data: {"message":{"usage":{...}}}
 *   event: content_block_start    data: {"index":0,"content_block":{"type":"text"|"thinking"|"tool_use",...}}
 *   event: content_block_delta    data: {"index":0,"delta":{"type":"text_delta","text":"..."}}
 *   event: content_block_stop     data: {"index":0}
 *   event: message_delta          data: {"delta":{"stop_reason":"end_turn"},"usage":{"output_tokens":N}}
 *   event: message_stop           data: {}
 *
 * Body assembly is delegated to `toAnthropicRequest`; the connector only adds
 * `stream: true` and the auth/version headers.
 */
import type { Connector, CredentialResolver } from "../contract";
/** Dependencies the factory needs to mint a working connector. */
export interface AnthropicConnectorDeps {
    /** Resolves the Anthropic API key (env / override) at call time. */
    readonly resolveSecret: CredentialResolver["resolve"];
}
/**
 * Build the Anthropic Messages connector.
 *
 * Serves every `anthropic-messages` card in the catalog — `claude-opus-4`,
 * `claude-sonnet-4`, and `claude-haiku-3-5`. The API key is resolved lazily on
 * each call via the injected `resolveSecret`, honoring a per-call
 * `options.apiKey` override before falling back to the environment.
 */
export declare function createanthropicConnector(deps: AnthropicConnectorDeps): Connector;
