import { EnsureNotUnion, IsUnion } from "./type.utils-Ca6oye6I.js"; //#region src/shared/composition.utils.d.ts declare const extractProp: (k: K) => (actual: T) => T[K]; declare const extractProps: (...keys: K) => (obj: T) => { [key in K[number]]: T[key] }; declare const extractId: (withId: T) => T["id"]; interface Serializable { serialize(): R; } declare const toSerialized: (serializable: Serializable) => Serialized; type WithKey = IsUnion extends true ? never : { [P in K]: T }; declare const nestWithKey: (key: EnsureNotUnion) => (obj: T) => WithKey; //#endregion export { extractId as extractId$1, extractProp as extractProp$1, extractProps as extractProps$1, nestWithKey as nestWithKey$1, toSerialized as toSerialized$1 }; //# sourceMappingURL=composition.utils-BSk61-6P.d.ts.map