/**
 * @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
 */
/**
 * @module collaboration-core/utils/sanitizeeditorconfig
 */
import type { Editor, EditorConfig } from '@ckeditor/ckeditor5-core';
/**
 * A function that prepares config for internal editors removing all unnecessary plugins like RTC.
 *
 * @param editor The instance of the source editor.
 * @param extraBlackListedPlugins Additional list of plugins that should not be added to the config.
 */
export declare function sanitizeEditorConfig(editor: Editor, extraBlackListedPlugins?: Array<string>): EditorConfig;
