Three–dimensional quaternionic Kolosov-Muskhelishvili formulae in infinite space with a cavity