UNPKG

@discord-card/core

Version:
7 lines 363 B
import { Image } from 'canvas'; import { ImageResolvable } from '../types'; export declare function getFontSize(str: string): string | 30; /** Load a image from a URL */ export declare function loadImage(url: string): Promise<Image>; export declare function toImage(image: ImageResolvable, name?: string): Promise<Image>; //# sourceMappingURL=image.d.ts.map