import type { EditorView } from "../pm/view.js"; import type { SharedStateKey } from "../extensions/behavior/SharedState/index.js"; export declare function useSharedEditingState(view: EditorView, key: SharedStateKey<{ editing: boolean; }>): readonly [boolean, () => void, () => void, () => void];