import { PublicKey } from '@solana/web3.js';

/**
 * Bit positions inside a launchpad pool's `mintProgramFlag`.
 *
 * The field is a bitfield, not a boolean: bit0 describes mintA and bit1 describes mintB, each
 * holding 0 for the legacy SPL Token program and 1 for Token-2022. Quote mints were legacy only
 * until token2022 quote support landed, so bit1 used to be constant 0.
 */
declare enum LaunchpadMintProgramBit {
    MintA = 0,
    MintB = 1
}
declare function getLaunchpadPoolMintProgram(mintProgramFlag: number, bit: LaunchpadMintProgramBit): PublicKey;
declare function getLaunchpadPoolMintAProgram(mintProgramFlag: number): PublicKey;
declare function getLaunchpadPoolMintBProgram(mintProgramFlag: number): PublicKey;
/** The reverse, for pool info the sdk predicts locally instead of reading from chain */
declare function toLaunchpadMintProgramFlag({ mintAProgram, mintBProgram, }: {
    mintAProgram: PublicKey;
    mintBProgram: PublicKey;
}): number;

export { LaunchpadMintProgramBit, getLaunchpadPoolMintAProgram, getLaunchpadPoolMintBProgram, getLaunchpadPoolMintProgram, toLaunchpadMintProgramFlag };
