import type { StacksProvider } from '@stacks/connect'; import { type ActionFunctionArgs, type CancelGroupOrderResponse, type CancelOrderResponse, type CreateGroupOrderParams, type CreateGroupOrderResponse, type CreateOrderParams, type CreateOrderResponse, type GetGroupOrderResponse, type GetKeeperContractParams, type GetKeeperContractResponse, type GetOrderResponse, type GetQuoteParams, type GetQuoteResponse, type GetUserResponse } from './keeper/types'; import { type BitflowSDKConfig, type QuoteResult, type SelectedSwapRoute, type SwapDataParamsAndPostConditions, type SwapExecutionData, type SwapOptions, type Token } from './types'; export declare const safeStringify: (obj: any, indent?: number) => string; export declare class BitflowSDK { private context; private stacksProvider; constructor(config?: Partial); private loadConnectDependencies; private initializeContext; getAvailableTokens(): Promise; getKeeperTokens(): Promise; getPossibleSwaps(tokenX: string): Promise; getKeeperPossibleSwaps(tokenX: string): Promise; getAllPossibleTokenY(tokenX: string): Promise; getAllKeeperPossibleTokenY(tokenX: string): Promise; getAllPossibleTokenYRoutes(tokenX: string, tokenY: string): Promise; getAllKeeperPossibleTokenYRoutes(tokenX: string, tokenY: string): Promise; getQuoteForRoute(tokenX: string, tokenY: string, amountInput: number): Promise; getKeeperQuoteForRoute(tokenX: string, tokenY: string, amountInput: number): Promise; getKeeperQuoteForRouteWithoutScaling(tokenX: string, tokenY: string, amountInput: number): Promise; getSwapParams(swapExecutionData: SwapExecutionData, senderAddress: string, slippageTolerance?: number): Promise; executeSwap(swapExecutionData: SwapExecutionData, senderAddress: string, slippageTolerance?: number, stacksProvider?: StacksProvider, onFinish?: (data: any) => void, onCancel?: () => void): Promise; prepareSwap(swapExecutionData: SwapExecutionData, senderAddress: string, slippageTolerance?: number): Promise; getOrCreateKeeperContract(params: GetKeeperContractParams): Promise; getOrder(orderId: string): Promise; getUser(stacksAddress: string): Promise; createOrder(params: CreateOrderParams): Promise; getQuote(params: GetQuoteParams): Promise; private transformRouteToActionArgs; private mapDexPathToActionTrait; getKeeperAggregatorRouteData(tokenX: string, tokenY: string, amountX: number): Promise; createGroupOrder(params: CreateGroupOrderParams): Promise; getGroupOrder(groupId: string, includeOrders?: boolean): Promise; cancelOrder(orderId: string): Promise; cancelGroupOrder(groupId: string): Promise; }