Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
32 lines
No EOL
1.3 KiB
Text
32 lines
No EOL
1.3 KiB
Text
export default ScreenshotThumbnails;
|
|
export type SpeedlineFrame = LH.Artifacts.Speedline["frames"][0];
|
|
/** @typedef {LH.Artifacts.Speedline['frames'][0]} SpeedlineFrame */
|
|
declare class ScreenshotThumbnails extends Audit {
|
|
/**
|
|
* Scales down an image to THUMBNAIL_WIDTH using nearest neighbor for speed, maintains aspect
|
|
* ratio of the original thumbnail.
|
|
*
|
|
* @param {ReturnType<SpeedlineFrame['getParsedImage']>} imageData
|
|
* @param {number} scaledWidth
|
|
* @return {{width: number, height: number, data: Uint8Array}}
|
|
*/
|
|
static scaleImageToThumbnail(imageData: ReturnType<SpeedlineFrame["getParsedImage"]>, scaledWidth: number): {
|
|
width: number;
|
|
height: number;
|
|
data: Uint8Array;
|
|
};
|
|
/**
|
|
* @param {LH.Artifacts} artifacts
|
|
* @param {LH.Audit.Context} context
|
|
* @return {Promise<LH.Audit.Product>}
|
|
*/
|
|
static _audit(artifacts: LH.Artifacts, context: LH.Audit.Context): Promise<LH.Audit.Product>;
|
|
/**
|
|
* @param {LH.Artifacts} artifacts
|
|
* @param {LH.Audit.Context} context
|
|
* @return {Promise<LH.Audit.Product>}
|
|
*/
|
|
static audit(artifacts: LH.Artifacts, context: LH.Audit.Context): Promise<LH.Audit.Product>;
|
|
}
|
|
import { Audit } from './audit.js';
|
|
//# sourceMappingURL=screenshot-thumbnails.d.ts.map |