/** * @packageDocumentation * Explicit report-adapter utilities for rule-level autofix policy handling. */ import type { TSESLint } from "@typescript-eslint/utils"; import type { UnknownArray } from "type-fest"; /** * Report callback type for a given message/options pair. */ type ReportCallback> = TSESLint.RuleContext["report"]; /** * Canonical report descriptor type for a given message/options pair. */ type ReportDescriptor> = Parameters>[0]; /** * Remove top-level autofix from a report descriptor while preserving all other * fields (including suggestions). */ export declare const omitAutofixFromReportDescriptor: >(descriptor: Readonly>) => ReportDescriptor; /** * Build a report callback that enforces no-top-level-autofix semantics. */ export declare const createReportWithoutAutofixes: >(report: ReportCallback) => ReportCallback; export {}; //# sourceMappingURL=report-adapter.d.ts.map