import { IDestroyable } from "../interfaces"; import { ILifetime, ServiceContainer } from "./interfaces"; import { ActivationContext } from "./ActivationContext"; export declare class LifetimeManager implements IDestroyable { private _cleanup; private _cache; private _destroyed; private _pending; create(): ILifetime; destroy(): void; static empty(): ILifetime; static hierarchyLifetime(): { initialize(context: ActivationContext): void; get(): any; has(): boolean; store(item: any, cleanup?: ((item: any) => void) | undefined): void; toString(): string; }; static contextLifetime(): { initialize(context: ActivationContext): void; get(): any; has(): boolean; store(item: any): void; toString(): string; }; static singletonLifetime(typeId: string): { has(): boolean; get(): any; initialize(): void; store(item: any): void; toString(): string; }; static containerLifetime(container: ServiceContainer): { initialize(context: ActivationContext): void; get(): any; has(): boolean; store(item: any): void; toString(): string; }; }