import type { FC, DetailedHTMLProps, HTMLAttributes } from 'react'; import type { Placement, PositioningStrategy } from '../../components/popover/pharos-popover'; export interface PharosPopoverProps extends DetailedHTMLProps, HTMLElement> { /** * Indicates the menu item is displayed on a dark background. */ isOnBackground?: boolean; /** * Indicates the aria-label to apply to the dialog. */ a11yLabel?: string | undefined; /** * Indicates the aria-labelledby to apply to the dialog. */ labelledBy?: string | undefined; /** * Describes the preferred placement of the overlay. */ placement?: Placement | 'auto'; /** * Indicates if the overlay is open. */ open?: boolean; /** * List of placements to try in the order provided when no space is available for the preferred placement. */ fallbackPlacements?: (Placement | 'auto')[] | undefined; /** * Describes the positioning strategy to use. If your target element is in a fixed container, use the fixed strategy. */ strategy?: PositioningStrategy; /** * Fires when the popover is opened */ 'onPharos-Popover-Opened'?: (event: CustomEvent) => void; /** * Fires when the popover is closed */ 'onPharos-Popover-Closed'?: (event: CustomEvent) => void; } export declare const PharosPopover: FC; //# sourceMappingURL=pharos-popover.d.ts.map