/** @packageDocumentation
 * @module Base
 */
import type { WritableDraft } from "immer/dist/types/types-external";
import type { HorizontalPanelSide, PanelSide, VerticalPanelSide } from "../../widget-panels/PanelTypes";
import type { NineZoneState } from "../NineZoneState";
import type { HorizontalPanelState, PanelsState, VerticalPanelState } from "../PanelState";
import type { WidgetState } from "../WidgetState";
import type { StagePanelSizeSpec } from "../../../stagepanels/StagePanelConfig";
import type { SizeProps } from "../../../utils/SizeProps";
/** @internal */
export declare function createVerticalPanelState(side: VerticalPanelSide, args?: Partial<VerticalPanelState>): VerticalPanelState;
/** @internal */
export declare function createHorizontalPanelState(side: HorizontalPanelSide, args?: Partial<HorizontalPanelState>): HorizontalPanelState;
/** @internal */
export declare function createPanelsState(args?: Partial<PanelsState>): PanelsState;
/** @internal */
export declare function updatePanelState<K extends keyof PanelsState>(state: NineZoneState, side: K, update: (draft: WritableDraft<PanelsState>[K]) => void): NineZoneState;
/** @internal */
export declare function getPanelPixelSizeFromSpec(side: PanelSide, appSize: SizeProps, panelSize: StagePanelSizeSpec): number;
/** @internal */
export declare function getPanelSize(preferredSizeSpec: StagePanelSizeSpec | undefined, side: PanelSide, minSizeSpec: StagePanelSizeSpec, maxSizeSpec: StagePanelSizeSpec, appSize: SizeProps): number | undefined;
/** @internal */
export declare function addPanelWidget(state: NineZoneState, side: PanelSide, id: WidgetState["id"], tabs: WidgetState["tabs"], widgetArgs?: Partial<WidgetState>): NineZoneState;
/** @internal */
export declare function insertPanelWidget(state: NineZoneState, side: PanelSide, id: WidgetState["id"], tabs: WidgetState["tabs"], sectionIndex: number, widgetArgs?: Partial<WidgetState>): NineZoneState;
//# sourceMappingURL=PanelStateHelpers.d.ts.map