type KeysWhereValueIsPropertyKey = keyof { [Key in keyof T as T[Key] extends PropertyKey ? Key : never]: Key; }; /** * Matches a value based on a discriminator key * * @param value - The value to match * @param key - The discriminator key * @param options - The options to match against * @returns The result of the match */ declare function simple]: (value: Extract) => any; }>(value: T, key: K, options: Options): ReturnType]>; export { type KeysWhereValueIsPropertyKey, simple };