@paroicms/server-image-cache-engine
Version:
The image variant engine that we use at Paroi.
8 lines (7 loc) • 452 B
TypeScript
import type { ImageVariant, NewVariantInput } from "../engine-types.js";
import type { OwnerTransactionContext } from "./owner-transaction-types.js";
export declare function makeTransactionImageAvailable(otContext: OwnerTransactionContext, inputs: NewVariantInput[], { optimizeForBatch, }: {
optimizeForBatch?: {
getMoreInputsForBatch: (filter: (input: NewVariantInput) => boolean) => NewVariantInput[];
};
}): Promise<ImageVariant[]>;