1 | import { AST_NODE_TYPES, ParserServices } from '@typescript-eslint/typescript-estree';
|
2 | import { TSESLint } from '@typescript-eslint/experimental-utils';
|
3 | import { analyzeScope } from './analyze-scope';
|
4 | import { visitorKeys } from './visitor-keys';
|
5 | declare type ParserOptions = TSESLint.ParserOptions;
|
6 | interface ParseForESLintResult {
|
7 | ast: any;
|
8 | services: ParserServices;
|
9 | visitorKeys: typeof visitorKeys;
|
10 | scopeManager: ReturnType<typeof analyzeScope>;
|
11 | }
|
12 | export declare const version: any;
|
13 | export declare const Syntax: Readonly<typeof AST_NODE_TYPES>;
|
14 | export declare function parse(code: string, options?: ParserOptions): any;
|
15 | export declare function parseForESLint(code: string, options?: ParserOptions | null): ParseForESLintResult;
|
16 | export { ParserServices, ParserOptions };
|
17 |
|
\ | No newline at end of file |