export interface EncryptedData {
    encryptedData: Uint8Array;
    iv: Uint8Array;
    keyShares: string[];
    dataShares: string[];
}
export interface ShareData {
    share: string;
    iv: string;
}
export declare function encryptAndSplit(data: Uint8Array, numShares: number, threshold: number): Promise<EncryptedData>;
export declare function combineAndDecrypt(keyShares: string[], dataShares: string[], threshold: number): Promise<Uint8Array>;
