export declare function createRunWithCleanup(): (fn: () => any, id: string) => void;