export interface StableActions { add: (key: K) => void; remove: (key: K) => void; toggle: (key: K) => void; reset: () => void; clear: () => void; } export interface Actions extends StableActions { has: (key: K) => boolean; } declare const useSet: (initialSet?: Set) => [Set, Actions]; export default useSet;