import { MemoryEngine } from './memory.js';
export interface MemoryBackgroundWorkerOptions {
    optimizationIntervalMs?: number;
}
export declare class MemoryBackgroundWorker {
    private memory;
    private optimizationIntervalMs;
    private timer?;
    private healthTick?;
    constructor(memory: MemoryEngine, options?: MemoryBackgroundWorkerOptions);
    start(): void;
    stop(): void;
    private optimize;
    private startHealthTick;
}
