///
import { PublicKey, TransactionInstruction } from '@solana/web3.js';
import { WhirlpoolStrategy } from '../kamino-client/accounts';
import Decimal from 'decimal.js';
import { RebalanceTypeKind, StrategyConfigOptionKind } from '../kamino-client/types';
import { RebalanceFieldInfo, RebalanceFieldsDict } from './types';
import BN from 'bn.js';
export declare const DolarBasedMintingMethod: Decimal;
export declare const ProportionalMintingMethod: Decimal;
export declare const RebalanceParamOffset: Decimal;
export declare function sleep(ms: number): Promise;
export declare const Dex: readonly ["ORCA", "RAYDIUM", "CREMA"];
export type Dex = (typeof Dex)[number];
export declare function dexToNumber(dex: Dex): number;
export declare function numberToDex(num: number): Dex;
export declare function getDexProgramId(strategyState: WhirlpoolStrategy): PublicKey;
export declare function getStrategyConfigValue(value: Decimal): number[];
export declare function buildStrategyRebalanceParams(params: Array, rebalance_type: RebalanceTypeKind, tokenADecimals?: number, tokenBDecimals?: number): number[];
export declare function numberToRebalanceType(rebalance_type: number): RebalanceTypeKind;
export declare function getUpdateStrategyConfigIx(signer: PublicKey, globalConfig: PublicKey, strategy: PublicKey, mode: StrategyConfigOptionKind, amount: Decimal, newAccount?: PublicKey): Promise;
export declare function collToLamportsDecimal(amount: Decimal, decimals: number): Decimal;
export declare function lamportsToNumberDecimal(amount: Decimal.Value, decimals: number): Decimal;
export declare function readBigUint128LE(buffer: Buffer, offset: number): bigint;
export declare function rebalanceFieldsDictToInfo(rebalanceFields: RebalanceFieldsDict): RebalanceFieldInfo[];
export declare function isVaultInitialized(vault: PublicKey, decimals: BN): boolean;