import React from 'react'; import { RectResult } from '../../utils'; import { PopoverPopupProps } from '../../../Popover/PopoverPopup'; export interface PopoverProps { header?: React.ReactNode; sizes: RectResult; children?: React.ReactNode; position?: PositionType; padding?: number | number[]; className?: string; refresher?: number; width?: string; isAccent?: boolean; hideCross?: NonNullable; onClose?: NonNullable; testId?: PopoverPopupProps['testId']; } export type PositionType = Position | ((postionsProps: PositionProps, prevRect: RectResult) => Position); export type PositionProps = RectResult & { windowWidth: number; windowHeight: number; }; export type Position = 'top' | 'right' | 'bottom' | 'left' | 'center' | [number, number]; export declare const Popover: React.FC;