import { PrivateKey, GraphReceipt, Address, SignatureString } from "@connext/types"; import { BigNumber } from "ethers"; export declare const GRAPH_RECEIPT_TYPE_HASH: string; export declare const GRAPH_CONSUMER_TYPE_HASH: string; export declare const hashGraphReceiptData: (receipt: GraphReceipt) => string; export declare const hashGraphConsumerData: (receipt: GraphReceipt, totalPaid: BigNumber, paymentId: string) => string; export declare const hashGraphReceiptMessage: (hashGraphReceiptMessage: number, verifyingContract: string, receipt: GraphReceipt) => string; export declare const signGraphReceiptMessage: (receipt: GraphReceipt, chainId: number, verifyingContract: Address, privateKey: PrivateKey) => Promise; export declare const recoverGraphAttestationSigner: (receipt: GraphReceipt, chainId: number, verifyingContract: Address, sig: SignatureString) => Promise
; export declare const hashGraphConsumerMessage: (hashGraphConsumerMessage: number, verifyingContract: string, receipt: GraphReceipt, totalPaid: BigNumber, paymentId: string) => string; export declare const signGraphConsumerMessage: (receipt: GraphReceipt, chainId: number, verifyingContract: Address, totalPaid: BigNumber, paymentId: string, privateKey: PrivateKey) => Promise; export declare const getTestVerifyingContract: () => string; export declare const getTestGraphReceiptToSign: () => GraphReceipt; export declare const getTestGraphDomainSeparator: () => GraphReceipt; //# sourceMappingURL=graphTransfer.d.ts.map