import { ComponentProps, ReactNode } from 'react'; import { PopoverBeta } from '../PopoverBeta'; import { BoxProps } from '../Box'; export type PopoverDFSize = 's' | 'm'; export type PopoverDFResizableConfig = Exclude['resizable'], boolean | undefined>; type PopoverDFBaseProps = { children?: ReactNode; size?: PopoverDFSize; }; export type PopoverDFProps = Omit, 'children' | 'appearance' | 'size'> & PopoverDFBaseProps; export type PopoverDFHeaderProps = Omit & { title?: ReactNode; description?: ReactNode; bottomBlock?: ReactNode; showCloseButton?: boolean; onClose?: () => void; }; export type PopoverDFBodyProps = BoxProps; export type PopoverDFFooterProps = BoxProps & { children?: ReactNode; }; export {};