@zougui/common.furaffinity
Version:
10 lines • 644 B
TypeScript
import { DescriptionNode } from '../types';
export declare const isTextNode: (node: ChildNode) => boolean;
export declare const areChildNodesText: (node: ChildNode) => boolean;
export declare const getElementStyle: (element: Element) => string | undefined;
export declare const getNodeName: (node: ChildNode) => string;
export declare const getTextAlign: (element: Element) => 'left' | 'right' | 'center';
export declare const getElementNode: (node: ChildNode, element: Element | undefined, parseElement: ParseElement) => DescriptionNode;
type ParseElement = (element: Element) => DescriptionNode[];
export {};
//# sourceMappingURL=dom.d.ts.map