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; noteHex: string; } export interface parsedInvoiceExec extends DepositType { invoice: string; commitmentHex: string; } export declare function parseNote(noteString: string): parsedNoteExec | undefined; export declare function parseInvoice(invoiceString: string): parsedInvoiceExec | undefined; 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 declare class Invoice { currency: string; amount: string; netId: NetIdType; commitmentHex: string; invoice: string; constructor(invoiceString: string); toString(): string; }