import type { QueueItem } from '../../types/queue.js';
export declare class QueuePersistence {
    private pendingPath;
    private failedPath;
    constructor(dataDir?: string);
    init(): Promise<void>;
    savePending(items: QueueItem[]): Promise<void>;
    loadPending(): Promise<QueueItem[]>;
    loadFailed(): Promise<QueueItem[]>;
    loadAll(): Promise<QueueItem[]>;
}
export declare const queuePersistence: QueuePersistence;
//# sourceMappingURL=persistence.d.ts.map