import { BuiltIn } from "./BuiltIn.js"; /** * Types that should never be recursed into for path generation. * Includes primitives, built-in objects, functions, promises, * and collection types (Map, Set, WeakMap, WeakSet). * * Aligned with type-fest's NonRecursiveType for compatibility. */ type NonRecursiveType = BuiltIn | ((...args: unknown[]) => unknown) | Promise | ReadonlyMap | Map | ReadonlySet | Set | WeakMap | WeakSet; /** * Check if a type is a non-recursible type (should not generate nested paths). */ export type IsLeafType = T extends NonRecursiveType ? true : false; export {}; //# sourceMappingURL=IsLeafType.d.ts.map