import { Rule } from 'htmlhint/types';
export declare type RuleTest<T> = {
    description: string;
    html: string;
    ruleOptions: T;
    otherOptions?: Record<string, any>;
    failures?: string[];
    force?: true;
};
export declare type CustomRule<T> = Rule & {
    tests: RuleTest<T>[];
    defaultOptions: T;
};
export declare function createHtmlHintRule<T>(inputRule: CustomRule<T>): CustomRule<T>;
