import type { RefObject } from "react";
import type { Editor } from "@tiptap/react";
interface SlashMenuController {
    handleExit: () => void;
    handleStart: () => void;
    handleUpdate: (query: string) => void;
    handleClientRect: (rect: DOMRect | null) => void;
}
interface UseSlashMenuFocusSyncOptions {
    editor: Editor | null;
    isEditorFocused: boolean;
    isNotionLike: boolean;
    enabled: boolean;
    containerRef: RefObject<HTMLDivElement | null>;
    commandMenu: SlashMenuController;
}
/** 同步 slash 命令菜单与编辑器焦点状态，处理失焦收口与聚焦恢复。 */
export declare function useSlashMenuFocusSync({ editor, isEditorFocused, isNotionLike, enabled, containerRef, commandMenu, }: UseSlashMenuFocusSyncOptions): void;
export {};
