import { PublicKey } from "@solana/web3.js"; import Decimal from "decimal.js"; import { TokenSwap } from "../src"; export declare const DEFAULT_SWAP_PROGRAM_ID = "6MLxLqiXaaSUpkgMnWDTuejNZEz3kE7k2woyHGVFw319"; export declare function swapProgramId(): PublicKey; export declare function loadSwapPair(pairKey: PublicKey): Promise; export declare function pairName(mintA: PublicKey, mintB: PublicKey): string; export interface FetchSwapPairOpt { positions: boolean; ticks: boolean; format: string; } export interface SwapPairConfig { tokenAMint: PublicKey; tokenBMint: PublicKey; manager: PublicKey; fee: Decimal; managerFee: Decimal; tickSpace: number; tickAccountSize: number; initializePrice: Decimal; } export declare function fetchSwapPairs(): Promise; export declare function fetchSwapPair(pairKey: PublicKey, opt?: { positions: boolean; ticks: boolean; format: string; }): Promise; export declare function createSwapPairTemplate(outpath: string): void; export declare function createSwapPairByConfig(configPath: string): Promise; export declare function createSwapPairByPrompt(): Promise; export declare function swapPairPositions(swapPair: TokenSwap): any[]; //# sourceMappingURL=pair.d.ts.map