export declare function parse(document: string): any;