import { DeviceBuffer } from '@rapidsai/rmm'; import { Column } from './column'; import { DataFrame } from './data_frame'; import { Series } from './series'; import { Table } from './table'; declare type Resource = DataFrame | Series | Column | Table | DeviceBuffer; export declare class Disposer { private currentScopeId; private trackedResources; private ingoredResources; add(value: Resource): void; enter(doNotDispose: Resource[]): this; exit(result: any): any; } export declare const DISPOSER: Disposer; export declare function scope T | Promise)>(cb: F, doNotDispose?: Resource[]): ReturnType; export {}; //# sourceMappingURL=scope.d.ts.map