import { F as Folder, a as File, R as Rule, P as Plugin, S as Severity, C as ConfigObject, b as Config } from './index-BAt2jTRc.js'; export { B as BaseRuleOptions, D as Diagnostic, e as Fix, G as GlobalIgnore, O as OptionsForRule, d as PartialDiagnostic, f as RuleNames, c as RuleResult } from './index-BAt2jTRc.js'; /** Recursively walk through a folder and return all entries that satisfy the predicate in a flat array. */ declare function findAllRecursively(folder: Folder, predicate: (entry: Folder | File) => boolean): Array; declare function enableAllRules>(plugin: Plugin, options?: { severity: Exclude; }): [Plugin, ConfigObject]; declare function enableSpecificRules>(plugin: Plugin, rulesToEnable: Rules, options?: { severity: Exclude; }): [Plugin, ConfigObject]; declare function createConfigs = Array, Keys extends string = string>(configs: Record>): Record>; declare function createPlugin>>(plugin: Plugin): Plugin; /** Accepts a plugin as a type parameter and returns the config object for these rules. */ type ConfigObjectOf = ThisPlugin extends Plugin ? ConfigObject : never; export { Config, ConfigObject, type ConfigObjectOf, File, Folder, Plugin, Rule, Severity, createConfigs, createPlugin, enableAllRules, enableSpecificRules, findAllRecursively };