/** * 获取所有后代元素 * @param element HTMLElement | Node * @returns ChildNode[] */ export declare const getDescendant: (element: HTMLElement | Node) => HTMLElement[]; /** * 生成唯一 ID */ export declare const generateID: (pre?: string) => string; /** * 判断元素是否隐藏 * @param el * @returns */ export declare const isHidden: (el: HTMLElement) => boolean; /** * consle.log */ export declare const selfLog: (...data: any[]) => void;