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