import type { Component, ComponentInternalInstance, Slots, VNode, VNodeTypes } from 'vue'; export declare enum ShapeFlags { ELEMENT = 1, FUNCTIONAL_COMPONENT = 2, STATEFUL_COMPONENT = 4, COMPONENT = 6, TEXT_CHILDREN = 8, ARRAY_CHILDREN = 16, SLOTS_CHILDREN = 32, TELEPORT = 64, SUSPENSE = 128, COMPONENT_SHOULD_KEEP_ALIVE = 256, COMPONENT_KEPT_ALIVE = 512 } export declare const isHtmlElementVNode: (vn: VNode, _?: VNodeTypes) => _ is Component; export declare const isComponentVNode: (vn: VNode, _?: VNodeTypes) => _ is Component; export declare const hasTextChildren: (child: VNode, _?: VNode["children"]) => _ is string; export declare const hasArrayChildren: (vn: VNode, _?: VNode["children"]) => _ is VNode[]; export declare const hasSlotsChildren: (vn: VNode, _: VNode["children"]) => _ is Slots; export declare const isTextVNode: (vn: VNode) => boolean; export declare const flattenVNodes: (children: VNode[] | undefined) => VNode[]; export declare function traverseParent(instance: ComponentInternalInstance | null, callback: (arg: ComponentInternalInstance) => void | boolean): void;