import { FunctionCollection, IConstructorOpts, IParsedResult, IRuleResult, PartialRuleCollection, RuleCollection, RuleDeclarationCollection, RunRuleCollection } from './types'; export * from './types'; export declare class Spectral { private _rules; private _functions; private resolver; constructor(opts?: IConstructorOpts); run(target: IParsedResult | object | string): Promise; readonly functions: FunctionCollection; addFunctions(functions: FunctionCollection): void; readonly rules: RunRuleCollection; addRules(rules: RuleCollection): void; mergeRules(rules: PartialRuleCollection): void; applyRuleDeclarations(declarations: RuleDeclarationCollection): void; }