import type { Arrayable, UnknownRecord } from "type-fest"; import { type PluginMeta, type PluginNamespace } from "./_internal/plugin-meta.js"; import { allStrictWithDeprecated as allStrictWithDeprecatedConfig } from "./configs/all-strict-with-deprecated.js"; import { allStrict as allStrictConfig } from "./configs/all-strict.js"; import { allWithDeprecated as allWithDeprecatedConfig } from "./configs/all-with-deprecated.js"; import { all as allConfig } from "./configs/all.js"; import { minimal as minimalConfig } from "./configs/minimal.js"; import { recommended as recommendedConfig } from "./configs/recommended.js"; import { strictTypeChecked as strictTypeCheckedConfig } from "./configs/strict-type-checked.js"; import { strict as strictConfig } from "./configs/strict.js"; import { rules } from "./rules.js"; type FlatConfigFiles = Arrayable[]; interface PluginReference { readonly meta: PluginMeta; readonly rules: typeof rules; } interface PresetWithPlugin>> { readonly files: FlatConfigFiles; readonly name: TName; readonly plugins: Readonly>; readonly rules: TRules; } type RuleSeverity = "error" | "warn"; /** * Available flat-config presets exported by the plugin. */ export interface PluginConfigs extends Readonly { readonly all: PresetWithPlugin; readonly allStrict: PresetWithPlugin; readonly allStrictWithDeprecated: PresetWithPlugin; readonly allWithDeprecated: PresetWithPlugin; readonly minimal: PresetWithPlugin; readonly recommended: PresetWithPlugin; readonly strict: PresetWithPlugin; readonly strictTypeChecked: PresetWithPlugin & { readonly languageOptions: typeof strictTypeCheckedConfig.languageOptions; }; } /** * Plugin configuration presets. */ export declare const configs: PluginConfigs; export {}; //# sourceMappingURL=configs.d.ts.map