import type { MetricsEntry } from '../memory/MetricsCollector.ts'; export interface CostRollup { provider: string; costUsd: number; tokens: number; } export interface MetricsSnapshot { members: MetricsEntry[]; costs: CostRollup[]; totalCostUsd: number; totalTokens: number; } /** Reads the local metrics and cost ledgers into one snapshot. Local-only * source of truth — the exporters only re-shape it, never collect remotely. */ export declare function collectSnapshot(cwd: string): MetricsSnapshot; /** * Renders the snapshot as Prometheus text exposition format (pull model: the * snapshot is read at scrape time, so there is no push path to keep in sync). */ export declare function renderPrometheus(snapshot: MetricsSnapshot): string; /** Renders the snapshot as StatsD datagram lines (one metric per line). */ export declare function renderStatsD(snapshot: MetricsSnapshot): string[]; //# sourceMappingURL=export.d.ts.map