import type { CanBeUndefined } from '../CanBeUndefined.js'; import type { IsOptional } from '../IsOptional.js'; /** @inline */ type DeepFlattenValue = IsOptional, Exclude, undefined>>, DeepFlatten>; /** @inline */ export type DeepFlatten = T extends (...args: any) => any ? T : T extends abstract new (...args: any) => any ? T : [{ [k in keyof T]: DeepFlattenValue; }][0]; export {}; //# sourceMappingURL=DeepFlatten.d.ts.map