/** * @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/model/aieditorroot * @publicApi */ /** * Uniquely identifies a single root within an editor instance. * * `channelId` selects the editor (matches the `collaboration.channelId` config of the editor instance). * `rootName` selects the root within that editor. * * Use this type whenever an API needs to target a specific root in a multi-root or multi-editor setup. */ export type AIEditorRoot = { /** * The channel ID of the editor that owns the root. Matches the `collaboration.channelId` config of that editor. */ channelId: string; /** * The name of the root within the editor. */ rootName: string; };