import type { CanvasRenderingContext2D } from "canvas"; import z from "zod/v4"; import { PainterModule } from "../painter"; import type { Theme } from "../theme"; export interface HitokotoModulePainterContext { probability?: number; customLines?: Record; blocklist?: string[]; } export declare class HitokotoModule extends PainterModule { static readonly SCHEMA: z.ZodObject<{ id: z.ZodOptional; x: z.ZodNumber; y: z.ZodNumber; anchor: z.ZodOptional; location: z.ZodDefault>; }, z.core.$strip>>; width: z.ZodOptional; height: z.ZodOptional; size: z.ZodNumber; borderColor: z.ZodOptional; font: z.ZodOptional; linebreak: z.ZodOptional; align: z.ZodOptional>; color: z.ZodOptional; type: z.ZodLiteral<"hitokoto">; probability: z.ZodOptional; customLines: z.ZodOptional]>>; }, z.core.$strip>; private textPainter; constructor(); draw(ctx: CanvasRenderingContext2D, theme: Theme, element: z.infer, painterCtx?: HitokotoModulePainterContext): Promise; }