import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Meter, Meter$Outbound } from "./meter.js"; /** * Current consumption and spending for a subscription meter. */ export type SubscriptionMeter = { /** * Creation timestamp of the object. */ createdAt: Date; /** * Last modification timestamp of the object. */ modifiedAt: Date | null; /** * The ID of the object. */ id: string; /** * The number of consumed units so far in this billing period. */ consumedUnits: number; /** * The number of credited units so far in this billing period. */ creditedUnits: number; /** * The amount due in cents so far in this billing period. */ amount: number; /** * The ID of the meter. */ meterId: string; meter: Meter; }; /** @internal */ export declare const SubscriptionMeter$inboundSchema: z.ZodMiniType; /** @internal */ export type SubscriptionMeter$Outbound = { created_at: string; modified_at: string | null; id: string; consumed_units: number; credited_units: number; amount: number; meter_id: string; meter: Meter$Outbound; }; /** @internal */ export declare const SubscriptionMeter$outboundSchema: z.ZodMiniType; export declare function subscriptionMeterToJSON(subscriptionMeter: SubscriptionMeter): string; export declare function subscriptionMeterFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=subscriptionmeter.d.ts.map