CleanupEffect: ((cleanup: (() => any)[], doCleanup: (() => void)) => void | undefined | (() => void))