import type { TypeOfDictionary } from '../types'; import type { Collection } from '@sdkset/types'; /** * 返回给定对象指定`path`(使用`toPath`转换)键的值,如果指定键不存在则返回`defaultValue`。 * * @example * const stooge = { name: 'moe' } * get(stooge, 'name') * => 'moe' * * @param object 给定对象 * @param path 检索路径 * @param defaultValue 默认值 */ export declare function get(object: V, path: unknown, defaultValue?: U): U | TypeOfDictionary;