import type { ContextWithState } from '../../Types';
import type { StateAtom } from './Types';
export type MapStateAtom<K, V> = StateAtom<ReadonlyMap<K, V>, {
    setAll: (map: ReadonlyMap<K, V>, value: [K, V][]) => boolean;
    add: (map: ReadonlyMap<K, V>, key: K, value: V) => boolean;
    remove: (map: ReadonlyMap<K, V>, key: K) => boolean;
    reset: (map: ReadonlyMap<K, V>) => boolean;
}>;
export declare const createMapStateAtom: <K, V>(context: ContextWithState) => MapStateAtom<K, V>;
