import type { NetIdType } from './networkConfig'; export interface DepositType { currency: string; amount: string; netId: NetIdType; } export interface createDepositParams { nullifier: bigint; secret: bigint; } export interface createDepositObject { preimage: Uint8Array; noteHex: string; commitment: bigint; commitmentHex: string; nullifierHash: bigint; nullifierHex: string; } export interface createNoteParams extends DepositType { nullifier?: bigint; secret?: bigint; } export interface parsedNoteExec extends DepositType { note: string; } export declare function createDeposit({ nullifier, secret }: createDepositParams): Promise; export interface DepositConstructor { currency: string; amount: string; netId: NetIdType; nullifier: bigint; secret: bigint; note: string; noteHex: string; invoice: string; commitmentHex: string; nullifierHex: string; } export declare class Deposit { currency: string; amount: string; netId: NetIdType; nullifier: bigint; secret: bigint; note: string; noteHex: string; invoice: string; commitmentHex: string; nullifierHex: string; constructor({ currency, amount, netId, nullifier, secret, note, noteHex, invoice, commitmentHex, nullifierHex, }: DepositConstructor); toString(): string; static createNote({ currency, amount, netId, nullifier, secret }: createNoteParams): Promise; static parseNote(noteString: string): Promise; } export interface parsedInvoiceExec extends DepositType { commitment: string; } export declare class Invoice { currency: string; amount: string; netId: NetIdType; commitment: string; invoice: string; constructor(invoiceString: string); toString(): string; }