UNPKG

930 BTypeScriptView Raw
1import { AnalyzeOptions, CreateAnalyzerOptions, FormatterOptions, HintResources, Endpoint, AnalyzerResult } from './types';
2import { UserConfig } from '@hint/utils';
3import { Problem } from '@hint/utils-types';
4export declare class Analyzer {
5 private configuration;
6 private engine?;
7 private _resources;
8 private formatters;
9 private watch;
10 private messages;
11 private constructor();
12 static create(userConfiguration: UserConfig, options?: CreateAnalyzerOptions): Analyzer;
13 static getUserConfig(filePath?: string): UserConfig | null;
14 private normalizeTarget;
15 private normalizeEvent;
16 private configureEngine;
17 analyze(endpoints: Endpoint | Endpoint[], options?: AnalyzeOptions): Promise<AnalyzerResult[]>;
18 format(problems: Problem[], options?: FormatterOptions): Promise<void>;
19 close(): Promise<void>;
20 get resources(): HintResources;
21}
22//# sourceMappingURL=analyzer.d.ts.map
\No newline at end of file