/** * Allocation-neutral cumulative counters for correlating TUI activity with * process memory samples. Keep this module payload-free: counters must never * retain provider text, tool outputs, actions or React state. */ export interface TuiMemoryCounters { appRenders: number; providerTextDeltaEvents: number; providerTextDeltaChars: number; providerThinkingDeltaEvents: number; providerThinkingDeltaChars: number; providerResponses: number; toolProgressEvents: number; toolProgressChars: number; toolExecutedEvents: number; toolOutputBytes: number; streamFlushes: number; historyRetainedEntries: number; historyGroupedEntries: number; historyMountedGroups: number; historyMountedEntries: number; historyCachedGroups: number; historyMeasuredGroups: number; historyViewportRows: number; historyTotalRows: number; } export declare function recordTuiAppRender(): void; export declare function recordProviderTextDelta(chars: number): void; export declare function recordProviderThinkingDelta(chars: number): void; export declare function recordProviderResponse(): void; export declare function recordToolProgress(chars: number): void; export declare function recordToolExecuted(outputBytes: number | undefined): void; export declare function recordStreamFlush(): void; export declare function setTuiHistoryMemoryGauges(gauges: Pick): void; export declare function snapshotTuiMemoryCounters(): Readonly; /** Test-only reset. Production counters are lifetime-monotonic. */ export declare function resetTuiMemoryCounters(): void; //# sourceMappingURL=tui-memory-counters.d.ts.map