import { z } from 'zod'; /** One rate-limit record. `capUntil` is epoch ms, or null for an indefinite cap. */ export declare const CapRecordSchema: z.ZodObject<{ account: z.ZodString; capUntil: z.ZodNullable; reason: z.ZodString; at: z.ZodNumber; /** * The model this limit applies to, when only one model is out (for example * Fable's weekly window). Absent means the whole account is out. * * This distinction is the difference between "you cannot work" and "you cannot * work on this model", and getting it wrong stops you from starting a session * on a model that is perfectly available. */ model: z.ZodOptional; }, "strip", z.ZodTypeAny, { at: number; account: string; capUntil: number | null; reason: string; model?: string | undefined; }, { at: number; account: string; capUntil: number | null; reason: string; model?: string | undefined; }>; export type CapRecord = z.infer; export declare const LedgerSchema: z.ZodObject<{ caps: z.ZodDefault; reason: z.ZodString; at: z.ZodNumber; /** * The model this limit applies to, when only one model is out (for example * Fable's weekly window). Absent means the whole account is out. * * This distinction is the difference between "you cannot work" and "you cannot * work on this model", and getting it wrong stops you from starting a session * on a model that is perfectly available. */ model: z.ZodOptional; }, "strip", z.ZodTypeAny, { at: number; account: string; capUntil: number | null; reason: string; model?: string | undefined; }, { at: number; account: string; capUntil: number | null; reason: string; model?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { caps: { at: number; account: string; capUntil: number | null; reason: string; model?: string | undefined; }[]; }, { caps?: { at: number; account: string; capUntil: number | null; reason: string; model?: string | undefined; }[] | undefined; }>; export type Ledger = z.infer;