{
  "schemaVersion": 1,
  "atomId": "countdown_timer.aicomponent",
  "bundleType": "aicomponent",
  "category": "component",
  "mode": "fixed",
  "label": { "zh": "倒计时显示器", "en": "Countdown timer display" },
  "tags": ["ui", "countdown", "timer", "seven-segment", "digit"],
  "bindingRoles": ["countdownTimer"],
  "scaffold": {
    "files": {
      "src/game/scenes/GameUI/CountdownDisplay.ts": { "source": "ref/CountdownDisplay.ts", "mode": "full", "weight": 10 }
    }
  },
  "imports": [
    { "slot": "engine",        "pinAtomId": "phaser.aicomponent",         "edgeKind": "requires", "bindAs": "engine" },
    { "slot": "digitRenderer", "pinAtomId": "digit_renderer.aicomponent", "edgeKind": "requires", "bindAs": "digitRenderer" },
    {
      "slot": "clockIcon",
      "description": "倒计时时钟图标",
      "bindAs": "clockIcon",
      "required": false,
      "edgeKind": "compatibleWith",
      "matchBindingRoles": ["clockIcon"],
      "allowedBundleTypes": ["aiimage"]
    }
  ],
  "exports": [
    { "name": "CountdownDisplay", "kind": "class", "location": "src/game/scenes/GameUI/CountdownDisplay.ts" }
  ],
  "neutralDescriptor": {
    "geometry": "countdown timer UI component that displays remaining time in seconds using a seven-segment digit renderer with flash animation when time is low"
  },
  "files": { "skill": "SKILL.md", "countdownDisplay": "ref/CountdownDisplay.ts" }
}
