import { t as CastToString } from "./CastToString-njj4K8EX.cjs";
import { t as KeysOfUnion } from "./KeysOfUnion-D3-apcAx.cjs";
import { Get, UnionToIntersection } from "type-fest";

//#region src/types/PropertyValueOfUnion.d.ts
/**
 * Similar to `T[K]`, but gets the value of all the types in a union.
 */
type PropertyValueOfUnion<T extends object, K extends KeysOfUnion<T>> = Get<UnionToIntersection<T>, K & string>;
//#endregion
//#region src/functions/_internal/filterObject/createObjectPredicate.d.ts
type ObjectPredicate<T extends object> = (value: Exclude<PropertyValueOfUnion<T, KeysOfUnion<T>>, undefined>, key: CastToString<KeysOfUnion<T>>, object: T) => boolean;
//#endregion
export { PropertyValueOfUnion as n, ObjectPredicate as t };
//# sourceMappingURL=createObjectPredicate-Cdp8ClLZ.d.cts.map