A Ukrainian official says Kyiv has agreed to the terms of a deal which would give the US access to mineral deposits.