import { type Editor, type Extension } from '@prosekit/core'; import { type ShallowRef } from 'vue'; /** * Retrieves the editor instance from the nearest ProseKit component. * * @public */ export declare function useEditor(options?: { /** * Whether to update the component when the editor is mounted or editor state * is updated. * * @default false */ update?: boolean; }): ShallowRef>;