import { Transaction, TransactionArgument, TransactionObjectInput } from '@mysten/sui/transactions'; export interface FieldsWithTypes { fields: Record; type: string; } export type ObjectId = string; export type PureArg = bigint | string | number | boolean | null | TransactionArgument | Array; export type GenericArg = TransactionObjectInput | PureArg | Array | Array | Array; export declare function splitGenericParameters(str: string, genericSeparators?: [string, string]): string[]; export declare function parseTypeName(name: string): { typeName: string; typeArgs: string[]; }; export declare function isTransactionArgument(arg: GenericArg): arg is TransactionArgument; export declare function obj(tx: Transaction, arg: TransactionObjectInput): TransactionArgument; export declare function pure(tx: Transaction, arg: PureArg, type: string): TransactionArgument; export declare function option(tx: Transaction, type: string, arg: GenericArg | null): TransactionArgument; export declare function generic(tx: Transaction, type: string, arg: GenericArg): TransactionArgument; export declare function vector(tx: Transaction, itemType: string, items: Array | TransactionArgument): TransactionArgument; export declare function typeArgIsPure(type: string): boolean; export declare function compressSuiAddress(addr: string): string; export declare function compressSuiType(type: string): string; export declare function composeSuiType(typeName: string, ...typeArgs: string[]): string;