interface ParsedDocument { rels: Rels; "rel-urls": RelUrls; items: MicroformatRoot[]; } type MicroformatProperties = Record; interface MicroformatRoot { id?: string; lang?: string; type?: string[]; properties: MicroformatProperties; children?: MicroformatRoot[]; value?: MicroformatProperty; } interface Image { alt: string; value?: string; } interface Html { html: string; value: string; lang?: string; } type MicroformatProperty = MicroformatRoot | Image | Html | string; type Rels = Record; type RelUrls = Record; interface Options { baseUrl: string; experimental?: { lang?: boolean; textContent?: boolean; metaformats?: boolean; }; } declare const mf2: (html: string, options: Options) => ParsedDocument; export { type Options, mf2 };