import { z } from 'zod'; import type { Step } from './update.js'; export declare const PLUGIN_PACKAGE = "@geonosis/oxlint-plugin-biological-architecture"; export declare const countSchema: z.ZodObject<{ rules: z.ZodRecord; }, z.core.$strip>; export type Count = z.infer; export type Lint = ({ configs: string[]; kind: 'counted'; } & Count) | { kind: 'absent'; } | { kind: 'unread'; why: string; }; export type ByHandLint = { after: number; before: number; configs: string[]; rules: Record; }; export declare const lintTree: (root: string) => Promise; export declare const newFindingsIn: (before: Count, after: Count) => Record; export declare const sumOf: (counts: Record) => number; export type LintReport = { after: Count; before: Count; new: number; }; export type LintOutcome = { byHand: ByHandLint[]; report?: LintReport; step: Step; }; export declare const newFindings: (count: number) => string; export declare const lintStep: ({ after, before, carried }: { after: Lint; before: Lint | undefined; carried: Count | undefined; }) => LintOutcome;