/** * @license Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ import type { Editor, EventInfo } from 'ckeditor5'; import { type Ref, type EmitFn } from 'vue'; /** * Hook that watches editor lifecycle events and maps them to Vue event emitters. */ export declare function useEditorLifecycleEvents(instance: Ref, emit: EmitFn>): void; export type EditorLifecycleEvents = { ready: [editor: TEditor]; destroy: [editor: TEditor]; blur: [event: EventInfo, editor: TEditor]; focus: [event: EventInfo, editor: TEditor]; };