A "preliminary" deal to end the two-year ownership impasse at the Daily Telegraph has been agreed, according to the newspaper.