import { PopupPlacement } from '@mui/base'; import { ReactNode } from 'react'; export interface PopupProps { anchor?: HTMLElement | null; children: ReactNode; className?: string; container?: HTMLElement | null; handleClickAway?: () => void; id?: string; offset?: OffsetType; open: boolean; placement?: PopupPlacement; strategy?: 'absolute' | 'fixed'; } export declare enum OffsetMap { lg = 16, md = 12, sm = 8, xl = 24 } export type OffsetType = keyof typeof OffsetMap | Partial<{ crossAxis: number; mainAxis: number; }>;