import * as v from "valibot"; //#region src/services/fees/fees.schemas.d.ts declare const GetSpotFeeRatesInputSchema: v.SchemaWithPipe, v.IntegerAction, v.GtValueAction, v.MaxValueAction]>, undefined>, v.TransformAction, v.MaxLengthAction]>, readonly []>; readonly account: v.OptionalSchema, v.StrictObjectSchema<{ readonly subaccountId: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; }, undefined>], undefined>, undefined>; }, undefined>, v.TransformAction<{ symbolIds: number[]; account?: "active" | "main" | { subaccountId: string; } | undefined; }, { subaccountId: bigint | undefined; symbolId: number[]; }>]>; type GetSpotFeeRatesInput = v.InferInput; declare const SpotFeeDiscountSchema: v.ObjectSchema<{ readonly makerDiscountPercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly takerDiscountPercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; /** False when the discount applies to selected markets, this one included. */ readonly allMarkets: v.BooleanSchema; readonly effectiveFrom: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; /** Unix ms, exclusive; undefined when the discount has no scheduled end. */ readonly effectiveTo: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>; type SpotFeeDiscount = v.InferOutput; /** * Components of one market's effective rates. Applying the tier rate, then * `marketMultiplier`, then the highest of `accountDiscounts`, then * `referralDiscount`, in integer arithmetic, reproduces the effective rates. */ declare const SpotFeeRateBreakdownSchema: v.ObjectSchema<{ readonly tierMakerFeeRatePercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly tierTakerFeeRatePercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly marketMultiplier: v.OptionalSchema, v.TrimAction, v.MinLengthAction]>; readonly takerMultiplierPercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly effectiveFrom: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly effectiveTo: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, undefined>; readonly accountDiscounts: v.ArraySchema, v.TrimAction, v.MinLengthAction]>; readonly takerDiscountPercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; /** False when the discount applies to selected markets, this one included. */ readonly allMarkets: v.BooleanSchema; readonly effectiveFrom: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; /** Unix ms, exclusive; undefined when the discount has no scheduled end. */ readonly effectiveTo: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, undefined>; readonly referralDiscount: v.OptionalSchema, v.TrimAction, v.MinLengthAction]>; readonly takerDiscountPercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; /** False when the discount applies to selected markets, this one included. */ readonly allMarkets: v.BooleanSchema; readonly effectiveFrom: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; /** Unix ms, exclusive; undefined when the discount has no scheduled end. */ readonly effectiveTo: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, undefined>; }, undefined>; type SpotFeeRateBreakdown = v.InferOutput; declare const SpotFeeRateSchema: v.ObjectSchema<{ readonly symbolId: v.NumberSchema; readonly makerFeeRatePercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly takerFeeRatePercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly vipTier: v.SchemaWithPipe, v.IntegerAction, v.MinValueAction]>; /** * Rate a new order reserves its quote-asset fee at; size buy orders by it. * At least the effective rates, and discounts never lower it. */ readonly reserveFeeRatePercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; /** Rate a new post-only limit order reserves its quote-asset fee at. */ readonly postOnlyReserveFeeRatePercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly breakdown: v.ObjectSchema<{ readonly tierMakerFeeRatePercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly tierTakerFeeRatePercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly marketMultiplier: v.OptionalSchema, v.TrimAction, v.MinLengthAction]>; readonly takerMultiplierPercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; readonly effectiveFrom: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly effectiveTo: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, undefined>; readonly accountDiscounts: v.ArraySchema, v.TrimAction, v.MinLengthAction]>; readonly takerDiscountPercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; /** False when the discount applies to selected markets, this one included. */ readonly allMarkets: v.BooleanSchema; readonly effectiveFrom: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; /** Unix ms, exclusive; undefined when the discount has no scheduled end. */ readonly effectiveTo: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, undefined>; readonly referralDiscount: v.OptionalSchema, v.TrimAction, v.MinLengthAction]>; readonly takerDiscountPercent: v.SchemaWithPipe, v.TrimAction, v.MinLengthAction]>; /** False when the discount applies to selected markets, this one included. */ readonly allMarkets: v.BooleanSchema; readonly effectiveFrom: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; /** Unix ms, exclusive; undefined when the discount has no scheduled end. */ readonly effectiveTo: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>, undefined>; }, undefined>; /** Unix ms of the earliest scheduled change to a rate component; undefined when none. */ readonly nextChangeAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; }, undefined>; type SpotFeeRate = v.InferOutput; //#endregion export { GetSpotFeeRatesInput, GetSpotFeeRatesInputSchema, SpotFeeDiscount, SpotFeeRate, SpotFeeRateBreakdown, SpotFeeRateSchema }; //# sourceMappingURL=fees.schemas.d.ts.map