import type Anthropic from "@anthropic-ai/sdk"; import { type Reranker, type RetrievalModel, type RetrieverHit } from "@use-crux/core/retrieval"; import { AnthropicChatStream } from "./stream"; import type { AnthropicExtra } from "./types"; /** Configuration for `anthropic.retrievalModel()`. */ export interface AnthropicRetrievalModelConfig { model: string; } /** Configuration for `anthropic.reranker()`. */ export interface AnthropicRerankerConfig extends AnthropicRetrievalModelConfig { name?: string; topN?: number; document?: (hit: RetrieverHit) => string; } /** * Public Anthropic provider runtime. * * Anthropic is a single-turn provider: the SDK exposes one message call or * stream per turn, while Crux owns prompt resolution, tool loops, validation * retry, safety, observability, and memory capture. */ export declare const anthropicProviderRuntime: import("@use-crux/core/adapter").DefinedSingleTurnProviderRuntime, AnthropicChatStream, AnthropicExtra, Record, { retrievalModel(config: AnthropicRetrievalModelConfig): RetrievalModel; reranker(config: AnthropicRerankerConfig): Reranker; }, Record>; /** Create an Anthropic adapter bound to a client instance. */ export declare const createAnthropic: (client: Anthropic, deps?: Record | undefined) => import("@use-crux/core/adapter/provider-runtime/runtime-types").SingleTurnProviderRuntime, AnthropicChatStream, AnthropicExtra> & Record & { retrievalModel(config: AnthropicRetrievalModelConfig): RetrievalModel; reranker(config: AnthropicRerankerConfig): Reranker; }; /** Lightweight helper factory generated from the Anthropic provider runtime. */ export declare const anthropicHelpers: import("@use-crux/core/adapter").NativeChatHelpers;