import type { Agent, InputBuilder } from '@wrongstack/core/agent'; import type { AttachmentStore } from '@wrongstack/core/types'; import type { Action, State } from '../app-reducer.js'; import { type HeapSample } from '../heap-watchdog.js'; export interface UseTuiActivityOptions { status: State['status']; fleet: State['fleet']; enhanceBusy: boolean; thinkingWord: string; projectRoot: string; stateRef: React.RefObject; agentContext: Agent['ctx']; dispatch: React.Dispatch; /** Attachment store for RAM-retention sentinels in heap diagnostics. */ attachments: AttachmentStore; /** Input builder ref for RAM-retention sentinels in heap diagnostics. */ builderRef: React.RefObject; } /** * Own the clocks and lightweight activity animation state used by the TUI * shell. Keeping these related timers together prevents the app component * from accumulating another cluster of lifecycle bookkeeping. */ export declare function useTuiActivity({ status, fleet, enhanceBusy, thinkingWord, projectRoot, stateRef, agentContext, dispatch, attachments, builderRef, }: UseTuiActivityOptions): { displayThinkingWord: string; startedAt: number; nowTick: number; setNowTick: import("react").Dispatch>; workingTimeMs: number; fleetWorkingTimeMs: number; processMemory: HeapSample; cpuPercent: number | undefined; cpuHistory: number[]; rssHistory: number[]; heapHistory: number[]; totalMem: number; enhanceDots: number; refreshGoalSummary: () => void; }; //# sourceMappingURL=use-tui-activity.d.ts.map