import { Dispatch, SetStateAction } from 'react'; export declare type UseSetActions = { setValue: Dispatch>>; add: (a: T) => void; remove: (a: T) => void; clear: Set['clear']; }; export declare type UseSet = [Set, UseSetActions]; export declare function useSet(initialState?: Set): UseSet;