import { t as AnyFunction } from "./AnyFunction-DygJG5Tn.js"; //#region src/types/ObjectPath.d.ts type RecordFunctions = keyof { [K in keyof T as NonNullable extends AnyFunction ? K : never]: K }; type NormalizedPath = Path, Exclude, ExcludeFromType>>; type OfType = NonNullable extends E ? true : false; type Path = K extends string ? OfType> extends true ? OfType> extends true ? // biome-ignore lint/suspicious/noExplicitAny: expected here K | `${K}.${NormalizedPath}` | `${K}[${number}]` : K | `${K}.${NormalizedPath>}` : K : never; /** * A string type that represents a valid path to a property in an object. * @example * ```ts * type ObjectPathExample = ObjectPath<{ * a: { * b: 1 * } * }>; 'a' | 'a.b' * ``` */ type ObjectPath = string & (Path | keyof T); //#endregion export { ObjectPath as t }; //# sourceMappingURL=ObjectPath-BSYwa2RB.d.ts.map