UNPKG

450 BTypeScriptView Raw
1import { ComponentInternalInstance, VNode } from 'vue';
2import { FindAllComponentsSelector } from '../types';
3/**
4 * Detect whether a selector matches a VNode
5 * @param node
6 * @param selector
7 * @return {boolean | ((value: any) => boolean)}
8 */
9export declare function matches(node: VNode, rawSelector: FindAllComponentsSelector): boolean;
10export declare function find(root: VNode, selector: FindAllComponentsSelector): ComponentInternalInstance[];