import { type LocalAlertRecord } from "../../../packages/db/src/index.js"; import type { CliExecutionContext } from "./cli.js"; export interface SanitizedSummary { generatedAt: string; database: { path: string; available: boolean; }; secretsReturned: false; providerCount: number; providers: SanitizedProviderSummary[]; totals: { estimatedAmountMinorByCurrency: CurrencyTotal[]; alertCount: number; health: "ok" | "degraded" | "down" | "unknown"; }; } export interface SanitizedProviderSummary { key: string; displayName: string; lastCollectedAt: string | null; usageSnapshotCount: number; billingSnapshotCount: number; healthSnapshotCount: number; costEstimateCount: number; alertCount: number; health: "ok" | "degraded" | "down" | "unknown"; estimatedCost: { amountMinor: number; currency: string; confidence: "low" | "medium" | "high"; } | null; } export interface NotificationDigest { generatedAt: string; secretsReturned: false; providerCount: number; estimatedAmountMinorByCurrency: CurrencyTotal[]; alertCount: number; criticalAlertCount: number; health: "ok" | "degraded" | "down" | "unknown"; } interface CurrencyTotal { currency: string; amountMinor: number; } export declare function readSanitizedSummary(context: CliExecutionContext): Promise; export declare function buildNotificationDigest(summary: SanitizedSummary, alerts?: readonly LocalAlertRecord[]): NotificationDigest; export declare function readSanitizedNotificationDigest(context: CliExecutionContext): Promise; export {}; //# sourceMappingURL=summary-model.d.ts.map