import BN from 'bn.js'; import type { ProductType } from './sdk'; import type { Program, Idl } from '@coral-xyz/anchor'; import type { PublicKey } from '@solana/web3.js'; export declare function anchorProgramWalletPubkey(program: Program): PublicKey; export declare function checkAndGetBondAddress({ bond, config, voteAccount, programId, }: { bond: PublicKey | undefined; config: PublicKey | undefined; voteAccount: PublicKey | undefined; programId?: PublicKey; }): PublicKey; export declare function checkAndGetBondProductAddress({ bondProduct, config, bond, voteAccount, productType, programId, }: { bondProduct: PublicKey | undefined; config: PublicKey | undefined; bond: PublicKey | undefined; voteAccount: PublicKey | undefined; productType: ProductType | undefined; programId?: PublicKey; }): PublicKey; export declare function toBNPreserve(value: number | string | bigint | BN | null): BN | null; export declare function toBNPreserve(value: number | string | bigint | BN | null | undefined): BN | null | undefined; export declare function toBNPreserve(value: number | string | bigint | BN | undefined): BN | undefined; export declare function toBNPreserve(value: number | string | bigint | BN): BN; //# sourceMappingURL=utils.d.ts.map