import type { Dispatch, SetStateAction } from "react";
/**
 * A hook that manages state using Immer to allow for mutable-style updates.
 *
 * @param initialState - The initial state or a function that returns the initial state.
 * @returns A tuple containing the current state and a dispatch function.
 */
export declare function useImmerState<T>(initialState: T | (() => T)): [T, Dispatch<SetStateAction<T>>];
