import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "./sdk-validation-error.js"; export type ProrationDetails = { /** * charge_amount is the charge amount for the new subscription */ chargeAmount?: string | undefined; /** * charge_description describes what the charge is for */ chargeDescription?: string | undefined; /** * credit_amount is the credit amount from the old subscription */ creditAmount?: string | undefined; /** * credit_description describes what the credit is for */ creditDescription?: string | undefined; /** * currency is the currency for all amounts */ currency?: string | undefined; /** * current_period_end is the end of the current billing period */ currentPeriodEnd?: Date | undefined; /** * current_period_start is the start of the current billing period */ currentPeriodStart?: Date | undefined; /** * days_remaining is the number of days remaining in the current period */ daysRemaining?: number | undefined; /** * days_used is the number of days used in the current period */ daysUsed?: number | undefined; /** * net_amount is the net amount (charge - credit) */ netAmount?: string | undefined; /** * proration_date is the date used for proration calculations */ prorationDate?: Date | undefined; }; /** @internal */ export declare const ProrationDetails$inboundSchema: z.ZodMiniType; export declare function prorationDetailsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=proration-details.d.ts.map