import { UseOptimisticSetReturn } from '../types/react/UseOptimisticSetReturn'; /** * Manages a set of ids with optimistic add-and-rollback. * * Generalizes the alerts/unacknowledged-bulletins acknowledgement flow: an item * is hidden immediately by adding its id, the persistence call runs, and the id * is removed again if the call reports failure - so a failed write never leaves * a permanently hidden item. * @returns {UseOptimisticSetReturn} The set, membership test, and optimistic add. */ export declare const useOptimisticSet: () => UseOptimisticSetReturn; //# sourceMappingURL=useOptimisticSet.d.ts.map