1 | import * as builtinHandlers from './handlers/index.js';
|
2 | import * as builtinResolvers from './resolver/index.js';
|
3 | import { makeFsImporter } from './importer/index.js';
|
4 | import * as utils from './utils/index.js';
|
5 | import type { Documentation } from './Documentation.js';
|
6 | import type DocumentationBuilder from './Documentation.js';
|
7 | import type { Resolver, ResolverClass, ResolverFunction } from './resolver/index.js';
|
8 | import type { Importer } from './importer/index.js';
|
9 | import type { Handler } from './handlers/index.js';
|
10 | import type FileState from './FileState.js';
|
11 | import type { Config } from './config.js';
|
12 | import { defaultHandlers } from './config.js';
|
13 | import { ERROR_CODES } from './error.js';
|
14 | declare const builtinImporters: {
|
15 | fsImporter: Importer;
|
16 | ignoreImporter: Importer;
|
17 | };
|
18 | declare module '@babel/traverse' {
|
19 | interface HubInterface {
|
20 | file: FileState;
|
21 | parse: typeof FileState.prototype.parse;
|
22 | import: typeof FileState.prototype.import;
|
23 | }
|
24 | interface Hub {
|
25 | file: FileState;
|
26 | parse: typeof FileState.prototype.parse;
|
27 | import: typeof FileState.prototype.import;
|
28 | }
|
29 | }
|
30 |
|
31 |
|
32 |
|
33 |
|
34 |
|
35 |
|
36 |
|
37 |
|
38 |
|
39 |
|
40 |
|
41 |
|
42 | declare function defaultParse(src: Buffer | string, config?: Config): Documentation[];
|
43 | export type { NodePath } from '@babel/traverse';
|
44 | export type * as babelTypes from '@babel/types';
|
45 | export { builtinHandlers, builtinResolvers, builtinImporters, defaultHandlers, makeFsImporter, defaultParse as parse, utils, ERROR_CODES, };
|
46 | export type { Importer, Handler, Resolver, ResolverClass, ResolverFunction, FileState, Config, Documentation, DocumentationBuilder, };
|