import { PainterModule } from "../../../common/painter/painter"; import { type Theme } from "../../../common/painter/theme"; import { type CanvasRenderingContext2D } from "canvas"; import z from "zod/v4"; export interface ProfileModulePainterContext { username: string; rating: number; profilePicture?: Buffer; type: "refresh" | "classic"; } export declare class ProfileModule extends PainterModule { static readonly SCHEMA: z.ZodObject<{ x: z.ZodNumber; y: z.ZodNumber; id: z.ZodOptional; anchor: z.ZodOptional; location: z.ZodDefault>; }, z.core.$strip>>; type: z.ZodLiteral<"profile">; sprites: z.ZodObject<{ rating: z.ZodObject<{ numberMap: z.ZodObject<{ blue: z.ZodString; green: z.ZodString; orange: z.ZodString; red: z.ZodString; purple: z.ZodString; bronze: z.ZodString; silver: z.ZodString; gold: z.ZodString; platinum: z.ZodString; rainbow: z.ZodString; rainbow2: z.ZodString; rainbow3: z.ZodString; }, z.core.$strip>; headerText: z.ZodObject<{ blue: z.ZodString; green: z.ZodString; orange: z.ZodString; red: z.ZodString; purple: z.ZodString; bronze: z.ZodString; silver: z.ZodString; gold: z.ZodString; platinum: z.ZodString; rainbow: z.ZodString; rainbow2: z.ZodString; rainbow3: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; profile: z.ZodObject<{ userplate: z.ZodString; icon: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; private getRatingColor; private getRatingNumber; draw(ctx: CanvasRenderingContext2D, theme: Theme<{ width: number; height: number; }>, element: z.infer, painterCtx: ProfileModulePainterContext): Promise; }