import { FixedSizeCodec, FixedSizeDecoder, FixedSizeEncoder } from "@solana/kit"; //#region src/generated/types/fee.d.ts /** * Fee rate as a ratio, minted on `UpdateStakePoolBalance` as a proportion of * the rewards * If either the numerator or the denominator is 0, the fee is considered to be * 0 */ export type Fee = { /** denominator of the fee ratio */ denominator: bigint; /** numerator of the fee ratio */ numerator: bigint; }; export type FeeArgs = { /** denominator of the fee ratio */ denominator: number | bigint; /** numerator of the fee ratio */ numerator: number | bigint; }; export declare function getFeeEncoder(): FixedSizeEncoder; export declare function getFeeDecoder(): FixedSizeDecoder; export declare function getFeeCodec(): FixedSizeCodec; //#endregion //# sourceMappingURL=fee.d.ts.map