import * as React from 'react'; import { usePreviewCardPositioner } from './usePreviewCardPositioner.js'; import type { Side, Align } from '../../utils/useAnchorPositioning.js'; import type { BaseUIComponentProps } from '../../utils/types.js'; /** * Positions the popup against the trigger. * Renders a `
` element. * * Documentation: [Base UI Preview Card](https://base-ui.com/react/components/preview-card) */ declare const PreviewCardPositioner: React.ForwardRefExoticComponent>; declare namespace PreviewCardPositioner { interface State { /** * Whether the preview card is currently open. */ open: boolean; side: Side; align: Align; anchorHidden: boolean; } interface Props extends usePreviewCardPositioner.SharedParameters, BaseUIComponentProps<'div', State> { } } export { PreviewCardPositioner };