import { default as React, ReactNode } from 'react'; import { Placement } from '../../utils'; export type TriggerProps = { 'aria-expanded': boolean; 'aria-controls': string; 'aria-haspopup': 'dialog'; id: string; isDropdown: boolean; onClick: () => void; }; export type PopoverProps = { /** * The contents of the Popover */ children: (closeDropdown: () => void) => ReactNode; /** * Function to render the button trigger */ renderTrigger: (triggerProps: TriggerProps, isOpen: boolean) => ReactNode; /** * className for the element */ className?: string; /** * Whether the Popover should be align at the start or end of the trigger * @default bottom-start */ placement?: Placement; }; export declare const Popover: ({ children, renderTrigger, className, placement, }: PopoverProps) => React.JSX.Element; //# sourceMappingURL=Popover.d.ts.map