import { TupleHasIndex } from '../array/TupleHasIndex'; import { Inc } from '../number/Inc'; /** * Retrieve the value at a given path. * @see http://ramdajs.com/docs/#path */ export type PathFn, I extends number = 0> = { 1: PathFn, 0: T }[TupleHasIndex]; // export declare function path>(obj: T, path: R): PathFn;