/** * @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, type ModelRef, type MaybeRefOrGetter } from 'vue'; /** * Hook that synchronizes editor state with currently set vue model. */ export declare function useEditorVModel({ disableTwoWayDataBinding, emit, instance, model }: Attrs): Result; type Attrs = { disableTwoWayDataBinding: MaybeRefOrGetter; model: ModelRef; emit: EmitFn>; instance: Ref; }; type Result = { lastEditorData: Ref; assignEditorDataToModel(editor: TEditor, evt?: EventInfo | null): void; }; export type EditorVModelEvents = { input: [data: string, event: EventInfo | null, editor: TEditor]; 'update:modelValue': [data: string, event: EventInfo | null, editor: TEditor]; }; export {};