import { BaseProvider } from './base-provider'; import type { Message, ProviderOptions, ProviderResponse, ProviderChunk, Model, ServiceName } from '../types'; /** * DeepSeek API provider implementation (OpenAI-compatible with reasoning) */ export declare class DeepSeekProvider extends BaseProvider { readonly name: ServiceName; readonly supportsThinking = true; readonly supportsTools = true; readonly supportsVision = false; readonly supportsDocuments = false; private readonly defaultBaseUrl; /** * Send a non-streaming request to DeepSeek */ sendRequest(messages: Message[], options: ProviderOptions): Promise; /** * Send a streaming request to DeepSeek */ sendStreamingRequest(messages: Message[], options: ProviderOptions): AsyncIterable; /** * Fetch available models from DeepSeek */ fetchModels(apiKey?: string): Promise; /** * Get known DeepSeek models */ private getKnownModels; /** * Verify connection to DeepSeek */ verifyConnection(apiKey?: string): Promise; /** * Build the request body for DeepSeek API */ private buildRequestBody; /** * Format messages for DeepSeek API (OpenAI-compatible) */ protected formatMessages(messages: Message[]): unknown[]; /** * Format content for DeepSeek API */ private formatContent; /** * Parse DeepSeek response */ protected parseResponse(response: unknown): ProviderResponse; /** * Make HTTP request to DeepSeek */ private makeRequest; /** * Handle error responses from DeepSeek */ private handleErrorResponse; /** * Get API key from environment */ private getApiKeyFromEnv; } //# sourceMappingURL=deepseek.d.ts.map