/** * tiny alternative to dot-prop or lodash.get that only works with * JSON-compatible objects * * also works with any class that provides a toObject() method that produces * a JSON-compatible object */ export declare function get(root: InputType, path: Accessor, defaultValue?: InputType[Accessor]): InputType[Accessor]; export declare function get(root: any, path: string | number | (string | number)[], defaultValue?: ReturnType): ReturnType; /** * @deprecated use get() */ export declare const dotprop: typeof get;