type FetchLike = typeof fetch; export interface DeepSeekSessionPowManagerOptions { baseUrl: string; createSessionEndpoint?: string; createPowEndpoint?: string; completionTargetPath?: string; timeoutMs?: number; powTimeoutMs?: number; powMaxAttempts?: number; sessionReuseTtlMs?: number; solverPath?: string; wasmPath?: string; fetchImpl?: FetchLike; solvePow?: (input: { algorithm: string; challenge: string; salt: string; difficulty: number; expireAt: number; signature: string; targetPath: string; }) => Promise; logger?: { logModule?: (id: string, stage: string, details?: Record) => void; }; logId?: string; } export declare class DeepSeekSessionPowManager { private readonly baseUrl; private readonly createSessionEndpoint; private readonly createPowEndpoint; private readonly completionTargetPath; private readonly timeoutMs; private readonly powTimeoutMs; private readonly powMaxAttempts; private readonly sessionReuseTtlMs; private readonly solverPath?; private readonly wasmPath?; private readonly fetchImpl; private readonly solvePowOverride?; private readonly logger?; private readonly logId; private cachedSession; constructor(options: DeepSeekSessionPowManagerOptions); ensureChatSession(authHeaders: Record): Promise; createPowResponse(authHeaders: Record): Promise; cleanup(): Promise; private normalizeChallenge; private postJson; private solvePowChallenge; private spawnPowSolver; private joinUrl; private log; } export {};