import type { SetupContext } from 'vue'; import { VNode } from 'vue'; /** * stop propagation * * @param e * @param {boolean} noImmediate Skip stopping immediate propagation */ export declare function stopPropagation(e: any, noImmediate?: boolean): void; /** * use in Table, Form, Navigation * * skip clone function and react element */ export declare function cloneDeep(value: T): T; export declare function cloneDeep(value: T, customizer: (value: any) => any): any; export interface RegisterMediaQueryOption { match?: (e: MediaQueryList | MediaQueryListEvent) => void; unmatch?: (e: MediaQueryList | MediaQueryListEvent) => void; callInInit?: boolean; } /** * register matchFn and unMatchFn callback while media query * @param {string} media media string * @param {object} param param object * @returns function */ export declare const registerMediaQuery: (media: string, { match, unmatch, callInInit }: RegisterMediaQueryOption) => () => void; /** * Determine whether the incoming element is a built-in icon * @param icon 元素 * @returns boolean */ export declare const isSemiIcon: (icon: any) => boolean; export declare function getActiveElement(): HTMLElement | null; export declare function isNodeContainsFocus(node: HTMLElement): boolean; export declare function getFocusableElements(node: HTMLElement): HTMLElement[]; export declare function runAfterTicks(func: (...args: any) => any, numberOfTicks: number): Promise; export declare function getFragmentChildren(slots: SetupContext['slots']): VNode[] | undefined; export declare function getChildren(children: VNode[]): VNode[] | undefined; /** * 获取v-txt中的仅文本 * @param children */ export declare function getTextFormVText(children: VNode[]): import("vue").VNodeNormalizedChildren; /** * 当使用vue的v-for时的特殊处理 */ export declare function getVNodeChildren(arr: VNode[]): VNode[]; export declare function getScrollbarWidth(): number; export declare function styleNum(v: string | number): string | number; export declare function isVNodeTypeNotSymbol(children: VNode): boolean; export declare function getMultinodeToFragment(slots: SetupContext['slots']): VNode;