@imgly/plugin-ai-generation-web
Version:
AI generation plugin for the CE.SDK editor
22 lines (21 loc) • 707 B
TypeScript
import type { CreativeEngine } from '@cesdk/cesdk-js';
import type CreativeEditorSDK from '@cesdk/cesdk-js';
import type { PropertyContext } from '../core/propertyConfiguration';
/**
* Build the base property context from available sources
*/
export declare function buildPropertyContext(engine: CreativeEngine, cesdk?: CreativeEditorSDK): PropertyContext;
/**
* Context cache for performance optimization
*/
export declare class PropertyContextCache {
private cache;
/**
* Get cached context or build new one
*/
getContext(engine: CreativeEngine, cesdk?: CreativeEditorSDK): PropertyContext;
/**
* Clear the cache (e.g., when locale changes)
*/
clear(): void;
}