export interface MenuPopper<T extends HTMLElement> {
    element: T;
    dispose: () => void;
    cancel?: () => void;
}
export declare function createPopper<T extends keyof HTMLElementTagNameMap>(tagName: T, reference: HTMLElement, options?: {
    x?: number;
    y?: number;
    /** transition duration in ms */
    duration?: number;
}): MenuPopper<HTMLElementTagNameMap[T]>;
//# sourceMappingURL=create-popper.d.ts.map