import type { OptionsGeneric, Modifier, Instance, VirtualElement } from "./types"; import detectOverflow from "./utils/detectOverflow"; declare type PopperGeneratorArgs = { defaultModifiers?: Array>; defaultOptions?: Partial>; }; export declare function popperGenerator(generatorOptions?: PopperGeneratorArgs): >>(reference: Element | VirtualElement, popper: HTMLElement, options?: Partial>) => Instance; export declare const createPopper: >>(reference: Element | VirtualElement, popper: HTMLElement, options?: Partial>) => Instance; export { detectOverflow };