import { Address, IInstruction, TransactionSigner } from "@solana/kit";
import BN from "bn.js";
export interface SwapArgs {
    amount: BN;
    otherAmountThreshold: BN;
    sqrtPriceLimit: BN;
    amountSpecifiedIsInput: boolean;
    aToB: boolean;
}
export interface SwapAccounts {
    tokenProgram: Address;
    tokenAuthority: TransactionSigner;
    whirlpool: Address;
    tokenOwnerAccountA: Address;
    tokenVaultA: Address;
    tokenOwnerAccountB: Address;
    tokenVaultB: Address;
    tickArray0: Address;
    tickArray1: Address;
    tickArray2: Address;
    oracle: Address;
}
export declare const layout: import("buffer-layout").Layout<unknown>;
export declare function swap(args: SwapArgs, accounts: SwapAccounts, programAddress?: Address): IInstruction;
//# sourceMappingURL=swap.d.ts.map