/**
 * Memory expiry — auto-delete memories matching user-defined rules.
 * Rules stored in ~/.shieldcortex/config.json under "expiryRules" key.
 */
export interface ExpiryRule {
    category?: string;
    type?: string;
    maxAgeDays: number;
    tag?: string;
    protect?: boolean;
}
/**
 * Load expiry rules from ~/.shieldcortex/config.json.
 * Returns an empty array if missing or malformed.
 */
export declare function loadExpiryRules(): ExpiryRule[];
/**
 * Apply all expiry rules, deleting matching memories that exceed their max age.
 * Memories with salience > 0.8 are always protected regardless of rules.
 * Returns counts of deleted and protected memories.
 */
export declare function applyExpiryRules(): {
    deleted: number;
    protected: number;
};
