import { ComponentProps, ReactNode } from "react"; import { InternalProps, OmitInternalProps, StyledComponentProps } from "../../shared"; import { PopupPositionProp, PopupProps } from "../../overlay"; declare const DefaultElement = "div"; export interface InnerPopoverTriggerProps extends InternalProps, Omit, Omit, "position" | "zIndex"> { /** * React children. */ children: ReactNode; /** * A DOM element in which the overlay element will be appended via a React portal. */ containerElement?: HTMLElement; /** * Whether or not the popover should close on outside interactions. */ dismissable?: boolean; /** * Position of the popover element related to the trigger. */ position?: PopupPositionProp; } export declare function InnerPopoverTrigger({ allowFlip, allowPreventOverflow, as, children, containerElement, defaultOpen, dismissable, forwardedRef, id, onOpenChange, open, position: positionProp, zIndex, ...rest }: InnerPopoverTriggerProps): JSX.Element; export declare namespace InnerPopoverTrigger { var defaultElement: string; } /** * [Documentation](https://orbit.sharegate.design/?path=/docs/popover--default-story) */ export declare const PopoverTrigger: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; export declare type PopoverTriggerProps = ComponentProps; export {};