/// export interface ElementarOptions { readonly invalidElements?: string[]; readonly emptyElements?: string[]; readonly contentElements?: string[]; readonly abstractElements?: string[]; readonly customElements?: CustomElement[]; readonly elementProps?: { [index: string]: string[]; }; readonly onElement?: OnElementFunction; } export declare const ELEMENTAR_OPTIONS: ElementarOptions; export interface OnElementFunction { (element: CheerioElement): OnElementReturn; } export declare type OnElementReturn = 'invalid' | 'abstract' | ElementBuildData; export interface ElementBuildData { name: string; props?: { [index: string]: string; }; isContent: boolean; isLeaf: boolean; } export interface CustomElement { name: string; build(node: CheerioElement, options?: ElementarOptions): ElementBuildData; } export declare function mergeDefaultOptions(options: ElementarOptions): { invalidElements?: string[]; emptyElements?: string[]; contentElements?: string[]; abstractElements?: string[]; customElements?: CustomElement[]; elementProps?: { [index: string]: string[]; }; onElement?: OnElementFunction; };