import { type GenericTreePaths, type PathTree } from './path-tree.js'; /** * Extracts a child path tree that matches the given paths, or, if they don't match, returns * `undefined`. * * @category Main */ export declare function extractPathTree>(currentPaths: ReadonlyArray, root: PathTree | Readonly>, /** The specific subtree of the root tree that you want to match. */ subTree: Tree): Tree | undefined;