import type { UnknownObject } from '../../../types/common-types.js'; export type DeepSeekCompletionBody = { chat_session_id: string; parent_message_id: string | null; prompt: string; ref_file_ids: unknown[]; thinking_enabled: boolean; search_enabled: boolean; stream?: boolean; }; export type DeepSeekProviderError = Error & { code?: string; statusCode?: number; status?: number; details?: Record; }; export type CamoufoxFingerprintSnapshot = { userAgent?: string; platform?: string; oscpu?: string; }; export declare function normalizeString(value: unknown): string | undefined; export declare function isRecord(value: unknown): value is Record; export declare function buildPromptFromMessages(messagesRaw: unknown): string | undefined; export declare function createProviderError(code: string, message: string, statusCode: number, details?: Record): DeepSeekProviderError; export declare function readEnvBoolean(keys: string[], fallback: boolean): boolean; export declare function parseCamoufoxConfig(payload: unknown): CamoufoxFingerprintSnapshot | null; export declare function mapPlatformToClientPlatform(platform?: string): string | undefined; export declare function readStreamIntent(request: UnknownObject): boolean; export declare function shouldForceUpstreamSseForSearch(request: UnknownObject): boolean; export declare function shouldForceUpstreamSseForTools(request: UnknownObject): boolean; export declare function extractPromptFromPayload(body: Record, request: UnknownObject): string | undefined; export declare function extractSessionIdFromMetadata(request: UnknownObject): string | undefined;