import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { BillingPeriod } from "./billing-period.js"; import { CommitmentType } from "./commitment-type.js"; import { SDKValidationError } from "./sdk-validation-error.js"; export type CommitmentInfo = { amount?: string | undefined; computedCommitmentUtilizedAmount?: string | undefined; computedOverageAmount?: string | undefined; /** * total_cost = computed_commitment_utilized_amount + computed_overage_amount + computed_true_up_amount */ computedTrueUpAmount?: string | undefined; duration?: BillingPeriod | undefined; isWindowed?: boolean | undefined; overageFactor?: string | undefined; /** * Only used for quantity-based commitments */ quantity?: string | undefined; trueUpEnabled?: boolean | undefined; type?: CommitmentType | undefined; }; /** @internal */ export declare const CommitmentInfo$inboundSchema: z.ZodMiniType; /** @internal */ export type CommitmentInfo$Outbound = { amount?: string | undefined; computed_commitment_utilized_amount?: string | undefined; computed_overage_amount?: string | undefined; computed_true_up_amount?: string | undefined; duration?: string | undefined; is_windowed?: boolean | undefined; overage_factor?: string | undefined; quantity?: string | undefined; true_up_enabled?: boolean | undefined; type?: string | undefined; }; /** @internal */ export declare const CommitmentInfo$outboundSchema: z.ZodMiniType; export declare function commitmentInfoToJSON(commitmentInfo: CommitmentInfo): string; export declare function commitmentInfoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=commitment-info.d.ts.map