1 | import ts from "typescript";
|
2 | import type { Logger } from "./loggers.js";
|
3 | import type { Options } from "./options/index.js";
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export declare const EntryPointStrategy: {
|
9 | |
10 |
|
11 |
|
12 |
|
13 | readonly Resolve: "resolve";
|
14 | |
15 |
|
16 |
|
17 |
|
18 | readonly Expand: "expand";
|
19 | |
20 |
|
21 |
|
22 |
|
23 | readonly Packages: "packages";
|
24 | |
25 |
|
26 |
|
27 | readonly Merge: "merge";
|
28 | };
|
29 | export type EntryPointStrategy = (typeof EntryPointStrategy)[keyof typeof EntryPointStrategy];
|
30 | export interface DocumentationEntryPoint {
|
31 | displayName: string;
|
32 | program: ts.Program;
|
33 | sourceFile: ts.SourceFile;
|
34 | }
|
35 | export interface DocumentEntryPoint {
|
36 | displayName: string;
|
37 | path: string;
|
38 | }
|
39 | export declare function inferEntryPoints(logger: Logger, options: Options): DocumentationEntryPoint[];
|
40 | export declare function getEntryPoints(logger: Logger, options: Options): DocumentationEntryPoint[] | undefined;
|
41 |
|
42 |
|
43 |
|
44 |
|
45 |
|
46 |
|
47 | export declare function getDocumentEntryPoints(logger: Logger, options: Options): DocumentEntryPoint[];
|
48 | export declare function getWatchEntryPoints(logger: Logger, options: Options, program: ts.Program): DocumentationEntryPoint[] | undefined;
|
49 | export declare function getPackageDirectories(logger: Logger, options: Options, packageGlobPaths: string[]): string[];
|
50 | export declare function getExpandedEntryPointsForPaths(logger: Logger, inputFiles: string[], options: Options, programs?: ts.Program[]): DocumentationEntryPoint[];
|