/**
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 *
 */
import './index.css';
import type * as React from 'react';
export declare function FloatingTextFormatToolbarPlugin({ anchorElem, shouldShow, }: {
    anchorElem?: HTMLElement;
    /**
     * Optional gate evaluated inside an editor read context. Return `false`
     * to suppress the popover for the current selection — used to scope the
     * toolbar to admonition bodies on editors where the global
     * `FloatingTextFormatExtension` is removed.
     */
    shouldShow?: () => boolean;
}): React.JSX.Element | null;
