/**
 * Angular templates: what a component renders and where it links.
 *
 * An Angular component's markup is a template — a `templateUrl` file beside
 * it, or an inline `template:` string — that the index never parses, so three
 * things a reader relies on were missing from the graph:
 *
 * - **The component tree.** `<app-article-list [config]="listConfig">` in the
 *   home page's template renders `ArticleListComponent`, and the
 *   `<app-favorite-button>` inside that renders the button whose click
 *   navigates. Without the edge, a navigation in a child component reached no
 *   screen. A `calls` edge from the parent class to the child class
 *   (`synthesizedBy: 'angular-template'`) stands for the render, the way
 *   `jsx-render` does for a React child.
 * - **`routerLink`.** `routerLink="/login"`, `routerLink="/profile/{{ name }}"`,
 *   `[routerLink]="['/article', article.slug]"`, and a bound property that
 *   holds a route constant (`[routerLink]="routerLinkAbout"` with
 *   `routerLinkAbout = publicRoutes.about.routerLink`) each become a
 *   `navigates` edge from the component to the route it names.
 *
 * - **Event bindings.** `(click)="toggleFavorite()"` is the only caller a
 *   handler method has. A `calls` edge from the component to its own method
 *   (`synthesizedBy: 'angular-event'`) carries the binding as its
 *   `trigger`, the label Steps puts on the hop — read from the template, so
 *   it cannot be read back from the source at the edge's line.
 *
 * A child is matched by its element selector (`selector: 'app-article-list'`),
 * in the same app first; a selector two components share there is left
 * unmatched. A relative link and a destination no route serves draw nothing.
 */
import type { Edge, Node } from '../types';
import type { ResolutionContext } from './types';
import type { MaybeYield } from './cooperative-yield';
interface AngularComponent {
    node: Node;
    file: string;
    selectors: string[];
    template: {
        file: string;
        text: string;
        firstLine: number;
        inline: boolean;
    } | null;
}
/** Every component in the project, read once per resolution state. */
export declare function angularComponents(ctx: ResolutionContext): AngularComponent[];
export declare function angularTemplateEdges(ctx: ResolutionContext, onYield: MaybeYield): Promise<Edge[]>;
export {};
//# sourceMappingURL=angular-template-synthesizer.d.ts.map