/** @jsx jsx */ /** @jsxFrag React.Fragment */ import React from 'react'; import { jsx } from '@emotion/react'; import type { SuperSidebarConfig } from './types'; interface SuperSidebarProps> { config: SuperSidebarConfig; sidebarIDs: SidebarIDs; selectedSidebarID: SidebarIDs[number]; onSelectSidebar?: (id: SidebarIDs[number]) => void; width?: number; maxWidth?: number; minWidth?: number; /** * Ran when sidebar is resized, debounced. * If not provided, resizing is not possible. */ onResize?: (width: number) => void; /** * Normally depends on where sidebar is positioned relative to main content. * Used for resize sensor icon. * If not provided, resizing is not possible. */ resizeSensorPosition?: 'left' | 'right'; className?: string; } declare function SuperSidebar_>({ config, resizeSensorPosition, sidebarIDs, selectedSidebarID, onSelectSidebar, width, maxWidth, minWidth, onResize, className, }: SuperSidebarProps): jsx.JSX.Element; declare const SuperSidebar: React.MemoExoticComponent; export default SuperSidebar;