export declare type ChainToken = { chainId: number; token: string; }; export declare type Ticker = { originToken: ChainToken; destToken: ChainToken; }; /** * Marshalls a ChainToken object into a string. Follows the format of "chainId:token". * * @param chainToken - The ChainToken object to marshall. * @returns The marshalled string. */ export declare const marshallChainToken: (chainToken: ChainToken) => string; /** * Unmarshalls a string into a ChainToken object. Follows the format of "chainId:token". * * @param chainTokenStr - The string to unmarshall. * @returns The unmarshalled ChainToken object. * @throws Will throw an error if the string is not in the correct format. */ export declare const unmarshallChainToken: (chainTokenStr: string) => ChainToken; /** * Marshalls a Ticker object into a string. Follows the format of "originChainId:originToken-destChainId:destToken". * * @param ticker - The Ticker object to marshall. * @returns The marshalled string. */ export declare const marshallTicker: (ticker: Ticker) => string; /** * Unmarshalls a string into a Ticker object. Follows the format of "originChainId:originToken-destChainId:destToken". * * @param tickerStr - The string to unmarshall. * @returns The unmarshalled Ticker object. * @throws Will throw an error if the string is not in the correct format. */ export declare const unmarshallTicker: (tickerStr: string) => Ticker;