/** * Angular Roots * * The Angular analog of "@DocumentDesign classes are the roots". Finds the entry * components a DI tree is rendered "from the page/root component on down": * * - Bootstrap root: `bootstrapApplication(AppComponent, appConfig)` in main.ts * — `arguments[0]` is the root component. * - Route roots: the `Routes`-typed array (and any array passed to * `provideRouter(...)`). Each route object contributes its `component` / * `loadComponent` component, recursing through `children`. * * Each resolved component becomes its own `DiDesign` (one tree per root, like * one-design-per-controller). Roots are de-duplicated by class declaration. */ import * as ts from 'typescript'; /** * Find every Angular entry component (bootstrap + routed) in the project, sorted * by class name for deterministic output. */ export declare function findAngularRoots(program: ts.Program, checker: ts.TypeChecker, workspaceRoot: string, projectRoot: string): ts.ClassDeclaration[];