/** * 从对象中检索给定选择器指示的一组属性 * * {@link https://30secondsofcode.org/object#get} * @param {Record} from - 源对象 * @param {...string} selectors - 属性选择器 * @returns {any[]} 检索到的属性值数组 * @example * * const obj = { selector: { to: { val: 'val to select' } }, target: [1, 2, { a: 'test' }] }; * get(obj, 'selector.to.val', 'target[0]', 'target[2].a'); * // => ['val to select', 1, 'test'] */ export declare function get(from: Record, ...selectors: string[]): any[];