MDL-59562 core: updated type hint of new function