import type { DebugImageIconOptions, HexColor, Position } from "./types.js"; export interface DebugBadgeStyleOptions { bgColor?: HexColor; textColor?: HexColor; paddingX?: number; paddingY?: number; cornerRadius?: number; minWidth?: number; height?: number; } export interface CreateDebugBadgeOptions extends DebugBadgeStyleOptions { /** Badge text content (optional; allow icon-only badges). */ text?: string; /** Optional image icon rendered next to text (or standalone for icon-only badges). */ icon?: DebugImageIconOptions; /** Font family (default: "Verdana"). */ fontFamily?: string; /** Font size (default: 14). */ fontSize?: number; /** Bold text (default: true). */ isBold?: boolean; /** Position (optional). */ position?: Position; } /** * A compact display-only badge for debug HUD. * * Shows short tags — build version, mode flag, active bonus, etc. * Auto-sizes to fit text content with configurable padding. * Chainable API. */ export declare class DebugBadge extends Phaser.GameObjects.Container { private _bg; private _label; private _icon; private _paddingX; private _paddingY; private _cornerRadius; private _minWidth; private _height; private _bgColor; private _textColor; private _iconOptions; constructor(scene: Phaser.Scene, options: CreateDebugBadgeOptions); setText(text: string): this; setIcon(icon: DebugImageIconOptions | null): this; setBgColor(color: HexColor): this; setTextColor(color: HexColor): this; setPadding(options: { x?: number; y?: number; }): this; setCornerRadius(radius: number): this; setMinWidth(minWidth: number): this; setBadgeHeight(height: number): this; setStyle(options: DebugBadgeStyleOptions): this; private refreshLayout; private applyIconTint; private redrawBg; } export declare function createDebugBadge(scene: Phaser.Scene, options: CreateDebugBadgeOptions): DebugBadge; //# sourceMappingURL=DebugBadge.d.ts.map