import { z } from "zod"; export declare const SeveritySchema: z.ZodEnum<["info", "notice", "warning", "critical"]>; export type Severity = z.infer; export declare const NetworkPolicySchema: z.ZodEnum<["none", "package-registry-only", "github-only", "allowlist", "unrestricted"]>; export type NetworkPolicy = z.infer; export declare const MonitorActionSchema: z.ZodObject<{ type: z.ZodString; capability: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; capability?: string | undefined; }, { type: string; capability?: string | undefined; }>; export type MonitorAction = z.infer; export declare const MonitorClassifySchema: z.ZodObject<{ severity: z.ZodOptional>; }, "strip", z.ZodEnum<["info", "notice", "warning", "critical"]>, z.objectOutputType<{ default: z.ZodOptional>; }, z.ZodEnum<["info", "notice", "warning", "critical"]>, "strip">, z.objectInputType<{ default: z.ZodOptional>; }, z.ZodEnum<["info", "notice", "warning", "critical"]>, "strip">>>; confidence: z.ZodOptional; }, "strict", z.ZodTypeAny, { confidence?: number | undefined; severity?: z.objectOutputType<{ default: z.ZodOptional>; }, z.ZodEnum<["info", "notice", "warning", "critical"]>, "strip"> | undefined; }, { confidence?: number | undefined; severity?: z.objectInputType<{ default: z.ZodOptional>; }, z.ZodEnum<["info", "notice", "warning", "critical"]>, "strip"> | undefined; }>; export type MonitorClassify = z.infer; export declare function applyClassifyRule(classify: MonitorClassify | undefined, classifyKey: string | undefined, fallback: Severity): Severity; export declare const MonitorDedupeSchema: z.ZodObject<{ fingerprint: z.ZodString; windowSeconds: z.ZodOptional; }, "strict", z.ZodTypeAny, { fingerprint: string; windowSeconds?: number | undefined; }, { fingerprint: string; windowSeconds?: number | undefined; }>; export type MonitorDedupe = z.infer; export declare const MonitorObserveSchema: z.ZodObject<{ event: z.ZodOptional>; filter: z.ZodOptional>>; inputs: z.ZodOptional>>; }, "strict", z.ZodTypeAny, { filter?: Record | undefined; event?: string | undefined; inputs?: string[] | undefined; }, { filter?: Record | undefined; event?: string | undefined; inputs?: string[] | undefined; }>; export type MonitorObserve = z.infer; export declare const MonitorConfigSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; enabled: z.ZodDefault; source: z.ZodString; interval: z.ZodString; network: z.ZodDefault>; capabilities: z.ZodDefault>; observe: z.ZodDefault>; filter: z.ZodOptional>>; inputs: z.ZodOptional>>; }, "strict", z.ZodTypeAny, { filter?: Record | undefined; event?: string | undefined; inputs?: string[] | undefined; }, { filter?: Record | undefined; event?: string | undefined; inputs?: string[] | undefined; }>>; classify: z.ZodDefault>; }, "strip", z.ZodEnum<["info", "notice", "warning", "critical"]>, z.objectOutputType<{ default: z.ZodOptional>; }, z.ZodEnum<["info", "notice", "warning", "critical"]>, "strip">, z.objectInputType<{ default: z.ZodOptional>; }, z.ZodEnum<["info", "notice", "warning", "critical"]>, "strip">>>; confidence: z.ZodOptional; }, "strict", z.ZodTypeAny, { confidence?: number | undefined; severity?: z.objectOutputType<{ default: z.ZodOptional>; }, z.ZodEnum<["info", "notice", "warning", "critical"]>, "strip"> | undefined; }, { confidence?: number | undefined; severity?: z.objectInputType<{ default: z.ZodOptional>; }, z.ZodEnum<["info", "notice", "warning", "critical"]>, "strip"> | undefined; }>>; dedupe: z.ZodObject<{ fingerprint: z.ZodString; windowSeconds: z.ZodOptional; }, "strict", z.ZodTypeAny, { fingerprint: string; windowSeconds?: number | undefined; }, { fingerprint: string; windowSeconds?: number | undefined; }>; actions: z.ZodDefault; }, "strip", z.ZodTypeAny, { type: string; capability?: string | undefined; }, { type: string; capability?: string | undefined; }>, "many">>; }, "strict", z.ZodTypeAny, { id: string; source: string; enabled: boolean; interval: string; network: "none" | "package-registry-only" | "github-only" | "allowlist" | "unrestricted"; capabilities: string[]; observe: { filter?: Record | undefined; event?: string | undefined; inputs?: string[] | undefined; }; classify: { confidence?: number | undefined; severity?: z.objectOutputType<{ default: z.ZodOptional>; }, z.ZodEnum<["info", "notice", "warning", "critical"]>, "strip"> | undefined; }; dedupe: { fingerprint: string; windowSeconds?: number | undefined; }; actions: { type: string; capability?: string | undefined; }[]; name?: string | undefined; }, { id: string; source: string; interval: string; dedupe: { fingerprint: string; windowSeconds?: number | undefined; }; name?: string | undefined; enabled?: boolean | undefined; network?: "none" | "package-registry-only" | "github-only" | "allowlist" | "unrestricted" | undefined; capabilities?: string[] | undefined; observe?: { filter?: Record | undefined; event?: string | undefined; inputs?: string[] | undefined; } | undefined; classify?: { confidence?: number | undefined; severity?: z.objectInputType<{ default: z.ZodOptional>; }, z.ZodEnum<["info", "notice", "warning", "critical"]>, "strip"> | undefined; } | undefined; actions?: { type: string; capability?: string | undefined; }[] | undefined; }>; export type MonitorConfig = z.infer; export declare function parseIntervalSeconds(interval: string): number; //# sourceMappingURL=monitor.d.ts.map