import { BCS, HexString, TxnBuilderTypes } from "aptos"; export declare function splitModuleComponents(s: string): [HexString, string]; export declare function splitResourceComponents(s: string): [HexString, string, string]; export declare function splitFunctionComponents(s: string): [HexString, string, string]; /** * Return the short hex string representation of the input value. * If the hex is greater than 15, the result will be first 8 and last 5 of * the input hex. * * @param val: Input hex */ export declare function formatHexToShort(val: HexString | string): string; export declare function formatAddress(s: HexString | string): HexString; export declare function typeTagStructFromName(name: string): TxnBuilderTypes.TypeTagStruct; export declare function secToDate(sec: BCS.Uint64): Date; export declare const convertIPFSLink: (ipfsLink: string) => string; export declare const isIPFSLink: (link: string) => boolean;