UNPKG

@imgly/plugin-ai-image-generation-web

Version:

AI image generation plugin for the CE.SDK editor

32 lines (31 loc) 885 B
import { GetQuickActionDefinition } from './types'; /** * The ID of the quick action. */ export declare const ID = "ly.img.createVariant"; /** * The i18n prefix for the quick action. */ export declare const I18N_PREFIX = "ly.img.plugin-ai-image-generation-web.quickAction.createVariant"; /** * The input generated from this quick action which needs * to be mapped to the specific provider. */ export type InputType = { prompt: string; uri: string; }; declare const CreateVariant: GetQuickActionDefinition<InputType>; /** * Extend ImageQuickActionInputs with this action's input type. * This will ensure that the types are correctly recognized * in the ImageProvider. * * COPY this file to other quick action to support type safety */ declare module '../types' { interface ImageQuickActionInputs { [ID]: InputType; } } export default CreateVariant;