import type { AnchorDefined, AnchorTypes } from "@saberhq/anchor-contrib"; import type { PublicKey } from "@solana/web3.js"; import type Decimal from "decimal.js"; import type { CremaPositionWrapperIDL } from "../idls/crema_position_wrapper"; export * from "../idls/crema_position_wrapper"; export declare type PositionWrapperTypes = AnchorTypes; declare type Accounts = PositionWrapperTypes["Accounts"]; export declare type PositionWrapperData = Accounts["PositionWrapper"]; export declare type PositionData = Accounts["Position"]; export declare type PositionWrapperError = PositionWrapperTypes["Error"]; export declare type PositionWrapperProgram = PositionWrapperTypes["Program"]; export declare type PositionWrapperDefs = AnchorDefined; export interface PositionWrapperInfo extends PositionWrapperData { address: PublicKey; } export interface PositionWrapperDetail extends PositionWrapperInfo { totalTVL: Decimal; totalAmountA: Decimal; totalAmountB: Decimal; effectiveLiquity: Decimal; } export declare const POSITION_ACCOUNT_SIZE = 306; export declare const WRAPPER_ACCOUNT_SIZE = 313; export declare const PositionWrapperErrors: Map; //# sourceMappingURL=positionWrapper.d.ts.map