// types/autopilot-config.ts — SPEC-470: declarative autopilot.yml config types
import { z } from 'zod';
export const CascadeActionSchema = z.object({
    action: z.string(),
    timeout: z.string().optional(), // e.g. "10s", "30s", "5m"
    parallel: z.boolean().optional(),
    disabled: z.boolean().optional(),
});
export const AutopilotYmlConfigSchema = z.object({
    version: z.literal(1),
    enabled: z.boolean().optional().default(true),
    on: z.record(z.string(), z.array(CascadeActionSchema)),
});
//# sourceMappingURL=autopilot-config.js.map