export interface GcResult {
    boxesScanned: number;
    deadBoxes: number;
    messagesDroppedExpired: number;
    messagesDroppedDead: number;
    consumedPruned: number;
    blocksRemoved: number;
}
export interface GcOptions {
    root?: string;
    /** Feed store root. Defaults to getFeedDir(). */
    feedRoot?: string;
    now?: Date;
    /** Age in minutes after which consumed entries are pruned. Default 24h. */
    maxConsumedAgeMinutes?: number;
}
/**
 * Sweep all mailboxes. For dead boxes (not in `activeBoxIds`), archive every
 * pending message as `dropped: dead` and remove any feed block tied to that
 * mailbox. For live boxes, drop expired messages and prune old consumed files.
 */
export declare function gcMailbox(activeBoxIds: Set<string>, options?: GcOptions): GcResult;
