@imgly/plugin-ai-generation-web
Version:
AI generation plugin for the CE.SDK editor
13 lines (12 loc) • 437 B
TypeScript
import { CreativeEngine } from '@cesdk/cesdk-js';
/**
* Locks the selection to the given block ids with the given edit mode.
*
* @returns A function to unlock the selection. Will set the edit mode back to what it was before the lock.
*/
declare function lockSelectionToEditMode(options: {
engine: CreativeEngine;
blockIdsToLock: number[];
editModeToLockTo: string;
}): () => void;
export default lockSelectionToEditMode;