/** * Modifications © 2025 Horizontal Systems. */ import { AssetValue, Chain, FeeOption, ProviderName, type SwapParams } from "@tcswap/helpers"; import { type InboundAddressesItem, type QuoteResponseRoute } from "@tcswap/helpers/api"; import type { SwapKitPluginParams } from "../types"; import type { AddLiquidityParams, AddLiquidityPartParams, CoreTxParams, CreateLiquidityParams, NodeActionParams, RegisterThornameParams, WithdrawParams } from "./types"; export declare const ThorchainPlugin: { thorchain: (pluginParams: SwapKitPluginParams) => { supportedUSwapProviders: readonly [ProviderName.THORCHAIN, ProviderName.THORCHAIN_STREAMING]; } & { addLiquidity: ({ baseAssetValue, assetValue, baseAssetAddr, assetAddr, isPendingSymmAsset, mode, }: AddLiquidityParams) => Promise<{ assetTx: string | undefined; baseAssetTx: string | undefined; }>; addLiquidityPart: ({ assetValue, poolAddress, address, symmetric }: AddLiquidityPartParams) => Promise; approveAssetValue: ({ assetValue }: { assetValue: AssetValue; }) => Promise>; claimTcy: ({ chain, thorAddress }: { chain: Chain; thorAddress: string; }) => Promise; createLiquidity: ({ baseAssetValue, assetValue }: CreateLiquidityParams) => Promise<{ assetTx: string | undefined; baseAssetTx: string | undefined; }>; deposit: ({ assetValue, recipient, router, ...rest }: CoreTxParams & { router?: string; }) => Promise; depositToPool: ({ assetValue, memo, feeOptionKey, }: { assetValue: AssetValue; memo: string; feeOptionKey?: FeeOption; }) => Promise; getInboundDataByChain: (chain: T) => Promise; isAssetValueApproved: ({ assetValue }: { assetValue: AssetValue; }) => Promise>; nodeAction: ({ type, assetValue, address }: NodeActionParams) => Promise; registerName: ({ assetValue, ...params }: RegisterThornameParams) => Promise; registerPreferredAsset: ({ assetValue, payoutAddress, name, ownerAddress, }: { assetValue: AssetValue; payoutAddress?: string; name: string; ownerAddress: string; }) => Promise; stakeTcyAction: (params: { type: "unstake"; unstakeBps: number; } | { type: "stake"; assetValue: AssetValue; }) => Promise; swap: ({ feeOptionKey, route }: SwapParams<"thorchain" | "mayachain", QuoteResponseRoute>) => Promise; withdraw: ({ memo, assetValue, percent, from, to }: WithdrawParams) => Promise; }; }; export declare const MayachainPlugin: { mayachain: (pluginParams: SwapKitPluginParams) => { supportedUSwapProviders: readonly [ProviderName.MAYACHAIN, ProviderName.MAYACHAIN_STREAMING]; } & { addLiquidity: ({ baseAssetValue, assetValue, baseAssetAddr, assetAddr, isPendingSymmAsset, mode, }: AddLiquidityParams) => Promise<{ assetTx: string | undefined; baseAssetTx: string | undefined; }>; addLiquidityPart: ({ assetValue, poolAddress, address, symmetric }: AddLiquidityPartParams) => Promise; approveAssetValue: ({ assetValue }: { assetValue: AssetValue; }) => Promise>; claimTcy: ({ chain, thorAddress }: { chain: Chain; thorAddress: string; }) => Promise; createLiquidity: ({ baseAssetValue, assetValue }: CreateLiquidityParams) => Promise<{ assetTx: string | undefined; baseAssetTx: string | undefined; }>; deposit: ({ assetValue, recipient, router, ...rest }: CoreTxParams & { router?: string; }) => Promise; depositToPool: ({ assetValue, memo, feeOptionKey, }: { assetValue: AssetValue; memo: string; feeOptionKey?: FeeOption; }) => Promise; getInboundDataByChain: (chain: T) => Promise; isAssetValueApproved: ({ assetValue }: { assetValue: AssetValue; }) => Promise>; nodeAction: ({ type, assetValue, address }: NodeActionParams) => Promise; registerName: ({ assetValue, ...params }: RegisterThornameParams) => Promise; registerPreferredAsset: ({ assetValue, payoutAddress, name, ownerAddress, }: { assetValue: AssetValue; payoutAddress?: string; name: string; ownerAddress: string; }) => Promise; stakeTcyAction: (params: { type: "unstake"; unstakeBps: number; } | { type: "stake"; assetValue: AssetValue; }) => Promise; swap: ({ feeOptionKey, route }: SwapParams<"thorchain" | "mayachain", QuoteResponseRoute>) => Promise; withdraw: ({ memo, assetValue, percent, from, to }: WithdrawParams) => Promise; }; }; //# sourceMappingURL=plugin.d.ts.map