"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DEFAULT_RETENTION_CONFIG = exports.AIGNEObserverOptionsSchema = void 0;
const zod_1 = require("zod");
exports.AIGNEObserverOptionsSchema = zod_1.z
    .object({
    storage: zod_1.z.string().optional(),
    retention: zod_1.z
        .object({
        activeDays: zod_1.z.number().int().min(1).max(365).optional(),
        archiveEnabled: zod_1.z.boolean().optional(),
        archiveDir: zod_1.z.string().optional(),
        archiveMaxFiles: zod_1.z.number().int().min(1).max(100).optional(),
        archiveSchedule: zod_1.z.string().optional(),
        verifyBeforeDelete: zod_1.z.boolean().optional(),
        dryRun: zod_1.z.boolean().optional(),
    })
        .optional(),
})
    .optional()
    .default({});
exports.DEFAULT_RETENTION_CONFIG = {
    activeDays: 7,
    archiveEnabled: true,
    archiveMaxFiles: 4,
    archiveSchedule: "0 2 * * *",
    verifyBeforeDelete: true,
    dryRun: false,
};
