import { Options } from "./options"; export declare class Cleanup { private _supressLogging; private _cleanupList; private _isFinalized; constructor(options: Options); get isFinalized(): boolean; /** * * @param cleanupFunction Insert a cleanup function to the cleanup stack. */ addCleanup(cleanupFunction: Function): void; /** * @deprecated Don't use this method directly. */ finalize(): Promise; }