import type { WidgetState } from '../../stores' /** * State extension owned by FullScreen. The base `WidgetState` deliberately * stays free of widget-specific UI flags (R12 from the round-5 amendment); * actions that need persistent UI state declare it here and read it via the * generic `useWidget(id, sel)` form. * * `isFullScreen` survives `keepAlive` remounts because it lives on the same * store the rest of `WidgetState` does — a kept-alive widget that was * fullscreen reopens fullscreen automatically. */ export interface FullScreenWidgetState extends WidgetState { isFullScreen: boolean }