//#region src/core/interfaces/vertices/util/vertex-query/util.d.ts declare const FLATTEN_KEY = "__flatten"; type FlattenKey = typeof FLATTEN_KEY; /** * Flattens an object by replacing all keys that have a `{ [FLATTEN_KEY]: true }` marker with their child keys in dot-notation. */ type _Flatten = { [K in _FlattenedEntries as K extends [infer A, any] ? A : never]: K extends [any, infer B] ? B : never }; type _FlattenedEntries = { [K in keyof T]: T[K] extends { [FLATTEN_KEY]: true; } ? { [S in keyof Omit]: [`${K & string}.${S & string}`, T[K][S]] }[keyof Omit] : [K, T[K]] }[keyof T]; //#endregion export { FLATTEN_KEY, _Flatten }; //# sourceMappingURL=util.d.ts.map