import type { LexicalEditor } from "lexical"; export declare const setupEditorState: (editor: LexicalEditor, ignoreInitialChange?: boolean, ignoreSelectionChange?: boolean) => { subscribe: (this: void, run: import("svelte/store").Subscriber<{ editorState: import("lexical").EditorState; editor: LexicalEditor; }>, invalidate?: ((value?: { editorState: import("lexical").EditorState; editor: LexicalEditor; } | undefined) => void) | undefined) => import("svelte/store").Unsubscriber; };