As far as I understood, the Fourier decomposition of a function $\boldsymbol{F}\colon\mathbb{R}^{n}\to\mathbb{R}^{m}$ where $\mathbb{R}^{n}$ is endowed with the Euclidean inner product $\left<\cdot,\cdot\right>$ is given by
$\boldsymbol{F}(\bar{x})=\int_{\mathbb{R}^{n}}{\tilde{\boldsymbol{F}}(\bar{\nu})e^{2\pi i \left<\bar{\nu},\bar{x}\right>}}{d\bar{\nu}}$
where $\tilde{\boldsymbol{F}}(\bar{\nu})=\int_{\mathbb{R}^{n}}{\boldsymbol{F}(\bar{x})e^{-2\pi i \left<\bar{\nu},\bar{x}\right>}}{d\bar{x}}$
How does this come about and for which functions does it apply? I'm not even able to find the right framework to work in (Hilbert spaces?). Secondly, could I just replace the Euclidean inner product by the Minkowskian inner product when in Minkowski space?