import type { IRouterSlot } from '../model.js'; /** * Queries the parent router. * @param $elem */ export declare function queryParentRouterSlot($elem: Element): IRouterSlot | null; /** * Traverses the roots and returns the first match. * The minRoots parameter indicates how many roots should be traversed before we started matching with the query. * @param $elem * @param query * @param minRoots * @param roots */ export declare function queryParentRoots($elem: Element, query: string, minRoots?: number, roots?: number): T | null;