ruleLoader.d.ts 435 Bytes
import { IRule } from "./language/rule/rule";
export interface IEnableDisablePosition {
    isEnabled: boolean;
    position: number;
}
export declare function loadRules(ruleConfiguration: {
    [name: string]: any;
}, enableDisableRuleMap: {
    [rulename: string]: IEnableDisablePosition[];
}, rulesDirectories?: string | string[]): IRule[];
export declare function findRule(name: string, rulesDirectories?: string | string[]): any;