export interface AttributeMap { [key: string]: string; } export declare const cleanText: (text?: string) => string; export declare const cleanLabels: (labels: NodeListOf) => string; export declare const serializeAttributes: (element: HTMLElement) => AttributeMap; export declare const serializeElement: (element: HTMLElement) => AttributeMap; export declare const serializeElementAndDescendants: (element: HTMLElement) => AttributeMap[];