export declare const getDefaultWhenNull: (value: T | undefined, path: keyof T, defaultValue: V) => V;