/** @packageDocumentation
 * @module Base
 */
import type { PanelSide } from "../widget-panels/PanelTypes";
import type { FloatingWidgetState, WidgetState } from "./WidgetState";
/** @internal */
export interface FloatingWidgetRestoreState {
    widgetId: WidgetState["id"];
    floatingWidget: FloatingWidgetState;
}
/** @internal */
export interface PanelWidgetRestoreState {
    widgetId: WidgetState["id"];
    side: PanelSide;
    widgetIndex: number;
}
/** @internal */
export type WidgetRestoreState = FloatingWidgetRestoreState | PanelWidgetRestoreState;
/** @internal */
export declare function isFloatingWidgetRestoreState(state: WidgetRestoreState): state is FloatingWidgetRestoreState;
/** @internal */
export declare function isPanelWidgetRestoreState(state: WidgetRestoreState): state is PanelWidgetRestoreState;
//# sourceMappingURL=WidgetRestoreState.d.ts.map