///
import type { GridStack } from "gridstack";
export interface GridStackContextValue {
grid: GridStack | null;
/** Bumped after GS-driven structural changes (add/remove) so portal containers re-sync. */
layoutVersion: number;
/** @internal — used by `useWidgetSerializer` via `` */
registerWidgetSerializer: (id: string, serialize: () => Record | undefined, deserialize?: (data: Record) => void) => () => void;
}
export declare const GridStackContext: import("react").Context;
export declare function useGridStackContextValue(): GridStackContextValue;
//# sourceMappingURL=gridstack-context.d.ts.map