Files
2025-11-24 23:24:06 +08:00

11 lines
450 B
TypeScript

import { ComponentInternalInstance, VNode } from 'vue';
import { FindAllComponentsSelector } from '../types';
/**
* Detect whether a selector matches a VNode
* @param node
* @param selector
* @return {boolean | ((value: any) => boolean)}
*/
export declare function matches(node: VNode, rawSelector: FindAllComponentsSelector): boolean;
export declare function find(root: VNode, selector: FindAllComponentsSelector): ComponentInternalInstance[];