import { Fr } from "./aztec/fields/fields"; export declare type Hex = string; export declare enum PROOF_DOMAIN { DEPOSIT = 10001, WITHDRAW = 10002, RETAIL_CREATE_ORDER = 10003, PRO_CREATE_ORDER = 10004, PRO_SWAP = 10005, PRO_CANCEL_ORDER = 10006, RETAIL_CANCEL_ORDER = 10007, JOIN = 10008, TRIPLE_JOIN = 10009, RETAIL_SWAP = 10010, RETAIL_BRIDGE_ORDER = 20003 } export declare const EMPTY_NULLIFIER = 0n; export declare const EMPTY_FOOTER = 0n; export declare const FEE_RATIO_PRECISION = 1000000n; export declare class DarkSwapProofError extends Error { constructor(message: string); } export declare type DarkSwapNote = CreateNoteParam & { note: bigint; }; export declare type DarkSwapOrderNote = DarkSwapNote & { feeRatio: bigint; }; export declare type DarkSwapOrderNoteExt = DarkSwapOrderNote & { nullifier: string; }; export declare type CreateNoteParam = { address: string; rho: bigint; amount: bigint; asset: string; }; export declare type DarkSwapNoteExt = DarkSwapNote & { footer: bigint; }; export declare type BaseProofParam = { address: string; signedMessage: string; }; export declare type BaseProofResult = { proof: string; verifyInputs: string[]; }; export declare type BaseProofInput = { address: string; pub_key: [string, string]; signature: any; }; export declare type DarkSwapMessage = { address: string; orderNote: DarkSwapOrderNote; orderNullifier: string; inNote: DarkSwapNote; feeAmount: bigint; publicKey: [Fr, Fr]; signature: string; };