import { ComponentProps, ReactNode, SyntheticEvent } from "react"; import { InteractionProps, InternalProps, OmitInternalProps, StyledComponentProps } from "../../shared"; declare const DefaultElement = "section"; export interface InnerPopoverProps extends InternalProps, InteractionProps, StyledComponentProps { /** * React children. */ children: ReactNode; /** * Whether or not the popover should close on outside interactions. */ dismissable?: boolean; /** * Called when a closing event happenened. * @param {SyntheticEvent} event - React's original synthetic event. * @returns {void} */ onClose?: (event: SyntheticEvent) => void; /** * The z-index of the dialog. */ zIndex?: number; } export declare function InnerPopover({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, as, children, dismissable, focus, forwardedRef, id, onClose, zIndex, ...rest }: InnerPopoverProps): JSX.Element; export declare namespace InnerPopover { var defaultElement: string; } /** * A Popover can be used to display some content on top of another. * * [Documentation](https://orbit.sharegate.design/?path=/docs/popover--default-story) */ export declare const Popover: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; export declare type PopoverProps = ComponentProps; export {};