@volverjs/ui-vue
Version:
@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.
13 lines (12 loc) • 464 B
TypeScript
declare class ValidationError extends Error {
}
export type BlurhashWorkerType = {
encode: (pixels: Uint8ClampedArray, width: number, height: number, componentX: number, componentY: number) => string;
decode: (blurhash: string, width: number, height: number, punch?: number) => Uint8ClampedArray;
isBlurhashValid: (blurhash: string) => {
result: boolean;
errorReason?: string;
};
ValidationError: ValidationError;
};
export {};