import { ParseResult, RuleType } from './types'; export interface Stats { total: number; byType: Record; /** Actionable network rules (block + allow + hosts). */ network: number; } /** * Summarize the composition of a filter list. Maintainers use this to spot, for * example, a list that is 90% cosmetic rules when it claims to be a network * blocklist, or a sudden jump in rule count between releases. */ export declare function stats(result: ParseResult): Stats; /** * Compare two parsed lists and report which network rules were added or removed. * Keyed by `type:pattern` so a rule that merely moved lines is not reported as * a change. */ export declare function diff(a: ParseResult, b: ParseResult): { added: string[]; removed: string[]; };