import type { initMemoryDb } from "../data/memory/index.js"; import type { TelegramClient } from "./telegram.js"; import type { ThreadLifecycleService } from "./thread-lifecycle.service.js"; interface BackgroundRunnerDeps { getMemoryDb: () => ReturnType; telegram: TelegramClient; chatId: string; threadLifecycle: ThreadLifecycleService; log: { info(message: string): void; warn(message: string): void; error(message: string): void; }; } export declare class BackgroundJobRunner { private readonly deps; private intervals; private lastDailyRotationKey; constructor(deps: BackgroundRunnerDeps); start(): void; stop(): void; private runWorkerCleanup; private runDeadWorkerSweep; private runDailyRotationCheck; } export {}; //# sourceMappingURL=background-runner.d.ts.map