/** @internal */
export declare function withCleanup<T extends object>(item: T, cleanup: (item: T) => void): T & Disposable;
//# sourceMappingURL=withCleanup.d.ts.map