type DeepPartial = Partial<{ [K in keyof T]: T[K] extends object ? DeepPartial : T[K]; }>; declare const REMOVED_PLACEHOLDER = ""; export type Limited = (T extends object ? DeepPartial : T) | typeof REMOVED_PLACEHOLDER; export declare function limitObjectDepth(val: T, depth: number): Limited; export {};