import React from 'react';
import type { IEditorQuery } from '../../ricos-content-query/index.js';
import type { ModalService } from '../../ricos-modals/index.js';
import type { TiptapEditor } from '../../ricos-types/index.js';
import type { Prompt } from '../types.js';
type Position = {
    top: string;
};
type FloatingToolbarButtonProps = {
    toggleAiModal: (editor: TiptapEditor, modalsService: ModalService, initialPrompt?: Prompt) => void;
    className: string;
    position: Position;
    toggleToolbarModal: (editor: TiptapEditor, modalsService: ModalService, refElement: HTMLDivElement) => void;
    checkContextualMode: ({ editorQuery, nodeId }: {
        editorQuery: IEditorQuery['query'];
        nodeId?: string;
    }) => boolean;
};
export declare const FloatingToolbarButton: React.FC<FloatingToolbarButtonProps>;
export {};
//# sourceMappingURL=floating-toolbar-button.d.ts.map