import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AmountDecimal, AmountDecimal$Outbound } from "./amountdecimal.js"; /** * Defines the volume ranges for tiered pricing models. */ export type VolumeRange = { /** * Specifies the lower value of a tier for the fee. */ fromValue: number; /** * Specifies the upper value of a tier for the fee. */ toValue?: number | undefined; /** * The flat amount for a whole tier of the fee. */ flatAmount: AmountDecimal; /** * The unit price for a specific tier of the fee. */ perUnitAmount: AmountDecimal; }; /** @internal */ export declare const VolumeRange$inboundSchema: z.ZodType; /** @internal */ export type VolumeRange$Outbound = { fromValue: number; toValue?: number | undefined; flatAmount: AmountDecimal$Outbound; perUnitAmount: AmountDecimal$Outbound; }; /** @internal */ export declare const VolumeRange$outboundSchema: z.ZodType; export declare function volumeRangeToJSON(volumeRange: VolumeRange): string; export declare function volumeRangeFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=volumerange.d.ts.map