/** * @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 { Constructor, InjectionToken } from './injection_token'; import { NotFound } from './not_found'; export interface Injector { retrieve(token: InjectionToken, options?: unknown): T | NotFound; } export declare function getCurrentInjector(): Injector | undefined | null; export declare function setCurrentInjector(injector: Injector | null | undefined): Injector | undefined | null; export declare function inject(token: InjectionToken | Constructor): T;