/** * DeepSeek Provider Implementation * * Implements the LLMProvider interface for the DeepSeek API. * Handles text generation and streaming using OpenAI-compatible API format. */ import type { LLMProvider, LLMCapabilities, ServiceType } from '../types.js'; import type { TextTextParams, ImageTextParams, TextImageParams, ImageImageParams, DocumentTextParams, LLMResponse, LLMStreamResponse, Logger } from '../../llm_api/types.js'; import { type DeepSeekGenerationConfig } from './deepseek_client.js'; /** * Configuration for the DeepSeek provider */ export interface DeepSeekProviderConfig { /** API key from .env.local (DEEPSEEK_API_KEY) */ api_key: string; /** Chat completions API URL (default: 'https://api.deepseek.com/v1/chat/completions') */ api_url?: string; /** Model for text_text service (default: 'deepseek-chat') */ model_text_text?: string; /** Generation parameters applied to text calls */ generation_config?: DeepSeekGenerationConfig; /** Capabilities this provider supports (overrides defaults when specified) */ capabilities?: ServiceType[]; /** Logger instance */ logger: Logger; } /** * DeepSeek LLM Provider * Implements the LLMProvider interface for the DeepSeek API */ export declare class DeepSeekProvider implements LLMProvider { private readonly name; private readonly api_key; private readonly api_url; private readonly model_text_text; private readonly generation_config; private readonly capabilities; private readonly logger; constructor(config: DeepSeekProviderConfig); get_name(): string; get_capabilities(): LLMCapabilities; get_model_for_service(service_type: ServiceType): string | undefined; text_text(params: TextTextParams, _logger: Logger): Promise; text_text_stream(params: TextTextParams, _logger: Logger): Promise; image_text(_params: ImageTextParams, _logger: Logger): Promise; text_image(_params: TextImageParams, _logger: Logger): Promise; image_image(_params: ImageImageParams, _logger: Logger): Promise; document_text(_params: DocumentTextParams, _logger: Logger): Promise; } //# sourceMappingURL=deepseek_provider.d.ts.map