import { SweetEditorWidget } from "./legacy/sweet-editor-widget-legacy.js"; import type { ISweetEditorWasmModule } from "@sweeteditor/core"; import type { SweetEditorController } from "./sweet-editor-controller.js"; import type { EditorTheme, KeyMap } from "./platform-standard-types.js"; export { EditorEventType, SweetEditorWidget } from "./legacy/sweet-editor-widget-legacy.js"; export { SweetEditor } from "./sweet-editor.js"; export { SweetEditorController } from "./sweet-editor-controller.js"; export * from "./platform-standard-types.js"; export * from "./keymap.js"; export interface IWidgetCreateOptions extends Record { locale?: string; theme?: Partial; decorationOptions?: Record; performanceOverlay?: boolean | Record; text?: string; keyMap?: KeyMap; controller?: SweetEditorController; modulePath?: string; moduleFactory?: ((options?: Record) => unknown | Promise) | unknown; moduleOptions?: Record; } export declare function createWidget(container: HTMLElement, wasmModule: ISweetEditorWasmModule, options?: IWidgetCreateOptions): InstanceType;