import { PopoverOrigin, PopoverProps } from '@mui/material'; import { ReactNode } from 'react'; type ResponsiveDrawerPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'; /** Placement of the panel relative to its anchor (desktop popover only). */ export type ResponsiveDrawerPlacement = 'side' | 'overlay'; /** * Popover anchor/transform origins. `'overlay'` pins corner-to-corner on the anchor. */ export declare function resolveOrigins(position: ResponsiveDrawerPosition, placement: ResponsiveDrawerPlacement): { anchorOrigin: PopoverOrigin; transformOrigin: PopoverOrigin; }; export declare function ResponsiveDrawer void; position: ResponsiveDrawerPosition; slotProps?: PopoverProps['slotProps']; }>({ ref, children, collapsed, isMobile, position, sx, slotProps, container, onChangeCollapsed, modal, placement, }: Required> & Pick & { ref: HTMLElement | null; isMobile: boolean; children: ReactNode; /** * When `false`, the desktop popover is **non-modal**: no backdrop, clicks * pass through to the content behind it (e.g. a map stays interactive), no * focus trap, and neither backdrop-click nor Escape closes it (close it via * `onChangeCollapsed`). Defaults to `true` (standard dismissable popover). * Desktop-only — the mobile drawer is unaffected. */ modal?: boolean; /** * Desktop popover placement relative to the anchor: `'side'` (default) opens * beside the trigger; `'overlay'` pins corner-to-corner, sitting on top of * the anchor (e.g. a trigger hidden while the panel is open). Desktop-only. */ placement?: ResponsiveDrawerPlacement; }): import("react/jsx-runtime").JSX.Element; export {};