import { Context } from "@halsp/core"; import { InjectType } from "../inject-type"; import "reflect-metadata"; export declare function Inject(handler: (parent: any) => T | Promise, type: InjectType.Singleton): PropertyDecorator & ParameterDecorator; export declare function Inject(handler: (ctx: Context, parent: any) => T | Promise, type?: InjectType.Scoped | InjectType.Transient): PropertyDecorator & ParameterDecorator; export declare function Inject(key: string): PropertyDecorator & ParameterDecorator; export declare function Inject(target: any): void; export declare function Inject(target: any, propertyKey: string | symbol): void; export declare function Inject(target: any, propertyKey: string | symbol | undefined, parameterIndex: number): void; export declare function getClassProptotype(target: any): any; export declare function getClassConstractor(target: any): any;