import { ComponentProps, FC } from "react";
import { FloatingUIOptions } from "../Popovers/FloatingUIOptions.js";
import { Thread } from "./Thread.js";
/**
 * This component is used to display a thread in a floating card.
 * It can be used when the user clicks on a thread / comment in the document.
 */
export default function FloatingThreadController(props: {
    floatingThread?: FC<ComponentProps<typeof Thread>>;
    floatingUIOptions?: FloatingUIOptions;
    /**
     * Override the DOM node this floating element portals into. Falls back to
     * the ambient portal element (the element wrapping the editor by default)
     * when omitted.
     */
    portalElement?: HTMLElement;
}): import("react/jsx-runtime").JSX.Element;
