import { Connection, PublicKey } from '@solana/web3.js';
import { RawMint } from '@solana/spl-token';
import { bx as TokenInfo, a8 as Numberish, c4 as Price, a7 as BigNumberish, b$ as TokenAmount, e as ApiV3Token } from '../../type-853b65da.js';
import { Token } from '../../module/token.js';
import 'bn.js';
import 'decimal.js';
import '../../common/logger.js';
import '../../module/currency.js';
import '../../marshmallow/index.js';
import '../../marshmallow/buffer-layout.js';
import '../../common/txTool/txType.js';
import '../../common/owner.js';
import '../../common/txTool/lookupTable.js';
import '../../common/pubKey.js';

declare function parseTokenPrice(params: {
    token: TokenInfo;
    numberPrice: Numberish;
    decimalDone?: boolean;
}): Price;
declare const parseTokenInfo: ({ connection, mint, }: {
    connection: Connection;
    mint: PublicKey | string;
}) => Promise<RawMint | undefined>;
declare const toTokenInfo: ({ mint, decimals, programId, logoURI, priority, }: {
    mint: PublicKey;
    decimals: number;
    programId?: string | PublicKey | undefined;
    priority?: number | undefined;
    logoURI?: string | undefined;
}) => TokenInfo;
declare const toToken: (props: Omit<TokenInfo, "priority">) => Token;
declare const toTokenAmount: ({ amount, isRaw, name, ...props }: Omit<TokenInfo, "priority"> & {
    amount: BigNumberish;
    isRaw?: boolean | undefined;
    name?: string | undefined;
}) => TokenAmount;
declare function solToWSolToken<T extends ApiV3Token | TokenInfo>(token: T): T;
declare function wSolToSolToken<T extends ApiV3Token | TokenInfo>(token: T): T;

export { parseTokenInfo, parseTokenPrice, solToWSolToken, toToken, toTokenAmount, toTokenInfo, wSolToSolToken };
