\(\left(\sqrt{45}-\sqrt{20}+2022\sqrt{5}\right):\sqrt{5}\)
\(=\left(\sqrt{3^2\cdot5}-\sqrt{2^2\cdot5}+2022\sqrt{5}\right):\sqrt{5}\)
\(=\left(3\sqrt{5}-2\sqrt{5}+2022\sqrt{5}\right):\sqrt{5}\)
\(=\sqrt{5}\cdot\left(3-2+2022\right):\sqrt{5}\)
\(=2023\sqrt{5}:\sqrt{5}\)
\(=2023\)