/**
 * Cloudflare Workers AI Provider
 *
 * Implements LLMProvider interface for Cloudflare Workers AI models.
 * Uses HTTP API directly (no SDK needed), following the Ollama provider pattern.
 *
 * Primary model: gpt-oss-120b (near o4-mini reasoning, 128K context)
 * Supports reasoning effort control for gpt-oss models.
 */
import type { LLMProvider, AnalyzeOptions, AnalyzeResult, StructuredOptions } from '../types.js';
import { Logger } from '../../../utils/logger.js';
export interface WorkersAIProviderConfig {
    accountId: string;
    apiToken: string;
    model?: string;
    maxTokens?: number;
    temperature?: number;
    reasoningEffort?: 'low' | 'medium' | 'high';
    logger?: Logger;
}
export declare class WorkersAIProvider implements LLMProvider {
    readonly name: "workers-ai";
    readonly defaultModel: string;
    private accountId;
    private apiToken;
    private maxTokens;
    private temperature;
    private reasoningEffort?;
    private logger;
    constructor(config: WorkersAIProviderConfig);
    analyze(prompt: string, options?: AnalyzeOptions): Promise<AnalyzeResult>;
    analyzeStructured<T>(prompt: string, options: StructuredOptions<T>): Promise<{
        data: T;
        usage: AnalyzeResult['usage'];
        estimatedCost: number;
    }>;
    estimateCost(inputTokens: number, outputTokens: number, model?: string): number;
    isAvailable(): Promise<boolean>;
    getStatus(): Promise<{
        available: boolean;
        latencyMs?: number;
        error?: string;
    }>;
}
//# sourceMappingURL=workers-ai-provider.d.ts.map