/** * @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 ai/aicore/utils/getallowedcustomelements */ import { type Editor } from "@ckeditor/ckeditor5-core"; /** * Returns the private `config.ai.allowedCustomElements` option of the given editor as a list of lowercase tag names. * A value set in a shared {@link module:core/context~Context} configuration is inherited by the editor. * * Returns an empty list when there is no editor, for example for a reply loaded from history whose source editor * was not re-created in the current session. */ export declare function getAllowedCustomElements(editor: Editor | undefined): Array;