import { z } from 'zod'; import type { CustomRuleDefinition } from '../rules/customRules.types'; export declare const incidentLearningSchema: z.ZodObject<{ incidentId: z.ZodString; title: z.ZodString; summary: z.ZodString; impact: z.ZodString; resourceTypes: z.ZodArray; triggers: z.ZodArray; value: z.ZodOptional; }, "strip", z.ZodTypeAny, { propertyPath: string; operator: "missing" | "equals" | "matches" | "greaterThan" | "lessThan" | "exists" | "notEquals"; value?: unknown; }, { propertyPath: string; operator: "missing" | "equals" | "matches" | "greaterThan" | "lessThan" | "exists" | "notEquals"; value?: unknown; }>, "many">; recommendation: z.ZodString; severity: z.ZodEnum<["CRITICAL", "HIGH", "MEDIUM", "LOW"]>; wafPillar: z.ZodEnum<["Operational Excellence", "Security", "Cost Optimization", "Reliability", "Performance Efficiency", "Sustainability"]>; }, "strip", z.ZodTypeAny, { severity: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW"; wafPillar: "Operational Excellence" | "Security" | "Cost Optimization" | "Reliability" | "Performance Efficiency" | "Sustainability"; recommendation: string; summary: string; title: string; resourceTypes: string[]; incidentId: string; impact: string; triggers: { propertyPath: string; operator: "missing" | "equals" | "matches" | "greaterThan" | "lessThan" | "exists" | "notEquals"; value?: unknown; }[]; }, { severity: "CRITICAL" | "HIGH" | "MEDIUM" | "LOW"; wafPillar: "Operational Excellence" | "Security" | "Cost Optimization" | "Reliability" | "Performance Efficiency" | "Sustainability"; recommendation: string; summary: string; title: string; resourceTypes: string[]; incidentId: string; impact: string; triggers: { propertyPath: string; operator: "missing" | "equals" | "matches" | "greaterThan" | "lessThan" | "exists" | "notEquals"; value?: unknown; }[]; }>; export type IncidentLearningInput = z.infer; export declare const createRuleFromIncident: (input: unknown) => { incident: IncidentLearningInput; rule: CustomRuleDefinition; postmortem: string; };