import type { AnalyzeFileRequest, AnalyzePreparedFileRequest, AnalyzeTextRequest, AnalyzeUrlRequest, AnalysisResponse, ApiInfo } from "./types.js"; export type ZeroTrueClientOptions = { baseUrl: string; apiKey: string | null; timeoutMs: number; userAgent: string; fetchImpl?: typeof fetch; }; export declare class ZeroTrueClient { private readonly baseUrl; private readonly apiKey; private readonly timeoutMs; private readonly userAgent; private readonly fetchImpl; constructor(options: ZeroTrueClientOptions); analyzeText(request: AnalyzeTextRequest): Promise; analyzeUrl(request: AnalyzeUrlRequest): Promise; analyzeFile(request: AnalyzeFileRequest): Promise; analyzePreparedFile(request: AnalyzePreparedFileRequest): Promise; getResult(contentId: string): Promise; getInfo(): Promise; private appendAnalyzeOptions; private requestJson; private readJson; private errorFromResponse; private decodeBase64; private requireApiKey; }