export type Cleanup = () => void | Promise; export type LifecycleStatus = 'ready' | 'closing' | 'closed'; export declare class Lifecycle { #private; get signal(): AbortSignal; get status(): LifecycleStatus; add(cleanup: Cleanup): () => void; close(): Promise; } //# sourceMappingURL=lifecycle.d.ts.map