/** * 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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from "@solana/kit"; export type PnlAndFee = { hasProfit: boolean; pnlDelta: bigint; openPositionFeeUsd: bigint; closePositionFeeUsd: bigint; fundingFeeUsd: bigint; liquidationPrice: bigint; }; export type PnlAndFeeArgs = { hasProfit: boolean; pnlDelta: number | bigint; openPositionFeeUsd: number | bigint; closePositionFeeUsd: number | bigint; fundingFeeUsd: number | bigint; liquidationPrice: number | bigint; }; export declare function getPnlAndFeeEncoder(): FixedSizeEncoder; export declare function getPnlAndFeeDecoder(): FixedSizeDecoder; export declare function getPnlAndFeeCodec(): FixedSizeCodec; //# sourceMappingURL=pnlAndFee.d.ts.map