/** Exported for tests — reset tracker state without killing processes. */ export declare function clearBackgroundCompletionReminderForTests(): void; /** * Mark an id as already surfaced (e.g. start tool result already included * an immediate exit). Prevents a duplicate system-reminder on the next drain. */ export declare function markBackgroundCompletionReported(id: string): void; /** * Install the process-level lifecycle subscriber (idempotent). * Call once per agent-loop run (or once per process — safe either way). * Re-installs after clearBackgroundRegistryForTests / clearBackgroundCompletionState. */ export declare function ensureBackgroundCompletionTracker(): void; /** * Drain unreported terminal background processes into human/model-readable * reminder strings. Each id is reported at most once. */ export declare function drainBackgroundCompletionReminders(): string[]; /** True when at least one unreported completion is queued. */ export declare function hasPendingBackgroundCompletions(): boolean; /** * Build a single system message body for injection into the agent loop. * Returns null when there is nothing new to report. */ export declare function buildBackgroundCompletionSystemText(): string | null; //# sourceMappingURL=background-completion-reminder.d.ts.map