import type { DB } from '../../data/db/index.js'; export interface ExpireStaleTracesResult { /** Trace rows force-closed by this sweep (`open` past `expires_at`). */ readonly expired: number; /** Rows newly inserted into `trace_retained` across all expired traces. */ readonly retained: number; } /** Force-closes every trace whose `expires_at` has passed; copies each to the cold set. */ export declare function expireStaleTraces(db: DB, now?: Date): Promise; //# sourceMappingURL=expire-stale-traces.d.ts.map