import type { Criterion } from '../utils/convertKeywordToCriterion.ts'; import type { Json } from '../utils/types.ts'; interface PathOptions { /** * List of paths to ignore */ ignorePaths: RegExp[]; /** * List of paths to include. `ignorePaths` has precedence. */ includePaths?: RegExp[]; } /** * Recursively traverse an item to match it against a query criterion. */ export default function recursiveMatch( /** * The element to match the query with */ element: Json, /** * A query criterion */ criterion: Criterion, /** * The path of the passed element in the original data item */ path: string[], /** * General options. */ options: PathOptions): boolean; export {}; //# sourceMappingURL=recursiveMatch.d.ts.map