import type { ContentBlock, SessionRecord } from './types.js'; export declare function hashForUpload(value: string): string; export interface AnonymizedAssistantRecord { type: 'assistant'; vendor: 'claude-code'; uuid: string | undefined; parentUuid: string | null | undefined; sessionIdHash: string; timestamp: string; model: string; isSidechain: boolean; isSynthetic: boolean; cwdHash: string | undefined; version: string | undefined; entrypoint: string | undefined; requestId: string | undefined; usage: { input_tokens: number; cache_read_input_tokens: number; cache_creation_input_tokens: number; cache_creation_5m: number; cache_creation_1h: number; output_tokens: number; service_tier: string | undefined; }; contentBlocks: AnonymizedContentBlock[]; stopReason: string | undefined; } export interface AnonymizedContentBlock { type: ContentBlock['type']; byteSize: number; toolName?: string; toolUseId?: string; isError?: boolean; } export interface AnonymizedUserRecord { type: 'user'; vendor: 'claude-code'; uuid: string | undefined; parentUuid: string | null | undefined; sessionIdHash: string; timestamp: string; isSidechain: boolean; cwdHash: string | undefined; version: string | undefined; entrypoint: string | undefined; promptIdHash: string | undefined; sourceToolAssistantUUID: string | undefined; contentBlocks: AnonymizedContentBlock[]; toolUseResultSummary: { toolUseId: string | undefined; byteSize: number; isError: boolean | undefined; } | undefined; } export interface AnonymizedSystemRecord { type: 'system'; vendor: 'claude-code'; uuid: string | undefined; sessionIdHash: string; timestamp: string; subtype: string | undefined; level: string | undefined; errorCode: string | undefined; errorErrno: number | undefined; errorType: string | undefined; retryInMs: number | undefined; retryAttempt: number | undefined; maxRetries: number | undefined; } export interface AnonymizedAttachmentRecord { type: 'attachment'; vendor: 'claude-code'; uuid: string | undefined; sessionIdHash: string; timestamp: string; addedFileCount: number; addedLines: number; removedFileCount: number; removedLines: number; } export type AnonymizedRecord = AnonymizedAssistantRecord | AnonymizedUserRecord | AnonymizedSystemRecord | AnonymizedAttachmentRecord; export declare function anonymize(record: SessionRecord): AnonymizedRecord | null; //# sourceMappingURL=anonymize.d.ts.map