type Document = any;