UNPKG

@atlaskit/navigation-system

Version:

The latest navigation system for Atlassian apps.

15 lines (14 loc) • 665 B
import { type LayoutArea, type LayoutAreaConfig, type LayoutAreaMode, type LayoutAreaState } from './layout-area-sizing-context'; import type { ResizeBounds } from './panel-splitter/types'; export declare function useLayoutAreaSizing({ area, config, }: { area: LayoutArea; config: LayoutAreaConfig; }): { isManaged: boolean; prepareResize: (() => Promise<boolean>) | undefined; state: LayoutAreaState | undefined; getResizeBounds: () => ResizeBounds | undefined; startResize: (mode: LayoutAreaMode) => void; resize: (mode: LayoutAreaMode, width: number) => void; completeResize: (mode: LayoutAreaMode, width: number) => void; };