/**
 * Session Pruning Types
 *
 * Type definitions for session and memory pruning strategies.
 */
export const DEFAULT_PRUNING_CONFIG = {
    enabled: true,
    rules: [
        {
            id: 'default-age',
            name: 'Prune old messages',
            priority: 10,
            enabled: true,
            conditions: [{ type: 'age', maxAgeMs: 24 * 60 * 60 * 1000 }], // 24 hours
            action: { type: 'archive' },
        },
        {
            id: 'default-count',
            name: 'Limit message count',
            priority: 20,
            enabled: true,
            conditions: [{ type: 'count', maxCount: 1000, countFrom: 'end' }],
            action: { type: 'delete' },
        },
        {
            id: 'default-tokens',
            name: 'Limit token count',
            priority: 30,
            enabled: true,
            conditions: [{ type: 'tokens', maxTokens: 100000 }],
            action: { type: 'summarize', targetTokens: 50000 },
        },
    ],
    checkIntervalMs: 5 * 60 * 1000, // 5 minutes
    minPruneIntervalMs: 60 * 1000, // 1 minute
    dryRun: false,
};
//# sourceMappingURL=types.js.map