interface SetActions { add: (value: T) => void; remove: (value: T) => void; toggle: (value: T) => void; reset: () => void; clear: () => void; has: (value: T) => boolean; } type UseSetResult = [Set, SetActions]; /** * Custom hook to manage state as a Set, providing helper functions. * * @template T - The type of the values in the Set. * @param initialSet - Optional initial Set or an iterable of values. * @returns A tuple containing the current Set state and an actions object. */ export declare const useSet: (initialSet?: Set | Iterable) => UseSetResult; export {};