///
import { ZkAccount } from '@zkopru/account';
import { Fp } from '@zkopru/babyjubjub';
import { RawTx, ZkTx, ZkAddress } from '@zkopru/transaction';
import { MerkleProof, UtxoTree } from '@zkopru/tree';
export declare class ZkWizard {
path?: string;
cid?: string;
tmpdirPath?: string;
utxoTree: UtxoTree;
constructor({ utxoTree, path: localPath, cid, }: {
utxoTree: UtxoTree;
path?: string;
cid?: string;
});
get tmpdir(): string;
shield({ tx, from, encryptTo, prepayInfo, }: {
tx: RawTx;
from: ZkAccount;
encryptTo?: ZkAddress;
prepayInfo?: {
prepayFeeInEth?: Fp;
prepayFeeInToken?: Fp;
expiration: number;
signature: Buffer | string;
data: any;
signer?: string;
};
}): Promise;
private loadKeyPaths;
private buildZkTx;
static snarkInput({ tx, merkleProof, signer, }: {
tx: RawTx;
merkleProof: {
[hash: number]: MerkleProof;
};
signer: ZkAccount;
}): {
[name: string]: bigint | bigint[] | bigint[][];
};
}
//# sourceMappingURL=zk-wizard.d.ts.map