import { Token } from "@0xsquid/squid-types"; import { TrustLineAsset } from "../../core/types/tokens"; import { XrplNetwork, XrplPaymentTx, XrplTrustSetTx } from "../../core/types/xrpl"; /** * Validates that a given address is a valid XRPL address. * * There are two types of address in XRPL: * - X-address (e.g XVfC9...pokKH) * - Classic address (e.g r4bA...WHCG) */ export declare function isXrplAddressValid(address: string | undefined): boolean; export declare function buildXrplTrustSetTx({ amount, sourceAddress, token, }: { amount: string; sourceAddress: string; token: Token; }): XrplTrustSetTx; export declare function getXrplNetwork(chainId: string): XrplNetwork | null; export declare function parseXrplPaymentTx(data: unknown): XrplPaymentTx | null; export declare function parseXrplTokenAddress(address: string): TrustLineAsset | null;