/** * Process a typescript file to extract associated {@link TsSrcElements}. * * @param rootPath Project's root path. * @param filePath File to process * @param elements Dictionary in which new elements are added. */ export declare function processFile(rootPath: string, filePath: string, elements: TsSrcElements): void; /** * Gather additional source code information w/ typedoc required for parsing */ export interface TsSrcElement { /** * The declaration of the symbol as included in the source file (if any). */ declaration?: string; /** * The implementation of the symbol as included in the source file (if any). */ implementation?: string; /** * The code-comment of the symbol as included in the source file (if any). */ comment?: string; } /** * Gather additional source code information w/ typedoc required for parsing for all files. * Keys are in the form "FILE_PATH:ENTITY_PATH". */ export type TsSrcElements = { [k: string]: TsSrcElement; }; /** * Generate the global dictionary of typescript inputs required for parsing. * * @param rootPath root path of the project to parse. * @param files set of files to process by typescript compiler. * @param elements aggregated entities so far. */ export declare function generateTsInputs(rootPath: string, files: Set, elements?: TsSrcElements): TsSrcElements;