import { SuiGrpcClient } from "@mysten/sui/grpc"; import { SuiGraphQLClient } from "@mysten/sui/graphql"; import { SuiClientTypes } from "@mysten/sui/client"; import { Transaction, TransactionObjectArgument } from "@mysten/sui/transactions"; import BigNumber from "bignumber.js"; import { Token } from "./coinMetadata"; export type GraphQLTransaction = { digest: string; expiration?: { epochId: number; } | null; signatures?: string[]; sender?: { address: string; }; }; export declare const getTotalGasFee: (res: SuiClientTypes.Transaction<{ effects: true; balanceChanges: true; }>) => BigNumber; export declare const getBalanceChange: (res: SuiClientTypes.Transaction<{ effects: true; balanceChanges: true; }>, address: string, token: Token, multiplier?: -1 | 1) => BigNumber | undefined; export declare const getAllOwnedObjects: (suiGrpcClient: SuiGrpcClient, address: string, type?: string) => Promise[]>; export declare const getAllCoins: (suiGrpcClient: SuiGrpcClient, address: string, coinType: string) => Promise; export declare const getMostRecentAddressTransaction: (suiGraphQLClient: SuiGraphQLClient, address: string, direction: "from" | "to") => Promise; export declare const mergeAllCoins: (coinType: string, transaction: Transaction, allCoins: SuiClientTypes.Coin[]) => SuiClientTypes.Coin; export declare const getSpendableCoin: (suiGrpcClient: SuiGrpcClient, address: string, coinType: string, value: string, transaction: Transaction, mergeCoins?: boolean) => Promise;