import { Context } from "@halsp/core"; import { InjectType } from "../inject-type"; export declare function createInject(handler: (parent: any) => T | Promise, target: any, propertyKey: string | symbol, parameterIndex: number | undefined, type: InjectType.Singleton): void; export declare function createInject(handler: (ctx: Context, parent: any) => T | Promise, target: any, propertyKey: string | symbol, parameterIndex?: number, type?: InjectType): void;