If $\triangle ABC$ and $\triangle A'B'C'$ are a pair of triangles such that
$$\dfrac{|AB|}{|A'B'|}=\dfrac{|BC|}{|B'C'|}=\dfrac{|AC|}{|A'C'|}$$
is equivalent to
$\triangle ABC$ has the sides $a, b, c$ and $\triangle A'B'C'$ has the sides $a·k, b·k, c·k$ for some $k\in \mathbb R\;\;$
In virtue of the similarity criterion sss, we obtain, as desired, that $$\triangle ABC\sim \triangle A'B'C'$$
Now, why does this work?
Observe, that in virtue of the Law of Cosines
$$\cos{\alpha}=\frac{b^2+c^2-a^2}{2bc}$$
and
$$\cos{\alpha'}=\frac{b^2k^2+c^2k^2-a^2k^2}{2bk\cdot ck}=\frac{b^2+c^2-a^2}{2bc}$$
And since $f(x)=\cos(x)$ is injective in $(0, \pi)$, we know that $$\color{blue}{\alpha=\alpha'\; \text{ similarly }\; \beta=\beta'\; \text{ and }\; \gamma=\gamma'}$$