UNPKG

430 BTypeScriptView Raw
1import { RuleLoaderHost, RuleConstructor, MessageHandler, CacheFactory } from '@fimbul/ymir';
2export declare class RuleLoader {
3 private host;
4 private logger;
5 private cache;
6 constructor(host: RuleLoaderHost, logger: MessageHandler, cache: CacheFactory);
7 loadRule(name: string, directories: ReadonlyArray<string> | undefined): RuleConstructor | undefined;
8 private loadCoreRule;
9 private loadCustomRule;
10}