/// <reference types="node" />
/// <reference types="cheerio" />
import { Stream } from 'stream';
export declare type Input = string | Stream;
export declare type Output = string | {
    write(msg: string): void;
} | null;
export interface Rule {
    ($: CheerioStatic, report: (msg: string) => void): void;
}
export declare class HtmlValidator {
    private rules;
    constructor(rules: Rule[]);
    process(input: Input, output: Output): Promise<void>;
}
