import { OutboxAdapter } from "@authhero/adapter-interfaces";
export interface OutboxCleanupParams {
    /** Days to keep processed (and dead-lettered) events. Defaults to 7. */
    retentionDays?: number;
}
/**
 * Delete processed outbox events older than the retention window.
 * Intended for use in a scheduled handler / cron job.
 */
export declare function cleanupOutbox(outbox: OutboxAdapter, params?: OutboxCleanupParams): Promise<number>;
