/** * 배포 루트(".") 타입 선언 — 구 @lumir-company/editor 루트 표면 호환. * core 전체 + React 컴포넌트(LumirEditor/FloatingMenu/FontSizeButton) + 구 전용 스텁. */ import * as React from "react"; import type { LumirEditorProps, VanillaEditor, DefaultPartialBlock } from "./core"; export * from "./core"; /** LumirEditor ref 로 노출되는 imperative API */ export interface LumirEditorReactRef { getDocument(): DefaultPartialBlock[] | null; undo(): boolean; redo(): boolean; canUndo(): boolean; canRedo(): boolean; insertFile(file: File): void; setTheme(theme: LumirEditorProps["theme"]): void; setEditable(on: boolean): void; readonly editor: VanillaEditor | null; } export interface LumirEditorComponentProps extends LumirEditorProps { style?: React.CSSProperties; } export declare const LumirEditor: React.ForwardRefExoticComponent< LumirEditorComponentProps & React.RefAttributes >; export default LumirEditor; /** 호환 스텁 — 독립 FloatingMenu 는 prop 으로 대체됨(null 렌더) */ export declare function FloatingMenu(props?: Record): null; /** 호환 스텁 — 독립 FontSizeButton 은 포매팅 툴바에 내장됨(null 렌더) */ export declare function FontSizeButton(props?: Record): null; /** 호환 스텁 — BlockNote 스타일 스펙/스키마 객체(실사용 불가, import 호환용 마커) */ export declare const FontSize: { __compat: string; note: string }; export declare const EditorSchema: { __compat: string; note: string };