UNPKG

@imgly/plugin-ai-generation-web

Version:

AI generation plugin for the CE.SDK editor

9 lines (8 loc) 372 B
import CreativeEditorSDK from '@cesdk/cesdk-js'; import Provider, { GetInput, Output, OutputKind } from '../core/provider'; declare function handleGenerationError<K extends OutputKind, I, O extends Output>(error: unknown, options: { cesdk: CreativeEditorSDK; provider: Provider<K, I, O>; getInput?: GetInput<I>; }): void; export default handleGenerationError;