@imgly/plugin-ai-generation-web
Version:
AI generation plugin for the CE.SDK editor
11 lines (10 loc) • 442 B
TypeScript
import { type Output, type OutputKind, type GetBlockInputResult } from '../core/provider';
import { Middleware } from './middleware';
interface DryRunOptions<K extends OutputKind> {
enable?: boolean;
kind: K;
blockInputs?: GetBlockInputResult<K>;
blockIds?: number[];
}
declare function dryRunMiddleware<I, K extends OutputKind, O extends Output>(options: DryRunOptions<K>): Middleware<I, O>;
export default dryRunMiddleware;