@blocklet/images
Version:
support functions for blocklet image validation
12 lines (11 loc) • 335 B
TypeScript
type ISizeMB = number;
interface IScreenshotValidateOptions {
extractedFilepath: string;
minCount?: number;
maxCount?: number;
maxSize?: ISizeMB;
minWidth?: number;
minHeight?: number;
}
export declare const validateScreenshots: (screenshots: string[], options: IScreenshotValidateOptions) => any[];
export {};