import { type DecisionFunction } from './../value/decision'; /** * DecisionFunction that checks whether or not the input is in the set, or the input's value is in the set. */ export type IsInSetDecisionFunction = DecisionFunction & { readonly _readValue: (input: T) => V; readonly _set: Set; }; /** * Creates an {@link IsInSetDecisionFunction} that checks whether a value (or a derived value) is in the given set. * * @param set - The set to check membership against. * @param readValue - Optional function to extract the lookup value from the input. Defaults to identity. * @returns A decision function that returns true for values found in the set. */ export declare function isInSetDecisionFunction(set: Set): IsInSetDecisionFunction; export declare function isInSetDecisionFunction(set: Set, readValue: (value: T) => V): IsInSetDecisionFunction;