/** --- 将 pop 显示出来 --- */ export declare function showPop(e: PointerEvent | HTMLElement, pop: HTMLElement): void; /** --- 隐藏正在显示的中的 pop --- */ export declare function hidePop(pop?: HTMLElement): void; /** * --- 通过 class 名查找上层所有标签是否存在 --- * @param el 当前标签 * @param name 要查找的 class 名 */ export declare function findParentByClass(el: HTMLElement, name: string): HTMLElement | null; /** * --- 通过 tagname 查找上层所有标签是否存在 --- * @param el 当前标签 * @param name 要查找的 tagname 名,小写,如 table */ export declare function findParentByTag(el: HTMLElement, name: string): HTMLElement | null; /** * --- 判断一个元素是当前同级的第几位 --- * @param el 要判断的元素 */ export declare function index(el: HTMLElement): number; /** * --- 判断是否是 rtl 布局 --- */ export declare function isRtl(): boolean; /** * --- 获取 CSS 变量的计算值 --- * @param name 变量名,如 --pe * @param el 获取变量的元素,默认为 html */ export declare function getCssVar(name: string, el?: HTMLElement): string; /** * --- 将 CSS 颜色值转换为十六进制格式 --- * @param color CSS 颜色值 */ export declare function colorToHex(color: string): string;