@netlify/content-engine
Version:
17 lines • 516 B
TypeScript
export interface IResizeArgs {
width: number;
height: number;
format: string;
outputPath?: string;
quality: number;
}
export declare function transformImage({ outputDir, args: { url, filename, contentDigest, httpHeaders, ...args }, }: {
outputDir: string;
args: IResizeArgs & {
url: string;
filename: string;
contentDigest?: string;
httpHeaders: Record<string, string> | undefined;
};
}): Promise<string>;
//# sourceMappingURL=transform-images.d.ts.map