import type { Element } from '../dom/element.js'; import type { Node } from '../dom/node.js'; import type { Text } from '../dom/text.js'; import type { Func } from '../interface/index.js'; export declare const incrementId: () => () => string; export declare function isElement(node: Node): node is Element; export declare function isText(node: Node): node is Text; export declare function isComment(node: Node): boolean; export declare function isHasExtractProp(el: Element): boolean; /** * 往上寻找组件树直到 root,寻找是否有祖先组件绑定了同类型的事件 * @param node 当前组件 * @param type 事件类型 */ export declare function isParentBinded(node: Element | null, type: string): boolean; export declare function shortcutAttr(key: string): string; export declare const customWrapperCache: Map>; interface Ctor { new (...args: any[]): any; } export declare function extend(ctor: Ctor, methodName: string, options: Func | Record): void; export declare function getComponentsAlias(): any; export {};