/// import type { GlobalAttributesT, XstyledProps } from '@elliemae/ds-legacy-props-helpers'; import type { usePopper } from 'react-popper'; export declare namespace DSPopperJST { type PopperPlacementsT = 'top-start' | 'top' | 'top-end' | 'right-start' | 'right' | 'right-end' | 'bottom-end' | 'bottom' | 'bottom-start' | 'left-end' | 'left' | 'left-start'; interface DefaultProps { closeContextMenu: () => void; withoutPortal: boolean; withoutArrow: boolean; withoutAnimation: boolean; animationDuration: number; startPlacementPreference: PopperPlacementsT; placementOrderPreference: PopperPlacementsT[]; zIndex: number; extraPopperStyles: Record; onClickOutside: (e: MouseEvent | TouchEvent) => void; customOffset: [number, number]; } interface OptionalProps { boundaryElement?: HTMLElement; portalDOMContainer?: HTMLElement; modifiers?: NonNullable[2]>['modifiers']; actionRef?: React.MutableRefObject<{ update: ReturnType['update']; }>; } interface RequiredProps { children: ReactChildrenComplete; referenceElement: HTMLElement; showPopover: boolean; } interface Props extends Partial, OptionalProps, Omit, keyof DefaultProps | keyof OptionalProps | keyof RequiredProps>, Omit, RequiredProps { } interface InternalProps extends DefaultProps, OptionalProps, Omit, keyof DefaultProps | keyof OptionalProps | keyof RequiredProps>, Omit, RequiredProps { } } export declare const dspopperjsPropTypes: WeakValidationMap;