import PopperJS, { PopperOptions } from "popper.js"; import { RefObject } from "react"; export interface IInputOptions extends PopperOptions { referenceRef: RefObject; popperRef: RefObject; arrowRef?: RefObject; } export default function usePopper(inputOpts: IInputOptions, inputs?: any[]): { style: import("react").CSSProperties; placement: PopperJS.Placement; outOfBoundaries: boolean; scheduleUpdate: any; arrowStyle: import("react").CSSProperties; };