/** * Walks the JSON queries of a JSON-Path string, in order, and returns the properties of the first one * matching the given `find` function. * @param {string} path The JSON-Path string to search. * @param {(props: Record) => boolean} find A function to test each set of extracted properties. * @returns {Record | undefined} The properties of the first JSON query that matches the find function, or an empty object if none match. * @example * ```ts * const path = `$.values[?(@.key == 'y')].value.contentData[?(@.alias == 'x')]`; * const props = extractFirstJsonQueryContaining(path, (props) => props.alias !== undefined); * console.log(props); // { alias: 'x' } * ``` */ export declare function extractFirstJsonQueryContaining(path: string, find: (props: Record) => boolean): Record | undefined;