/**
 * 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 { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
import { type PositionRewardInfo, type PositionRewardInfoArgs } from '../types';
export declare const PERSONAL_POSITION_STATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
export declare function getPersonalPositionStateDiscriminatorBytes(): ReadonlyUint8Array;
export type PersonalPositionState = {
    discriminator: ReadonlyUint8Array;
    bump: number;
    nftMint: Address;
    poolId: Address;
    tickLowerIndex: number;
    tickUpperIndex: number;
    liquidity: bigint;
    feeGrowthInside0LastX64: bigint;
    feeGrowthInside1LastX64: bigint;
    tokenFeesOwed0: bigint;
    tokenFeesOwed1: bigint;
    rewardInfos: Array<PositionRewardInfo>;
    padding: Array<bigint>;
};
export type PersonalPositionStateArgs = {
    bump: number;
    nftMint: Address;
    poolId: Address;
    tickLowerIndex: number;
    tickUpperIndex: number;
    liquidity: number | bigint;
    feeGrowthInside0LastX64: number | bigint;
    feeGrowthInside1LastX64: number | bigint;
    tokenFeesOwed0: number | bigint;
    tokenFeesOwed1: number | bigint;
    rewardInfos: Array<PositionRewardInfoArgs>;
    padding: Array<number | bigint>;
};
/** Gets the encoder for {@link PersonalPositionStateArgs} account data. */
export declare function getPersonalPositionStateEncoder(): FixedSizeEncoder<PersonalPositionStateArgs>;
/** Gets the decoder for {@link PersonalPositionState} account data. */
export declare function getPersonalPositionStateDecoder(): FixedSizeDecoder<PersonalPositionState>;
/** Gets the codec for {@link PersonalPositionState} account data. */
export declare function getPersonalPositionStateCodec(): FixedSizeCodec<PersonalPositionStateArgs, PersonalPositionState>;
export declare function decodePersonalPositionState<TAddress extends string = string>(encodedAccount: EncodedAccount<TAddress>): Account<PersonalPositionState, TAddress>;
export declare function decodePersonalPositionState<TAddress extends string = string>(encodedAccount: MaybeEncodedAccount<TAddress>): MaybeAccount<PersonalPositionState, TAddress>;
export declare function fetchPersonalPositionState<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<Account<PersonalPositionState, TAddress>>;
export declare function fetchMaybePersonalPositionState<TAddress extends string = string>(rpc: Parameters<typeof fetchEncodedAccount>[0], address: Address<TAddress>, config?: FetchAccountConfig): Promise<MaybeAccount<PersonalPositionState, TAddress>>;
export declare function fetchAllPersonalPositionState(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<Account<PersonalPositionState>[]>;
export declare function fetchAllMaybePersonalPositionState(rpc: Parameters<typeof fetchEncodedAccounts>[0], addresses: Array<Address>, config?: FetchAccountsConfig): Promise<MaybeAccount<PersonalPositionState>[]>;
export declare function getPersonalPositionStateSize(): number;
//# sourceMappingURL=personalPositionState.d.ts.map