interface Options { preformattedCode?: boolean; } interface FlankingWhitespace { leading: string; trailing: string; } export interface ExtendedNode extends Element { isBlock: boolean; isCode: boolean; isBlank: boolean; flankingWhitespace: FlankingWhitespace; } export declare function ExtendedNode(node: Node, options: Options): ExtendedNode; export declare const NodeTypes: { readonly Element: 1; readonly Text: 3; readonly CDATASection: 4; readonly Comment: 8; }; export type NodeType = typeof NodeTypes[keyof typeof NodeTypes]; export {};