UNPKG

867 BTypeScriptView Raw
1/**
2 * @license Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
3 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
4 */
5/**
6 * @module image/imageinsert/utils
7 */
8import type { Locale } from 'ckeditor5/src/utils';
9import type { Editor } from 'ckeditor5/src/core';
10import { LabeledFieldView, type View } from 'ckeditor5/src/ui';
11/**
12 * Creates integrations object that will be passed to the
13 * {@link module:image/imageinsert/ui/imageinsertpanelview~ImageInsertPanelView}.
14 *
15 * @param editor Editor instance.
16 *
17 * @returns Integrations object.
18 */
19export declare function prepareIntegrations(editor: Editor): Record<string, View>;
20/**
21 * Creates labeled field view.
22 *
23 * @param locale The localization services instance.
24 */
25export declare function createLabeledInputView(locale: Locale): LabeledFieldView;