/**-----------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { Plugin } from '@progress/kendo-editor-common';
/**
 * Represents the callback used by the
 * [`plugins`](https://www.telerik.com/kendo-angular-ui/components/editor/api/editorcomponent#plugins) property.
 *
 * @example
 * ```typescript
 * pluginsCallback(defaultPlugins: Plugin[]): Plugin[] {
 *   const myPlugin = new Plugin({/ custom plugin code /});
 *   return [...defaultPlugins, myPlugin];
 * }
 * ```
 */
export type PluginsFn = (args: Plugin[]) => Plugin[];
