import { ethers } from 'ethers'; export interface UploadTask { clientIndex: number; taskSize: number; segIndex: number; numShard: number; txSeq: number; } export type EncryptionOption = { type: 'aes256'; key: Uint8Array; } | { type: 'ecies'; recipientPubKey: Uint8Array | string; }; export interface UploadOption { tags?: ethers.BytesLike; submitter?: string; finalityRequired?: boolean; taskSize?: number; expectedReplica?: number; fragmentSize?: number; skipTx?: boolean; skipIfFinalized?: boolean; fee?: bigint; nonce?: bigint; onProgress?: (message: string) => void; encryption?: EncryptionOption; } export declare const defaultUploadOption: Omit, 'nonce' | 'onProgress' | 'encryption'> & { nonce?: bigint; onProgress?: (message: string) => void; encryption?: EncryptionOption; }; /** * Merges user-provided upload options with default values */ export declare function mergeUploadOptions(userOptions?: UploadOption): Required> & { nonce?: bigint; onProgress?: (message: string) => void; encryption?: EncryptionOption; }; //# sourceMappingURL=types.d.ts.map