import * as z from "zod/v4-mini";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { DiscountDuration } from "./discountduration.js";
import { DiscountType } from "./discounttype.js";
/**
 * Schema for a fixed amount discount that is applied on every invoice
 *
 * @remarks
 * for a certain number of months.
 */
export type CheckoutDiscountFixedRepeatDuration = {
    duration: DiscountDuration;
    durationInMonths: number;
    type: DiscountType;
    /**
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    amount: number;
    /**
     * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
     */
    currency: string;
    /**
     * Map of currency to fixed amount to discount from the total.
     */
    amounts: {
        [k: string]: number;
    };
    /**
     * The ID of the object.
     */
    id: string;
    name: string;
    code: string | null;
};
/** @internal */
export declare const CheckoutDiscountFixedRepeatDuration$inboundSchema: z.ZodMiniType<CheckoutDiscountFixedRepeatDuration, unknown>;
/** @internal */
export type CheckoutDiscountFixedRepeatDuration$Outbound = {
    duration: string;
    duration_in_months: number;
    type: string;
    amount: number;
    currency: string;
    amounts: {
        [k: string]: number;
    };
    id: string;
    name: string;
    code: string | null;
};
/** @internal */
export declare const CheckoutDiscountFixedRepeatDuration$outboundSchema: z.ZodMiniType<CheckoutDiscountFixedRepeatDuration$Outbound, CheckoutDiscountFixedRepeatDuration>;
export declare function checkoutDiscountFixedRepeatDurationToJSON(checkoutDiscountFixedRepeatDuration: CheckoutDiscountFixedRepeatDuration): string;
export declare function checkoutDiscountFixedRepeatDurationFromJSON(jsonString: string): SafeParseResult<CheckoutDiscountFixedRepeatDuration, SDKValidationError>;
//# sourceMappingURL=checkoutdiscountfixedrepeatduration.d.ts.map