import { type IContainer, ResolveOneOptions } from '../container/IContainer';
import { ProviderOptions } from '../provider/IProvider';
import { type constructor } from '../utils/basic';
export type WithArgs = {
    args: unknown[];
};
export type InjectOptions = Partial<WithArgs>;
export interface IInjector {
    resolve<T>(container: IContainer, value: constructor<T>, options?: ProviderOptions): T;
}
export interface IInjectFnResolver<T> {
    resolve(s: IContainer, options?: ResolveOneOptions): T;
}
export declare abstract class Injector {
    resolve<T>(scope: IContainer, Target: constructor<T>, { args, lazy }?: ProviderOptions): T;
    protected abstract createInstance<T>(scope: IContainer, Target: constructor<T>, options?: InjectOptions): T;
}
