/** * Gets the size of the set. * @returns the size of the set * ```typescript * pipe( * new Set([ 1, 2, 3]), * Sets.size() // -> 3 * ); * ``` */ export declare const size: (noArg?: undefined) => (set: Set) => number; /** * Checks whether the set contains a given element. * @returns true if the set contains the element * ```typescript * pipe( * new Set([ 1, 2, 3]), * Sets.has(2) // -> true * ); * ``` */ export declare const has: (val: T) => (set: Set) => boolean; /** * Executes a function for each element in the set. * @param fn - the function to execute for each element * ```typescript * pipe( * new Set([ 1, 2, 3 ]), * Sets.forEach(val => console.log(val)) // logs: 1, 2, 3 * ); * ``` */ export declare const forEach: (fn: (val1: T, val2: T, set: Set) => void) => (set: Set) => void;