import type { BackgroundAgentRegistry, BackgroundJob } from '../../../agent/background-registry.js'; export declare const MAX_INJECTION_BYTES: number; export interface PendingBgAgentNotification { job: BackgroundJob; } export declare function buildBgResultInjection(job: BackgroundJob): string; export declare function isAutoDeliverEnabled(raw: string | undefined): boolean; export declare class BgResultNotifier { private readonly registry; private pendingInjections; private pendingNotifications; onInjectable: (() => void) | null; private readonly onSettled; constructor(registry: BackgroundAgentRegistry); drainInjections(): string; drainNotifications(): readonly PendingBgAgentNotification[]; reset(): void; dispose(): void; }