import type { Lazy } from "../../util/lazy"; /** * MapのようなKey-Valueの状態を保持するhook * @param initialState 初期値 */ export declare const useCollection: (initialState: Lazy | [K, V][]>) => { set: (key: K, value: Lazy) => void; setEach: (fn: (prevValue: V, key: K) => V) => void; get: (key: K) => V | undefined; remove: (key: K) => void; reset: () => void; values: () => V[]; map: () => ReadonlyMap; }; //# sourceMappingURL=useCollection.d.ts.map