export declare type TValueObjectType<O, P> = P extends `${infer Left}.${infer Right}` ? Left extends keyof O ? TValueObjectType<Exclude<O[Left], undefined>, Right> | Extract<O[Left], undefined> : undefined : P extends keyof O ? O[P] : undefined;
declare const getValueObject: <D, P extends string, DV = TValueObjectType<D, P>>(data: D, path: P, defaultValue?: DV | undefined) => DV | TValueObjectType<D, P>;
export default getValueObject;
