/** * @packageDocumentation * Parsing and memoization helpers for plugin-level runtime settings. */ import type { TSESLint, TSESTree } from "@typescript-eslint/utils"; import type { UnknownArray } from "type-fest"; /** * Normalized per-program settings consumed by fix-generation helpers. */ interface ProgramSettings { disableAllAutofixes: boolean; disableImportInsertionFixes: boolean; } /** * Register parsed plugin settings for the current file program. * * @param context - Active ESLint rule context. * * @returns Memoized immutable settings for the context's program node. */ export declare const registerProgramSettingsForContext: (context: Readonly>) => Readonly; /** * Determine whether import insertion autofixes are globally disabled for the * file containing the provided node. * * @param node - AST node used to resolve the enclosing Program. * * @returns `true` when import insertion fixes should be suppressed. */ export declare const isImportInsertionFixesDisabledForNode: (node: Readonly) => boolean; export {}; //# sourceMappingURL=plugin-settings.d.ts.map