///
export interface PopupProps {
opener: any;
closeable?: boolean;
closeOnOuterClick?: boolean;
fullWidth?: boolean;
leftArrow?: boolean;
rightArrow?: boolean;
children?: React.ReactNode;
id?: string;
disabled?: boolean;
show?: boolean;
arrowSideOffset?: number;
}
export declare type OpenerRef = (el: OpenerType) => void;
export interface Popup {
isShown: boolean;
show: () => void;
isHidden: boolean;
hide: () => void;
isDisabled: boolean;
}
export declare type PopupRef = (el: Popup) => void;
interface OpenerPosition {
openerPosition: DOMRect;
}
interface PlaceholderPosition {
placeholderPosition: DOMRect;
}
export declare type IPopupContext = PopupProps & OpenerPosition & PlaceholderPosition;
export interface Offset {
top: number;
left: number;
}
export {};