import { NewAccountReturn, NewAccountValues } from "./crypto/circuits/newAccount"; import { DepositReturn, DepositValues } from "./crypto/circuits/deposit"; import { WasmClient, Proof } from "./wasmClient"; import { Scalar } from "./crypto/scalar"; import { WithdrawReturn, WithdrawValues } from "./crypto/circuits/withdraw"; import { ShielderActionSecrets } from "./crypto/secretGenerator"; import { Hex } from "viem"; export declare class WasmClientWorker { client: WasmClient; threads: number | undefined; init(threads: number): Promise; proveAndVerifyNewAccount(values: NewAccountValues): NewAccountReturn; proveAndVerifyDeposit(values: DepositValues): DepositReturn; proveAndVerifyWithdraw(values: WithdrawValues): WithdrawReturn; proveAndVerifyMerkle(): Proof; poseidonHash(inputs: Scalar[]): Scalar; getSecrets(id: Scalar, nonce: bigint): ShielderActionSecrets; merklePathAndRoot(rawPath: readonly bigint[]): [Uint8Array, Scalar]; privateKeyToScalar(hex: Hex): Scalar; arity(): number; }