import { z } from "zod"; export declare const ReviewPacketGraphEdgeSchema: z.ZodObject; direction: z.ZodOptional>; confidence: z.ZodOptional; reason: z.ZodOptional; }, "reason" | "confidence" | "kind" | "from" | "to">, "strict", z.ZodTypeAny, { from: string; to: string; reason?: string | undefined; confidence?: number | undefined; kind?: string | undefined; }, { from: string; to: string; reason?: string | undefined; confidence?: number | undefined; kind?: string | undefined; }>; export type ReviewPacketGraphEdge = z.infer; export declare const ReviewPacketQualitySchema: z.ZodObject<{ cohesion_score: z.ZodNumber; internal_edge_count: z.ZodNumber; boundary_edge_count: z.ZodNumber; unexplained_file_count: z.ZodNumber; }, "strip", z.ZodTypeAny, { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; }, { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; }>; export type ReviewPacketQuality = z.infer; export declare const WeaklyExplainedPacketSampleSchema: z.ZodObject<{ packet_id: z.ZodString; primary_gap: z.ZodEnum<["missing_internal_edges", "unexplained_files", "partial_cohesion"]>; file_count: z.ZodNumber; sample_file_paths: z.ZodArray; cohesion_score: z.ZodNumber; internal_edge_count: z.ZodNumber; boundary_edge_count: z.ZodNumber; unexplained_file_count: z.ZodNumber; }, "strip", z.ZodTypeAny, { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; packet_id: string; primary_gap: "missing_internal_edges" | "unexplained_files" | "partial_cohesion"; file_count: number; sample_file_paths: string[]; }, { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; packet_id: string; primary_gap: "missing_internal_edges" | "unexplained_files" | "partial_cohesion"; file_count: number; sample_file_paths: string[]; }>; export type WeaklyExplainedPacketSample = z.infer; export declare const ReviewPacketSchema: z.ZodObject<{ packet_id: z.ZodString; task_ids: z.ZodArray; unit_ids: z.ZodArray; pass_ids: z.ZodArray; lenses: z.ZodArray; file_paths: z.ZodArray; file_line_counts: z.ZodRecord; total_lines: z.ZodNumber; priority: z.ZodEnum<["high", "medium", "low"]>; tags: z.ZodOptional>; entrypoints: z.ZodOptional>; key_edges: z.ZodOptional; direction: z.ZodOptional>; confidence: z.ZodOptional; reason: z.ZodOptional; }, "reason" | "confidence" | "kind" | "from" | "to">, "strict", z.ZodTypeAny, { from: string; to: string; reason?: string | undefined; confidence?: number | undefined; kind?: string | undefined; }, { from: string; to: string; reason?: string | undefined; confidence?: number | undefined; kind?: string | undefined; }>, "many">>; boundary_files: z.ZodOptional>; quality: z.ZodObject<{ cohesion_score: z.ZodNumber; internal_edge_count: z.ZodNumber; boundary_edge_count: z.ZodNumber; unexplained_file_count: z.ZodNumber; }, "strip", z.ZodTypeAny, { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; }, { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; }>; rationale: z.ZodString; estimated_tokens: z.ZodNumber; /** Max member risk (in [0,1]) within this coherence group. */ risk_score: z.ZodOptional; }, "strip", z.ZodTypeAny, { lenses: string[]; file_paths: string[]; unit_ids: string[]; rationale: string; file_line_counts: Record; priority: "high" | "low" | "medium"; total_lines: number; packet_id: string; task_ids: string[]; pass_ids: string[]; quality: { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; }; estimated_tokens: number; risk_score?: number | undefined; entrypoints?: string[] | undefined; tags?: string[] | undefined; key_edges?: { from: string; to: string; reason?: string | undefined; confidence?: number | undefined; kind?: string | undefined; }[] | undefined; boundary_files?: string[] | undefined; }, { lenses: string[]; file_paths: string[]; unit_ids: string[]; rationale: string; file_line_counts: Record; priority: "high" | "low" | "medium"; total_lines: number; packet_id: string; task_ids: string[]; pass_ids: string[]; quality: { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; }; estimated_tokens: number; risk_score?: number | undefined; entrypoints?: string[] | undefined; tags?: string[] | undefined; key_edges?: { from: string; to: string; reason?: string | undefined; confidence?: number | undefined; kind?: string | undefined; }[] | undefined; boundary_files?: string[] | undefined; }>; export type ReviewPacket = z.infer; /** * Aggregate quality signals for a planned set of review packets — cohesion, * boundary-crossing counts, and the weakly-explained-packet diagnostics. Promoted * from an inline anonymous object on {@link AuditPlanMetrics} so it can be named * and referenced. */ export declare const PacketQualitySchema: z.ZodObject<{ average_cohesion_score: z.ZodNumber; boundary_crossing_count: z.ZodNumber; merge_edge_kind_counts: z.ZodRecord; boundary_edge_kind_counts: z.ZodRecord; orphan_task_count: z.ZodNumber; high_fan_in_file_count: z.ZodNumber; high_fan_out_file_count: z.ZodNumber; weakly_explained_gap_counts: z.ZodRecord; weakly_explained_file_extension_counts: z.ZodRecord; weakly_explained_packet_count: z.ZodNumber; weakly_explained_packet_ids: z.ZodArray; weakly_explained_packet_samples: z.ZodArray; file_count: z.ZodNumber; sample_file_paths: z.ZodArray; cohesion_score: z.ZodNumber; internal_edge_count: z.ZodNumber; boundary_edge_count: z.ZodNumber; unexplained_file_count: z.ZodNumber; }, "strip", z.ZodTypeAny, { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; packet_id: string; primary_gap: "missing_internal_edges" | "unexplained_files" | "partial_cohesion"; file_count: number; sample_file_paths: string[]; }, { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; packet_id: string; primary_gap: "missing_internal_edges" | "unexplained_files" | "partial_cohesion"; file_count: number; sample_file_paths: string[]; }>, "many">; largest_unexplained_packet_id: z.ZodOptional; largest_unexplained_packet_files: z.ZodNumber; }, "strip", z.ZodTypeAny, { average_cohesion_score: number; boundary_crossing_count: number; merge_edge_kind_counts: Record; boundary_edge_kind_counts: Record; orphan_task_count: number; high_fan_in_file_count: number; high_fan_out_file_count: number; weakly_explained_gap_counts: Record; weakly_explained_file_extension_counts: Record; weakly_explained_packet_count: number; weakly_explained_packet_ids: string[]; weakly_explained_packet_samples: { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; packet_id: string; primary_gap: "missing_internal_edges" | "unexplained_files" | "partial_cohesion"; file_count: number; sample_file_paths: string[]; }[]; largest_unexplained_packet_files: number; largest_unexplained_packet_id?: string | undefined; }, { average_cohesion_score: number; boundary_crossing_count: number; merge_edge_kind_counts: Record; boundary_edge_kind_counts: Record; orphan_task_count: number; high_fan_in_file_count: number; high_fan_out_file_count: number; weakly_explained_gap_counts: Record; weakly_explained_file_extension_counts: Record; weakly_explained_packet_count: number; weakly_explained_packet_ids: string[]; weakly_explained_packet_samples: { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; packet_id: string; primary_gap: "missing_internal_edges" | "unexplained_files" | "partial_cohesion"; file_count: number; sample_file_paths: string[]; }[]; largest_unexplained_packet_files: number; largest_unexplained_packet_id?: string | undefined; }>; export declare const AuditPlanMetricsSchema: z.ZodObject<{ generated_at: z.ZodString; task_count: z.ZodNumber; packet_count: z.ZodNumber; estimated_agent_reduction: z.ZodNumber; estimated_agent_reduction_ratio: z.ZodNumber; unique_file_count: z.ZodNumber; task_file_reference_count: z.ZodNumber; repeated_file_reference_count: z.ZodNumber; total_task_lines: z.ZodNumber; total_packet_lines: z.ZodNumber; repeated_line_reference_count: z.ZodNumber; min_task_lines: z.ZodNumber; max_task_lines: z.ZodNumber; average_task_lines: z.ZodNumber; largest_task_id: z.ZodOptional; largest_packet_id: z.ZodOptional; lens_task_counts: z.ZodRecord; priority_task_counts: z.ZodRecord; packet_quality: z.ZodObject<{ average_cohesion_score: z.ZodNumber; boundary_crossing_count: z.ZodNumber; merge_edge_kind_counts: z.ZodRecord; boundary_edge_kind_counts: z.ZodRecord; orphan_task_count: z.ZodNumber; high_fan_in_file_count: z.ZodNumber; high_fan_out_file_count: z.ZodNumber; weakly_explained_gap_counts: z.ZodRecord; weakly_explained_file_extension_counts: z.ZodRecord; weakly_explained_packet_count: z.ZodNumber; weakly_explained_packet_ids: z.ZodArray; weakly_explained_packet_samples: z.ZodArray; file_count: z.ZodNumber; sample_file_paths: z.ZodArray; cohesion_score: z.ZodNumber; internal_edge_count: z.ZodNumber; boundary_edge_count: z.ZodNumber; unexplained_file_count: z.ZodNumber; }, "strip", z.ZodTypeAny, { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; packet_id: string; primary_gap: "missing_internal_edges" | "unexplained_files" | "partial_cohesion"; file_count: number; sample_file_paths: string[]; }, { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; packet_id: string; primary_gap: "missing_internal_edges" | "unexplained_files" | "partial_cohesion"; file_count: number; sample_file_paths: string[]; }>, "many">; largest_unexplained_packet_id: z.ZodOptional; largest_unexplained_packet_files: z.ZodNumber; }, "strip", z.ZodTypeAny, { average_cohesion_score: number; boundary_crossing_count: number; merge_edge_kind_counts: Record; boundary_edge_kind_counts: Record; orphan_task_count: number; high_fan_in_file_count: number; high_fan_out_file_count: number; weakly_explained_gap_counts: Record; weakly_explained_file_extension_counts: Record; weakly_explained_packet_count: number; weakly_explained_packet_ids: string[]; weakly_explained_packet_samples: { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; packet_id: string; primary_gap: "missing_internal_edges" | "unexplained_files" | "partial_cohesion"; file_count: number; sample_file_paths: string[]; }[]; largest_unexplained_packet_files: number; largest_unexplained_packet_id?: string | undefined; }, { average_cohesion_score: number; boundary_crossing_count: number; merge_edge_kind_counts: Record; boundary_edge_kind_counts: Record; orphan_task_count: number; high_fan_in_file_count: number; high_fan_out_file_count: number; weakly_explained_gap_counts: Record; weakly_explained_file_extension_counts: Record; weakly_explained_packet_count: number; weakly_explained_packet_ids: string[]; weakly_explained_packet_samples: { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; packet_id: string; primary_gap: "missing_internal_edges" | "unexplained_files" | "partial_cohesion"; file_count: number; sample_file_paths: string[]; }[]; largest_unexplained_packet_files: number; largest_unexplained_packet_id?: string | undefined; }>; packet_size: z.ZodObject<{ single_task_packets: z.ZodNumber; multi_task_packets: z.ZodNumber; max_tasks_per_packet: z.ZodNumber; max_files_per_packet: z.ZodNumber; }, "strip", z.ZodTypeAny, { single_task_packets: number; multi_task_packets: number; max_tasks_per_packet: number; max_files_per_packet: number; }, { single_task_packets: number; multi_task_packets: number; max_tasks_per_packet: number; max_files_per_packet: number; }>; }, "strip", z.ZodTypeAny, { generated_at: string; task_count: number; packet_count: number; estimated_agent_reduction: number; estimated_agent_reduction_ratio: number; unique_file_count: number; task_file_reference_count: number; repeated_file_reference_count: number; total_task_lines: number; total_packet_lines: number; repeated_line_reference_count: number; min_task_lines: number; max_task_lines: number; average_task_lines: number; lens_task_counts: Record; priority_task_counts: Record; packet_quality: { average_cohesion_score: number; boundary_crossing_count: number; merge_edge_kind_counts: Record; boundary_edge_kind_counts: Record; orphan_task_count: number; high_fan_in_file_count: number; high_fan_out_file_count: number; weakly_explained_gap_counts: Record; weakly_explained_file_extension_counts: Record; weakly_explained_packet_count: number; weakly_explained_packet_ids: string[]; weakly_explained_packet_samples: { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; packet_id: string; primary_gap: "missing_internal_edges" | "unexplained_files" | "partial_cohesion"; file_count: number; sample_file_paths: string[]; }[]; largest_unexplained_packet_files: number; largest_unexplained_packet_id?: string | undefined; }; packet_size: { single_task_packets: number; multi_task_packets: number; max_tasks_per_packet: number; max_files_per_packet: number; }; largest_task_id?: string | undefined; largest_packet_id?: string | undefined; }, { generated_at: string; task_count: number; packet_count: number; estimated_agent_reduction: number; estimated_agent_reduction_ratio: number; unique_file_count: number; task_file_reference_count: number; repeated_file_reference_count: number; total_task_lines: number; total_packet_lines: number; repeated_line_reference_count: number; min_task_lines: number; max_task_lines: number; average_task_lines: number; lens_task_counts: Record; priority_task_counts: Record; packet_quality: { average_cohesion_score: number; boundary_crossing_count: number; merge_edge_kind_counts: Record; boundary_edge_kind_counts: Record; orphan_task_count: number; high_fan_in_file_count: number; high_fan_out_file_count: number; weakly_explained_gap_counts: Record; weakly_explained_file_extension_counts: Record; weakly_explained_packet_count: number; weakly_explained_packet_ids: string[]; weakly_explained_packet_samples: { cohesion_score: number; internal_edge_count: number; boundary_edge_count: number; unexplained_file_count: number; packet_id: string; primary_gap: "missing_internal_edges" | "unexplained_files" | "partial_cohesion"; file_count: number; sample_file_paths: string[]; }[]; largest_unexplained_packet_files: number; largest_unexplained_packet_id?: string | undefined; }; packet_size: { single_task_packets: number; multi_task_packets: number; max_tasks_per_packet: number; max_files_per_packet: number; }; largest_task_id?: string | undefined; largest_packet_id?: string | undefined; }>; export type AuditPlanMetrics = z.infer; //# sourceMappingURL=reviewPlanning.d.ts.map