import { type CommandItem } from "@/core/extensions/SlashCommands";
import { type CodeBlockLanguageOption } from "@/shared/config";
import type { EditorLocale } from "@/shared/locales";
import { type ToolbarItemConfig } from "@/react/editor/customization";
import { type TiptapEditorProps } from "@/react/editor/types";
interface UseEditorResolvedConfigOptions {
    editorMode: TiptapEditorProps["editorMode"];
    placeholder: TiptapEditorProps["placeholder"];
    fileUploadTypes: TiptapEditorProps["fileUploadTypes"];
    codeBlockLanguages: TiptapEditorProps["codeBlockLanguages"];
    defaultCodeBlockLanguage: TiptapEditorProps["defaultCodeBlockLanguage"];
    toolbarItems: TiptapEditorProps["toolbarItems"];
    slashCommands: TiptapEditorProps["slashCommands"];
    hideDefaultToolbarItems: TiptapEditorProps["hideDefaultToolbarItems"];
    hideDefaultSlashCommands: TiptapEditorProps["hideDefaultSlashCommands"];
    extensions: TiptapEditorProps["extensions"];
    onFilePreUpload: TiptapEditorProps["onFilePreUpload"];
    editorConfigVersion: TiptapEditorProps["editorConfigVersion"];
    locale: EditorLocale;
}
/**
 * 聚合编辑器配置解析逻辑，输出可直接渲染与实例化的稳定配置。
 */
export declare function useEditorResolvedConfig({ editorMode, placeholder, fileUploadTypes, codeBlockLanguages, defaultCodeBlockLanguage, toolbarItems, slashCommands, hideDefaultToolbarItems, hideDefaultSlashCommands, extensions, onFilePreUpload, editorConfigVersion, locale, }: UseEditorResolvedConfigOptions): {
    isNotionLike: boolean;
    stableExtensions: readonly import("@tiptap/core").AnyExtension[];
    resolvedToolbarItems: ToolbarItemConfig[];
    resolvedSlashCommands: CommandItem[];
    resolvedCodeBlockLanguages: CodeBlockLanguageOption[];
    resolvedDefaultCodeBlockLanguage: string;
    resolvedPlaceholder: string;
    resolvedFileUploadTypes: string[];
    editorRecreateDeps: (string | number | boolean | readonly import("@tiptap/core").AnyExtension[] | undefined)[];
    getResolvedSlashCommands: () => CommandItem[];
};
export {};
