/** * @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/createandattachaibodycollection */ import type { Locale } from "@ckeditor/ckeditor5-utils"; import { BodyCollection } from "@ckeditor/ckeditor5-ui"; /** * Creates a body collection dedicated to the AI features UI and attaches it to the DOM. * * The collection container is tagged with the `ck-ai-body` CSS class, which raises all balloon panels * rendered inside it above the AI overlay backdrop (see `--ck-ai-tabs-overlay-z-index`). Thanks to this, * any balloon added to the collection (including future ones) is displayed correctly when the AI UI * works in the overlay mode, without per-balloon CSS overrides. */ export declare function createAndAttachAIBodyCollection(locale: Locale): BodyCollection;