import { BlockStyle, CategoryStyle } from "../theme"; /** * The block definition type. */ export interface BlockDefinition { type: `${CategoryStyle}:${string}`; category: CategoryStyle; style: BlockStyle; [key: `message${number}`]: string; [key: `args${number}`]: { type: string; name?: Uppercase; check?: "Number" | "String" | "Boolean" | ("Number" | "String" | "Boolean")[]; value?: string | number; text?: string; options?: [string, string][]; src?: string; width?: number; height?: number; alt?: string; }[]; [key: string]: unknown; }