import type { DashboardDB } from '@origintrail-official/dkg-node-ui'; export interface DashboardLogVolumePrunerIntervals { initialDelayMs: number; catchupIntervalMs: number; reclaimRetryMs: number; steadyIntervalMs: number; } export declare const DEFAULT_DASHBOARD_LOG_VOLUME_PRUNER_INTERVALS: DashboardLogVolumePrunerIntervals; export interface DashboardLogVolumePrunerHandle { stop(): void; } /** * Own the incremental dashboard-log cleanup lifecycle outside the daemon * bootstrap. The database decides what one bounded maintenance step did; this * helper decides when the next step runs, aggregates deletion telemetry, and * guarantees shutdown clears the recursive timeout. */ export declare function startDashboardLogVolumePruner(opts: { dashDb: Pick; log: (message: string) => void; intervals?: Partial; }): DashboardLogVolumePrunerHandle; //# sourceMappingURL=dashboard-log-volume-pruner.d.ts.map