Files
klz-cables.com/.pnpm-store/v10/files/e4/8201e56ab9f63f680449a97ec8da6aae24c86ffc6ead404c450e961f37dd8bf26c506531c4ea297affb5842474be1980aeb8c4cd0f3b5c4eac60f772057126
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

30 lines
946 B
Plaintext

import type { SanitizedConfig } from '../config/types.js';
import type { PayloadRequest } from '../types/index.js';
import type { WithMetadata } from './optionallyAppendMetadata.js';
import type { UploadEdits } from './types.js';
type CropImageArgs = {
cropData: UploadEdits['crop'];
dimensions: {
height: number;
width: number;
};
file: PayloadRequest['file'];
heightInPixels: number;
req?: PayloadRequest;
sharp: SanitizedConfig['sharp'];
widthInPixels: number;
withMetadata?: WithMetadata;
};
export declare function cropImage({ cropData, dimensions, file: fileArg, heightInPixels, req, sharp, widthInPixels, withMetadata, }: CropImageArgs): Promise<{
data: Buffer;
info: import("sharp").OutputInfo;
} | {
data: Buffer<ArrayBufferLike>;
info: {
height: number;
size: number;
width: number;
};
}>;
export {};
//# sourceMappingURL=cropImage.d.ts.map