export declare function Cleanup(callback: () => void | Promise): void;