import { PurchaseParamsStruct } from '../../typechain/ProductsModule'; import { BigNumber } from "ethers"; import { ProductCart } from '../../../lib/cart/cartProductTypes'; export type NewTransaction = { description: string; hash: string; confirmations?: number; }; export declare const payProductsWithAuthorizationConfig: (buyer: `0x${string}`, productData: ProductCart[], chainId: number, authorizationParams: Record) => Promise<{ config: { address: any; abi: ({ inputs: any[]; stateMutability: string; type: string; name?: undefined; anonymous?: undefined; outputs?: undefined; } | { inputs: any[]; name: string; type: string; stateMutability?: undefined; anonymous?: undefined; outputs?: undefined; } | { anonymous: boolean; inputs: ({ indexed: boolean; internalType: string; name: string; type: string; components?: undefined; } | { components: ({ components: { internalType: string; name: string; type: string; }[]; internalType: string; name: string; type: string; } | { internalType: string; name: string; type: string; components?: undefined; })[]; indexed: boolean; internalType: string; name: string; type: string; })[]; name: string; type: string; stateMutability?: undefined; outputs?: undefined; } | { inputs: ({ internalType: string; name: string; type: string; components?: undefined; } | { components: ({ components: { internalType: string; name: string; type: string; }[]; internalType: string; name: string; type: string; } | { internalType: string; name: string; type: string; components?: undefined; })[]; internalType: string; name: string; type: string; })[]; name: string; outputs: any[]; stateMutability: string; type: string; anonymous?: undefined; } | { inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; anonymous?: undefined; } | { inputs: { internalType: string; name: string; type: string; }[]; name: string; outputs: { components: { internalType: string; name: string; type: string; }[]; internalType: string; name: string; type: string; }[]; stateMutability: string; type: string; anonymous?: undefined; })[]; functionName: string; args: (PurchaseParamsStruct[] | Record)[]; value: BigNumber; }; purchaseParams: PurchaseParamsStruct[]; }>; export declare const payWithAuthorization: (sender: `0x${string}`, totalUsdcPrice: number, buyer: `0x${string}`, productData: ProductCart[], chainId: number) => Promise<`0x${string}`>; export default payWithAuthorization;