Branes in \(N=2,\, D=4\) supergravity and the conformal field theory limit. Nonperturbative corrections to 4D string theory effective actions from \(\mathrm{SL}(2,\mathbb Z)\) duality and supersymmetry 