/** @packageDocumentation * @module StagePanels */ import "./StagePanel.scss"; import * as React from "react"; import { CommonProps } from "@bentley/ui-core"; import { SafeAreaInsets } from "../utilities/SafeAreaInsets"; /** Describes available stage panel types. * @beta */ export declare enum StagePanelType { Bottom = 0, Left = 1, Top = 2, Right = 3 } /** Helpers for [[StagePanelType]]. * @internal */ export declare class StagePanelTypeHelpers { /** @returns Class name of specified [[StagePanelType]] */ static getCssClassName(type: StagePanelType): string; /** Returns true if stage panel with specified [[StagePanelType]] is vertical. */ static isVertical(type: StagePanelType): boolean; } /** Properties of [[StagePanel]] component. * @beta */ export interface StagePanelProps extends CommonProps { /** Stage panel content. */ children?: React.ReactNode; /** Function called when stage panel collapse mode is toggled. */ onToggleCollapse?: () => void; /** Function called when resize action is performed. */ onResize?: (resizeBy: number) => void; /** Describes respected safe area insets. */ safeAreaInsets?: SafeAreaInsets; /** Stage panel size. */ size?: number; /** Stage panel type. */ type: StagePanelType; } /** Stage panel used in [[StagePanels]] component. * @beta */ export declare class StagePanel extends React.PureComponent { private _lastPosition?; private _relativePosition?; render(): JSX.Element; private _handleResize; private _handleResizeEnd; private _handleResizeStart; } //# sourceMappingURL=StagePanel.d.ts.map