UNPKG

@stoplight/spectral

Version:

A flexible object linter with out of the box support for OpenAPI v2 and v3.

11 lines (10 loc) 491 B
import { RuleCollection } from '../types'; export declare function readRulesFromRulesets(...files: string[]): Promise<RuleCollection>; export declare type Logger = { log: (message?: string | undefined, ...args: any[]) => void; error: (input: string | Error, options?: { code?: string | undefined; exit?: number | undefined; } | undefined) => never; }; export declare function blendRuleCollections(futureCollections: Array<Promise<RuleCollection>>): Promise<any>;