import type { BatchPrData } from "../types.mts"; import type { ClassifyItem, ClassifyAction } from "./types.mts"; import type { LoadedRule } from "./loader.mts"; export interface ClassifyIndex { suppressedIds: Set; autoResolveIds: Set; } export interface BatchPartition { suppressedCommentIds: Set; suppressedThreadIds: Set; suppressedReviewSummaryIds: Set; suppressedChangesRequestedIds: Set; ruleAutoResolveCommentIds: string[]; ruleAutoResolveThreadIds: string[]; /** COMMENTED review summary IDs — minimized without surfacing to the agent. */ ruleAutoResolveReviewSummaryIds: string[]; } export declare function applyRules(rules: LoadedRule[], item: ClassifyItem): ClassifyAction; export declare function buildClassifyIndex(rules: LoadedRule[], batch: BatchPrData): ClassifyIndex; export declare function partitionBatch(index: ClassifyIndex, batch: BatchPrData): BatchPartition;