@imgly/plugin-ai-generation-web
Version:
AI generation plugin for the CE.SDK editor
11 lines (10 loc) • 491 B
TypeScript
import type CreativeEditorSDK from '@cesdk/cesdk-js';
/**
* Checks if the current AI plugin version matches the shared version across all AI plugins.
* Issues a console warning if versions don't match.
*
* @param cesdk - The CreativeEditorSDK instance
* @param pluginId - The ID of the current plugin
* @param currentVersion - The version of the current plugin
*/
export declare function checkAiPluginVersion(cesdk: CreativeEditorSDK, pluginId: string, currentVersion: string): void;