/// import { StateHandler, StateHandlerState } from "./StateHandler"; export declare const storage: Map; listeners?: import("react").Dispatch[] | undefined; }>; export declare function initHandler | StateHandlerState)>(handlerClass: new (s?: T) => H, initial_value?: T | (() => T)): H; export declare function mountLogic | StateHandlerState)>(dispatcher: React.Dispatch>, handlerClass: new (s?: T) => H): () => void; export declare function unmountLogic(dispatcher: React.Dispatch>, handler: StateHandler): void; /** * Gets the instance of the handler class. * This is not a hook. It will not trigger re-renders when used in components. * * @template T - The type of the state. * @template S - The type of the setState function. * @template H - The type of the StateHandler class. * @param handlerClass - The constructor of the StateHandler class. * @returns The instance of the StateHandler class. */ export declare function getHandler | StateHandlerState)>(handlerClass: new (s?: T) => H): H;