UNPKG

vite-imagetools

Version:

Load and transform images using a toolbox of import directives!

5 lines (4 loc) 293 B
import type { ImageConfig } from 'imagetools-core'; export declare const createBasePath: (base?: string) => string; export declare function generateImageID(config: ImageConfig, imageHash: string): string; export declare function hash(keyParts: Array<string | NodeJS.ArrayBufferView>): string;