/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import type { Account, Address, EncodedAccount, FetchAccountConfig, FetchAccountsConfig, FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder, MaybeAccount, MaybeEncodedAccount, ReadonlyUint8Array } from "@solana/kit"; import { fetchEncodedAccount, fetchEncodedAccounts } from "@solana/kit"; export declare const POSITION_BUNDLE_DISCRIMINATOR: ReadonlyUint8Array; export declare function getPositionBundleDiscriminatorBytes(): ReadonlyUint8Array; export interface PositionBundle { discriminator: ReadonlyUint8Array; positionBundleMint: Address; positionBitmap: number[]; } export interface PositionBundleArgs { positionBundleMint: Address; positionBitmap: number[]; } /** Gets the encoder for {@link PositionBundleArgs} account data. */ export declare function getPositionBundleEncoder(): FixedSizeEncoder; /** Gets the decoder for {@link PositionBundle} account data. */ export declare function getPositionBundleDecoder(): FixedSizeDecoder; /** Gets the codec for {@link PositionBundle} account data. */ export declare function getPositionBundleCodec(): FixedSizeCodec; export declare function decodePositionBundle(encodedAccount: EncodedAccount): Account; export declare function decodePositionBundle(encodedAccount: MaybeEncodedAccount): MaybeAccount; export declare function fetchPositionBundle(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchMaybePositionBundle(rpc: Parameters[0], address: Address, config?: FetchAccountConfig): Promise>; export declare function fetchAllPositionBundle(rpc: Parameters[0], addresses: Address[], config?: FetchAccountsConfig): Promise[]>; export declare function fetchAllMaybePositionBundle(rpc: Parameters[0], addresses: Address[], config?: FetchAccountsConfig): Promise[]>; //# sourceMappingURL=positionBundle.d.ts.map