import { Dispatch, SetStateAction } from "react"; import { Store } from "@tanstack/store"; //#region src/web/stores/dashboardStateStore.d.ts /** Memory only. Keys include the form and its resource, never the selected template. */ export declare function dashboardStateFor(key: string, initial: T | (() => T)): Store; /** The store is also exposed for synchronous admission checks in event handlers. */ export declare function useDashboardState(key: string, initial: T | (() => T)): [T, Dispatch>, Store]; /** Test seam. Existing subscribers must be unmounted before resetting. */ export declare function resetDashboardState(): void; //#endregion //# sourceMappingURL=dashboardStateStore.d.mts.map