type ParentNodeType = HTMLElement | ShadowRoot | ParentNode | null; /** * 将驼峰命名字符串拆分为单词或数字的数组。 * * @param {string} str - 要拆分的驼峰命名字符串。 * @returns {string[]} - 包含拆分结果的数组。 * @example * const inputStr = "TopLeft"; * const result = splitCamelCase(inputStr); * // 输出:["Top", "Left"] */ export declare function splitCamelCase(str: string): string[]; /** * @function getParentNode 获取目标元素的父元素 */ export declare function getParentNode(node: Node): ParentNodeType; /** * @function getView 获取指定元素上层的视图元素 * */ export declare function getView(target: HTMLElement): ParentNodeType; export {};