@discord-card/core
Version:
Discord Card core
7 lines • 363 B
TypeScript
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