import { Provider } from "@ethersproject/providers"; import { Wallet } from "ethers"; import { Domain, Address, OffChainTransaction } from "../types"; export declare function signTypedData(signer: Wallet, domain: Domain, transaction: OffChainTransaction): Promise; export declare function sign(signer: Wallet, hash: string): Promise; /** * Bundles 2 transactions into one so it can be sent to a Laser wallet. */ export declare function bundleTransactions(tr1: OffChainTransaction, tr2: OffChainTransaction): OffChainTransaction; /** * @param hash Hash that was signed. * @param signatures Signature(s) of the hash. * * @returns The address that signed the hash. */ export declare function returnSigner(provider: Provider, hash: string, signatures: string): Promise
;