import Api from "./lib/api"; export interface TransactionOffsetResponse { size: string; offset: string; } export interface TransactionChunkResponse { chunk: string; data_path: string; tx_path: string; } export default class Chunks { private api; constructor(api: Api); getTransactionOffset(id: string): Promise; getChunk(offset: string | number | BigInt): Promise; getChunkData(offset: string | number | BigInt): Promise; firstChunkOffset(offsetResponse: TransactionOffsetResponse): number; downloadChunkedData(id: string): Promise; }