import { Position } from '../common'; /** @deprecated Use `"top" | "bottom"` instead. */ type PopoverPreferredPlacementDeprecated = `${Position.LEFT_TOP}` | `${Position.RIGHT_TOP}` | `${Position.BOTTOM_RIGHT}` | `${Position.BOTTOM_LEFT}`; export type PopoverPreferredPlacement = `${Position.TOP}` | `${Position.RIGHT}` | `${Position.BOTTOM}` | `${Position.LEFT}` | PopoverPreferredPlacementDeprecated; export interface PopoverProps { children?: React.ReactNode; title?: React.ReactNode; /** Screen-reader-friendly title. Must be provided if `title` prop is not set. */ 'aria-label'?: string; /** @default 'right' */ preferredPlacement?: PopoverPreferredPlacement; content: React.ReactNode; onClose?: () => void; className?: string; } export default function Popover({ children, className, content, preferredPlacement, title, onClose, 'aria-label': ariaLabel, }: PopoverProps): import("react").JSX.Element; export {}; //# sourceMappingURL=Popover.d.ts.map