@imgly/plugin-ai-image-generation-web
Version:
AI image generation plugin for the CE.SDK editor
33 lines (32 loc) • 922 B
TypeScript
import { GetQuickActionDefinition } from './types';
/**
* The ID of the quick action.
*/
export declare const ID = "ly.img.combineImages";
/**
* The i18n prefix for the quick action.
*/
export declare const I18N_PREFIX = "ly.img.plugin-ai-image-generation-web.quickAction.combineImages";
/**
* The input generated from this quick action which needs
* to be mapped to the specific provider.
*/
export type InputType = {
prompt: string;
uris: string[];
exportFromBlockIds: number[];
};
declare const CombineImages: 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 CombineImages;