type Check = (value: unknown) => value is T; type Static = T extends Check ? Value : never; type Fields = Record>; type ObjectValue = { [Key in keyof Shape as undefined extends Static ? never : Key]: Static; } & { [Key in keyof Shape as undefined extends Static ? Key : never]?: Static; }; declare const number: (value: unknown) => value is number; declare const string: (value: unknown) => value is string; declare const boolean: (value: unknown) => value is boolean; declare const Stats: Check>; declare const Summary: Check>; models: Check>>; }>>; declare const Spend: Check>; }>>; declare const HistoryScan: Check; warnings: Check; }>>; total: Check>; models: Check>>; }>>; months: Check>; models: Check>>; }>>>; previous: Check>; models: Check>>; }>>; recent: Check>; }>[]>; nonstandard: Check; }>>; declare const Period: Check; partial: typeof boolean; summary: Check>; models: Check>>; }>>; approximate: Check; quota: Check value is number; usd: typeof number; }> | undefined>; quotaPerUsd: Check; }>>; declare const Account: Check>; models: Check>>; }>>; months: Check>; models: Check>>; }>>>; nonstandard: Check; recent: Check>; }>[]>; current: Check; partial: typeof boolean; summary: Check>; models: Check>>; }>>; approximate: Check; quota: Check value is number; usd: typeof number; }> | undefined>; quotaPerUsd: Check; }> | undefined>; closed: Check; partial: typeof boolean; summary: Check>; models: Check>>; }>>; approximate: Check; quota: Check value is number; usd: typeof number; }> | undefined>; quotaPerUsd: Check; end: typeof number; closedAt: typeof number; reason: Check<"backfill" | "early" | "gap" | "scheduled">; quotaEstimate: Check; }>>>; previous: Check; unassignedUsd: typeof number; missingWeeklyObservations: typeof number; recordingGaps: typeof number; lastObservation: Check; manualResetAt: Check; history: Check; warnings: Check; }>>; importedAt: typeof number; accountIdentity: Check<"unverified">; }> | undefined>; }>>; declare const Ledger: Check; accounts: Check>; models: Check>>; }>>; months: Check>; models: Check>>; }>>>; nonstandard: Check; recent: Check>; }>[]>; current: Check; partial: typeof boolean; summary: Check>; models: Check>>; }>>; approximate: Check; quota: Check value is number; usd: typeof number; }> | undefined>; quotaPerUsd: Check; }> | undefined>; closed: Check; partial: typeof boolean; summary: Check>; models: Check>>; }>>; approximate: Check; quota: Check value is number; usd: typeof number; }> | undefined>; quotaPerUsd: Check; end: typeof number; closedAt: typeof number; reason: Check<"backfill" | "early" | "gap" | "scheduled">; quotaEstimate: Check; }>>>; previous: Check; unassignedUsd: typeof number; missingWeeklyObservations: typeof number; recordingGaps: typeof number; lastObservation: Check; manualResetAt: Check; history: Check; warnings: Check; }>>; importedAt: typeof number; accountIdentity: Check<"unverified">; }> | undefined>; }>>>; historyOwner: Check; }>>; export type SpendStats = Static; export type SpendSummary = Static; export type CodexSpend = Static; export type UsagePeriod = Static; export type UsageAccount = Static; export type UsageLedger = Static; export type UsageHistoryScan = Static; export declare function parseUsageHistory(value: unknown): UsageHistoryScan; export declare function parseUsageLedger(value: unknown): UsageLedger; export declare function emptyStats(): SpendStats; export declare function emptySummary(): SpendSummary; export {};