/** * @description Pool configuration layout * * @example https://solscan.io/account/EdPxg8QaeFSrTYqdWJn6Kezwy9McWncTYueD9eMGCuzR#anchorData */ export declare const AmmConfigLayout: import("./libs/marshmallow/index.js").Structure, "", { bump: number; index: number; owner: import("@solana/web3.js").PublicKey; protocolFeeRate: number; tradeFeeRate: number; tickSpacing: number; fundFeeRate: number; padding: number; fundOwner: import("@solana/web3.js").PublicKey; }>; export type IAmmConfigLayout = ReturnType; /** * @description Observation account layout * * @example https://solscan.io/account/AA5RaVvyGyZgtmAsJJHT5ZVBxVPtAXuYaMwfgeFJW4Mk#anchorData */ export declare const ObservationLayout: import("./libs/marshmallow/index.js").Structure; export type IObservationLayout = ReturnType; /** * @description Pool information layout * * @example https://solscan.io/account/CYbD9RaToYMtWKA7QZyoLahnHdWq553Vm62Lh6qWtuxq#anchorData */ export declare const PoolLayout: import("./libs/marshmallow/index.js").Structure; export type IPoolLayout = ReturnType; /** * @description Personal position information layout * * @example https://solscan.io/account/CLYRosA3oGsx6WjuebDYmEL3kukTCSsncmYU6at8nDsn#anchorData */ export declare const PersonalPositionLayout: import("./libs/marshmallow/index.js").Structure; export type IPersonalPositionLayout = ReturnType; /** * @description Protocol position information layout, used to track liquidity within specific price ranges * * @example https://solscan.io/account/38GUhmh7vPyWStAV3YKEEYPHrLk2Mnw5jvaUQkMGS1hb#anchorData */ export declare const ProtocolPositionLayout: import("./libs/marshmallow/index.js").Structure; /** * @description Price tick array layout * * @example https://solscan.io/account/4vGLPwfohNUd2o4NwZPMx7q8AH98DQ9Eth5tS1p8dew1#anchorData */ /** * @description TickState layout (168 bytes) */ export declare const TickStateLayout: import("./libs/marshmallow/index.js").Structure; export type ITickStateLayout = ReturnType; export declare const TickArrayLayout: import("./libs/marshmallow/index.js").Structure | { tick: number; liquidityNet: BN; liquidityGross: BN; feeGrowthOutsideX64A: BN; feeGrowthOutsideX64B: BN; rewardGrowthsOutsideX64: BN[]; }[], "", { poolId: import("@solana/web3.js").PublicKey; startTickIndex: number; ticks: { tick: number; liquidityNet: BN; liquidityGross: BN; feeGrowthOutsideX64A: BN; feeGrowthOutsideX64B: BN; rewardGrowthsOutsideX64: BN[]; }[]; initializedTickCount: number; }>; export type ITickArrayLayout = ReturnType; /** * @description Dynamic Tick Array layout * * Dynamic tick arrays use a sparse storage model with a mapping table (tick_offset_index) * to track which logical tick positions have allocated TickStates. * This allows for more efficient memory usage compared to fixed tick arrays. * * Struct size: 208 bytes (32+4+4+60+1+1+2+8+96) * Header size: 216 bytes (8 discriminator + 208 struct) * Followed by dynamic number of TickStates (max 60, each 168 bytes) */ export declare const DynTickArrayLayout: import("./libs/marshmallow/index.js").Structure; padding2: Buffer; startTickIndex: number; initializedTickCount: number; padding0: Buffer; tickOffsetIndex: number[]; allocTickCount: number; }>; export type IDynTickArrayLayout = ReturnType; /** * @description Price tick array bitmap extension layout * * @example https://solscan.io/account/DoPuiZfJu7sypqwR4eiU7C5TMcmmiFoU4HaF5SoD8mRy#anchorData */ export declare const TickArrayBitmapExtensionLayout: import("./libs/marshmallow/index.js").Structure | BN[][], "", { poolId: import("@solana/web3.js").PublicKey; positiveTickArrayBitmap: BN[][]; negativeTickArrayBitmap: BN[][]; }>; export declare const SPLTokenAccountLayout: import("./libs/marshmallow/index.js").Structure; //# sourceMappingURL=layout.d.ts.map