import type { Parser } from '@mewjs/htmlparser2';
import type Reporter from './reporter';
import type { Configuration, Configs, Target, RuleOptions, InlineConfigs, HTMLDocument } from './typings/types';
import { Rule } from './typings/types';
declare class RulesManager {
init(): this;
add(options: T | Rule): number;
list(target?: Target): Rule[];
collectInlineConfig(parser: Parser): InlineConfigs;
lintParser(parser: Parser, reporter: Reporter, config: Partial, inlineConfig: Configs, code: string): this;
lintDocument(document: HTMLDocument, reporter: Reporter, config: Partial, inlineConfig: Configs, code: string): this;
format(document: HTMLDocument, config: Partial, inlineConfig: Configs, options: object): this;
}
declare const rulesManager: RulesManager;
export default rulesManager;