/**
 * Anthropic API provider — streams messages via raw fetch + SSE parsing.
 * No SDK dependency. Uses only Node.js native fetch (available since Node 18).
 *
 * Adapted from pack-weaver's streamAnthropicWithTools.
 */
import type { AgentProvider, AgentMessage, ToolDefinition, StreamEvent, StreamOptions } from '../types.js';
export interface AnthropicProviderOptions {
    apiKey: string;
    model?: string;
    maxTokens?: number;
    baseUrl?: string;
}
export declare class AnthropicProvider implements AgentProvider {
    private apiKey;
    private model;
    private maxTokens;
    private baseUrl;
    constructor(options: AnthropicProviderOptions);
    stream(messages: AgentMessage[], tools: ToolDefinition[], options?: StreamOptions): AsyncGenerator<StreamEvent>;
}
export declare function createAnthropicProvider(options: AnthropicProviderOptions): AnthropicProvider;
//# sourceMappingURL=anthropic.d.ts.map