/** * @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 source-editing-enhanced/replacesourcecommand * @publicApi */ import { Command, type Editor } from "@ckeditor/ckeditor5-core"; /** * The command replaces editor active root content with the provided data. */ export declare class ReplaceSourceCommand extends Command { /** * @inheritDoc */ constructor(editor: Editor); /** * @inheritDoc */ override refresh(): void; /** * Executes the command. */ override execute(data: string, options?: { rootName: string | null; }): void; }