///
import type { AccountInfo, PublicKey } from "@solana/web3.js";
import type Decimal from "decimal.js";
import type { Parser } from "./util/layout";
export interface TokenSwapAccount {
accountType: number;
tokenSwapKey: PublicKey;
version: number;
isInitialized: number;
nonce: number;
tokenProgramId: PublicKey;
manager: PublicKey;
managerTokenA: PublicKey;
managerTokenB: PublicKey;
swapTokenA: PublicKey;
swapTokenB: PublicKey;
tokenAMint: PublicKey;
tokenBMint: PublicKey;
ticksKey: PublicKey;
positionsKey: PublicKey;
curveType: number;
fee: Decimal;
managerFee: Decimal;
tickSpace: number;
currentSqrtPrice: Decimal;
currentLiquity: Decimal;
feeGrowthGlobal0: Decimal;
feeGrowthGlobal1: Decimal;
managerFeeA: Decimal;
managerFeeB: Decimal;
}
export declare const TokenSwapAccountLayout: import("@solana/buffer-layout").Structure;
export interface CremaSwap extends TokenSwapAccount {
authority: PublicKey;
}
export declare const TOKEN_SWAP_ACCOUNT_SIZE: number;
export declare const isTokenSwapAccount: (info: AccountInfo) => boolean;
export declare const parseTokenSwapAccount: Parser;
//# sourceMappingURL=tokenSwap.d.ts.map