UNPKG

422 BTypeScriptView Raw
1import { RuleLoaderHost, RuleConstructor, BuiltinResolver, Resolver } from '@fimbul/ymir';
2export declare class NodeRuleLoader implements RuleLoaderHost {
3 private builtinResolver;
4 private resolver;
5 constructor(builtinResolver: BuiltinResolver, resolver: Resolver);
6 loadCoreRule(name: string): RuleConstructor | undefined;
7 loadCustomRule(name: string, directory: string): RuleConstructor | undefined;
8}