import { type Bounds, PainterModule } from "../../../common/painter/painter"; import { type Theme } from "../../../common/painter/theme"; import type { CanvasRenderingContext2D } from "canvas"; import { type Chart, type Database } from "gcm-database/ongeki"; import z from "zod/v4"; import { type Score } from "../../lib/types"; export interface ScoreGridModulePainterContext { scores: Record, Score[]>; type: "refresh" | "classic"; } export declare class ScoreGridModule extends PainterModule { private database; 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<"score-grid">; horizontalSize: z.ZodNumber; verticalSize: z.ZodNumber; region: z.ZodEnum<{ new: "new"; old: "old"; recent: "recent"; }>; index: z.ZodNumber; scoreBubble: z.ZodObject<{ width: z.ZodNumber; height: z.ZodNumber; margin: z.ZodNumber; gap: z.ZodUnion]>; color: z.ZodObject<{ basic: z.ZodString; advanced: z.ZodString; expert: z.ZodString; master: z.ZodString; lunatic: z.ZodString; }, z.core.$strip>; strictScoreCount: z.ZodDefault; }, z.core.$strip>; sprites: z.ZodObject<{ achievement: z.ZodObject<{ d: z.ZodString; c: z.ZodString; b: z.ZodString; bb: z.ZodString; bbb: z.ZodString; a: z.ZodString; aa: z.ZodString; aaa: z.ZodString; s: z.ZodString; ss: z.ZodString; sss: z.ZodString; sssp: z.ZodString; }, z.core.$strip>; milestone: z.ZodObject<{ ab: z.ZodString; abp: z.ZodString; fc: z.ZodString; fb: z.ZodString; none: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; constructor(database: Database); private getBubbleColorByDifficulty; private getAchievementRankImagePath; private getComboImagePath; private getBellImagePath; private drawCard; private drawOutline; getBounds(_ctx: CanvasRenderingContext2D, _theme: Theme, element: z.infer): Promise; getMinimumBounds(ctx: CanvasRenderingContext2D, theme: Theme, element: z.infer): Promise; private getGap; draw(ctx: CanvasRenderingContext2D, theme: Theme, element: z.infer, painterCtx: ScoreGridModulePainterContext): Promise; }