import { declarePeerDependency, defineExtension } from "lexical";
import { BylineFloatingUIExtension } from "../byline-floating-ui/byline-floating-ui-extension.js";
import { FloatingTextFormatToolbarPlugin } from "./index.js";
const FloatingTextFormatExtension = defineExtension({
    name: '@byline/richtext-lexical/FloatingTextFormat',
    peerDependencies: [
        declarePeerDependency(BylineFloatingUIExtension.name, {
            items: [
                {
                    id: '@byline/richtext-lexical/FloatingTextFormat/popover',
                    Component: FloatingTextFormatToolbarPlugin
                }
            ]
        })
    ]
});
export { FloatingTextFormatExtension };
