export declare class Scope { name: string; constructor(name: string); toString(): string; } export declare type ProvideScope = 'root' | Scope; export interface InjectableOptions { provideIn: ProvideScope; } export interface Injectable { provideIn?: ProvideScope; } export interface InjectableDecorator { (options?: InjectableOptions): ClassDecorator; new (options?: InjectableOptions): Injectable; } /** * 可注入类的装饰器 */ export declare const Injectable: InjectableDecorator;