export interface AnalysisFinding { technique: string; severity: 'informational' | 'low' | 'medium' | 'high'; action: 'stripped' | 'flagged' | 'marked' | 'disclosed'; excerpt?: string; location?: unknown; instructionShaped?: { matched?: string[]; }; } export type AnalysisScope = 'file' | 'text' | 'file-text-only' | 'none'; export interface AnalysisResult { verdict: string; text: string; findings: AnalysisFinding[]; degraded: boolean; degradedReason: string | null; scope: AnalysisScope; concealedRetained: string[]; engineVersion: string; documentSha256?: string; jobId?: string; pending?: { pages: number | null; retryAfterSeconds: number; }; } export declare function retryAfterSeconds(pages: number | null, waitedSeconds: number): number; export interface TransportOptions { baseUrl: string; apiKey: string; capabilities?: string[]; timeoutMs?: number; fetch?: typeof globalThis.fetch; } export declare const DEFAULT_TIMEOUT_MS = 30000; export declare function sanitizeText(text: string, options: TransportOptions): Promise; export declare function analyzeFile(bytes: Uint8Array, filename: string, options: TransportOptions): Promise; //# sourceMappingURL=transport.d.ts.map