Typescript of first draft of Egmont