To get the answer to that question, we need to read the Ukrainian constitution, not listen to any administration's diplomats.
My limited understanding:
in a "situation of war", elections are suspended
a ceasefire may be grounds for ending the situation of war
the situation of war is ended by a vote of the Rada (parliament)
quite obviously, that's done if a ceasefire holds and Russia seems to follow through with promises