/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { IDisposeStrategy } from "../DisposeStrategy"; import type { ResourceScope } from "../ResourceScope"; /** * Opt out of automatic disposal at run boundaries. Resources persist across * `runComplete()` calls. `dispose(key)` and `disposeAll()` still work as * explicit escape hatches. `onScopeDestroy` (called via `await using`) * disposes everything as a safety net so the scope does not leak when it * genuinely goes out of scope. */ export declare class NeverDisposeStrategy implements IDisposeStrategy { onRegister(_key: string, disposer: () => Promise, _scope: ResourceScope): () => Promise; /** No inactivity tracking — intentionally a no-op. */ touch(_key: string): void; onRunComplete(_scope: ResourceScope): Promise; onScopeDestroy(scope: ResourceScope): Promise; } //# sourceMappingURL=NeverDisposeStrategy.d.ts.map