/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { Reference } from '../../../imports'; import { DeclarationNode } from '../../../reflection'; /** * Implement this interface if you want DecoratorHandlers to register * references that they find in their analysis of the code. */ export interface ReferencesRegistry { /** * Register one or more references in the registry. * @param references A collection of references to register. */ add(source: DeclarationNode, ...references: Reference[]): void; } /** * This registry does nothing. */ export declare class NoopReferencesRegistry implements ReferencesRegistry { add(source: DeclarationNode, ...references: Reference[]): void; }