declare module '@jperl/html-parse-stringify' {
interface Doc {
attrs?: any;
children?: Doc[];
content?: string;
name?: string;
type: string;
voidElement?: boolean;
}
interface IOptions {
components: string[];
}
function parse_tag(tag: string): Doc;
function parse(html: string, options?: IOptions): Array;
function stringify(docs: Doc[]): string;
}