UNPKG

kiutils

Version:

🎑 (Library) an Javascript library that provide various utilities, including Image manipulation tools, Discord-related utilities, and a logger.

89 lines • 1.9 kB
/// <reference types="node" /> import { StatusType } from "./enums"; /** * Canvas data structure for basic canvas operations */ export interface CanvasData { width: number; height: number; background: { color: string; image: string; }; fontColor: string; } /** * Data structure for Discord rank cards */ export interface RankData { width: number; height: number; background: { type?: "image" | "color"; image?: string | Buffer; }; progressBar: { rounded?: boolean; x?: number; y?: number; height?: number; width?: number; track?: { color?: string; }; bar?: { type?: "color" | "gradient"; color?: string | string[]; }; }; overlay: { display?: boolean; level?: number; color?: string; }; avatar: { source?: string | Buffer; x?: number; y?: number; height?: number; width?: number; }; status: { width?: number; type?: StatusType | "online" | "dnd" | "idle" | "offline" | "streaming"; color?: string; circle?: boolean; }; rank: { display?: boolean; data?: number; textColor?: string; color?: string; displayText?: string; }; level: { display?: boolean; data?: number; textColor?: string; color?: string; displayText?: string; }; currentXP: { data?: number; color?: string; }; requiredXP: { data?: number; color?: string; }; discriminator: { discrim?: string | number; color?: string; }; username: { name?: string; color?: string; }; renderEmojis?: boolean; } //# sourceMappingURL=interfaces.d.ts.map