@designbasekorea/ui-wc 0.8.13 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (249) hide show
  1. package/CHANGELOG.md +64 -0
  2. package/LICENSE-PAYMENT-LOGOS.md +437 -0
  3. package/README.md +67 -3
  4. package/dist/esm/components/date-picker-utils.js +1 -1
  5. package/dist/esm/components/db-accordion.js +1 -1
  6. package/dist/esm/components/db-achievement-list.d.ts +31 -0
  7. package/dist/esm/components/db-achievement-list.js +1 -0
  8. package/dist/esm/components/db-achievement-modal.d.ts +38 -0
  9. package/dist/esm/components/db-achievement-modal.js +1 -0
  10. package/dist/esm/components/db-activity-heatmap.js +1 -1
  11. package/dist/esm/components/db-ad-banner.js +1 -1
  12. package/dist/esm/components/db-ai-chain-of-thought.d.ts +14 -0
  13. package/dist/esm/components/db-ai-chain-of-thought.js +1 -0
  14. package/dist/esm/components/db-ai-chat.js +1 -1
  15. package/dist/esm/components/db-ai-checkpoint.d.ts +14 -0
  16. package/dist/esm/components/db-ai-checkpoint.js +1 -0
  17. package/dist/esm/components/db-ai-confirmation.d.ts +14 -0
  18. package/dist/esm/components/db-ai-confirmation.js +1 -0
  19. package/dist/esm/components/db-ai-context.d.ts +15 -0
  20. package/dist/esm/components/db-ai-context.js +1 -0
  21. package/dist/esm/components/db-ai-conversation.d.ts +21 -0
  22. package/dist/esm/components/db-ai-conversation.js +1 -0
  23. package/dist/esm/components/db-ai-execution-quote.d.ts +41 -0
  24. package/dist/esm/components/db-ai-execution-quote.js +1 -0
  25. package/dist/esm/components/db-ai-file-tree.d.ts +14 -0
  26. package/dist/esm/components/db-ai-file-tree.js +1 -0
  27. package/dist/esm/components/db-ai-glow.d.ts +1 -1
  28. package/dist/esm/components/db-ai-inline-citation.d.ts +16 -0
  29. package/dist/esm/components/db-ai-inline-citation.js +1 -0
  30. package/dist/esm/components/db-ai-message.d.ts +19 -0
  31. package/dist/esm/components/db-ai-message.js +1 -0
  32. package/dist/esm/components/db-ai-model-select.d.ts +36 -0
  33. package/dist/esm/components/db-ai-model-select.js +1 -0
  34. package/dist/esm/components/db-ai-plan.d.ts +14 -0
  35. package/dist/esm/components/db-ai-plan.js +1 -0
  36. package/dist/esm/components/db-ai-queue.d.ts +14 -0
  37. package/dist/esm/components/db-ai-queue.js +1 -0
  38. package/dist/esm/components/db-ai-reasoning.d.ts +14 -0
  39. package/dist/esm/components/db-ai-reasoning.js +1 -0
  40. package/dist/esm/components/db-ai-sources.d.ts +14 -0
  41. package/dist/esm/components/db-ai-sources.js +1 -0
  42. package/dist/esm/components/db-ai-stack-trace.d.ts +14 -0
  43. package/dist/esm/components/db-ai-stack-trace.js +1 -0
  44. package/dist/esm/components/db-ai-subagent.d.ts +14 -0
  45. package/dist/esm/components/db-ai-subagent.js +1 -0
  46. package/dist/esm/components/db-ai-task-status.d.ts +26 -0
  47. package/dist/esm/components/db-ai-task-status.js +1 -0
  48. package/dist/esm/components/db-ai-task.d.ts +14 -0
  49. package/dist/esm/components/db-ai-task.js +1 -0
  50. package/dist/esm/components/db-ai-terminal.d.ts +14 -0
  51. package/dist/esm/components/db-ai-terminal.js +1 -0
  52. package/dist/esm/components/db-ai-test-results.d.ts +14 -0
  53. package/dist/esm/components/db-ai-test-results.js +1 -0
  54. package/dist/esm/components/db-ai-tool.d.ts +14 -0
  55. package/dist/esm/components/db-ai-tool.js +1 -0
  56. package/dist/esm/components/db-alert.js +1 -1
  57. package/dist/esm/components/db-app-badge.js +1 -1
  58. package/dist/esm/components/db-attachment-list.d.ts +38 -0
  59. package/dist/esm/components/db-attachment-list.js +1 -0
  60. package/dist/esm/components/db-audio-player.js +1 -1
  61. package/dist/esm/components/db-bento-card.d.ts +55 -0
  62. package/dist/esm/components/db-bento-card.js +1 -0
  63. package/dist/esm/components/db-bento-grid.d.ts +25 -0
  64. package/dist/esm/components/db-bento-grid.js +1 -0
  65. package/dist/esm/components/db-boarding-pass-stack.d.ts +49 -0
  66. package/dist/esm/components/db-boarding-pass-stack.js +1 -0
  67. package/dist/esm/components/db-boarding-pass.d.ts +32 -0
  68. package/dist/esm/components/db-boarding-pass.js +1 -0
  69. package/dist/esm/components/db-border-beam.d.ts +52 -0
  70. package/dist/esm/components/db-border-beam.js +1 -0
  71. package/dist/esm/components/db-bottom-navigation.js +1 -1
  72. package/dist/esm/components/db-bottom-sheet.js +1 -1
  73. package/dist/esm/components/db-breadcrumbs.js +1 -1
  74. package/dist/esm/components/db-button.d.ts +1 -1
  75. package/dist/esm/components/db-button.js +1 -1
  76. package/dist/esm/components/db-calendar.js +1 -1
  77. package/dist/esm/components/db-card.js +1 -1
  78. package/dist/esm/components/db-carousel.d.ts +3 -3
  79. package/dist/esm/components/db-carousel.js +1 -1
  80. package/dist/esm/components/db-chat-composer.d.ts +2 -0
  81. package/dist/esm/components/db-chat-composer.js +1 -1
  82. package/dist/esm/components/db-chat-message.d.ts +1 -1
  83. package/dist/esm/components/db-chat-orb.d.ts +1 -1
  84. package/dist/esm/components/db-chat-room.js +1 -1
  85. package/dist/esm/components/db-chat-widget.d.ts +1 -1
  86. package/dist/esm/components/db-chat-widget.js +1 -1
  87. package/dist/esm/components/db-chip.js +1 -1
  88. package/dist/esm/components/db-code-block.js +1 -1
  89. package/dist/esm/components/db-color-picker.d.ts +1 -0
  90. package/dist/esm/components/db-color-picker.js +1 -1
  91. package/dist/esm/components/db-confetti.d.ts +90 -0
  92. package/dist/esm/components/db-confetti.js +1 -0
  93. package/dist/esm/components/db-context-bar.d.ts +13 -0
  94. package/dist/esm/components/db-context-bar.js +1 -0
  95. package/dist/esm/components/db-credit-balance.d.ts +17 -0
  96. package/dist/esm/components/db-credit-balance.js +1 -0
  97. package/dist/esm/components/db-credit-card.d.ts +51 -0
  98. package/dist/esm/components/db-credit-card.js +1 -0
  99. package/dist/esm/components/db-credit-dropdown.d.ts +31 -0
  100. package/dist/esm/components/db-credit-dropdown.js +1 -0
  101. package/dist/esm/components/db-credit-history.d.ts +31 -0
  102. package/dist/esm/components/db-credit-history.js +1 -0
  103. package/dist/esm/components/db-credit-recharge-modal.d.ts +35 -0
  104. package/dist/esm/components/db-credit-recharge-modal.js +1 -0
  105. package/dist/esm/components/db-credit-recharge.d.ts +39 -0
  106. package/dist/esm/components/db-credit-recharge.js +1 -0
  107. package/dist/esm/components/db-date-picker.js +1 -1
  108. package/dist/esm/components/db-design-canvas.d.ts +137 -0
  109. package/dist/esm/components/db-design-canvas.js +1 -0
  110. package/dist/esm/components/db-design-toolbar.d.ts +60 -0
  111. package/dist/esm/components/db-design-toolbar.js +1 -0
  112. package/dist/esm/components/db-device-mockup.d.ts +100 -0
  113. package/dist/esm/components/db-device-mockup.js +1 -0
  114. package/dist/esm/components/db-download-progress.d.ts +1 -1
  115. package/dist/esm/components/db-download-progress.js +1 -1
  116. package/dist/esm/components/db-drawer.js +1 -1
  117. package/dist/esm/components/db-dropdown.d.ts +2 -0
  118. package/dist/esm/components/db-dropdown.js +1 -1
  119. package/dist/esm/components/db-dropzone.js +1 -1
  120. package/dist/esm/components/db-email-verify.d.ts +1 -7
  121. package/dist/esm/components/db-email-verify.js +1 -1
  122. package/dist/esm/components/db-file-uploader.d.ts +10 -0
  123. package/dist/esm/components/db-file-uploader.js +1 -1
  124. package/dist/esm/components/db-filter-bar.d.ts +34 -0
  125. package/dist/esm/components/db-filter-bar.js +1 -0
  126. package/dist/esm/components/db-flight-status.d.ts +33 -0
  127. package/dist/esm/components/db-flight-status.js +1 -0
  128. package/dist/esm/components/db-floating-action-button.d.ts +24 -14
  129. package/dist/esm/components/db-floating-action-button.js +1 -1
  130. package/dist/esm/components/db-footer.d.ts +3 -0
  131. package/dist/esm/components/db-footer.js +1 -1
  132. package/dist/esm/components/db-gantt.js +1 -1
  133. package/dist/esm/components/db-glyph-matrix.d.ts +58 -0
  134. package/dist/esm/components/db-glyph-matrix.js +1 -0
  135. package/dist/esm/components/db-icons.d.ts +1 -1
  136. package/dist/esm/components/db-icons.js +1 -1
  137. package/dist/esm/components/db-image-list.d.ts +2 -0
  138. package/dist/esm/components/db-image-list.js +1 -1
  139. package/dist/esm/components/db-indicator.js +1 -1
  140. package/dist/esm/components/db-input.js +1 -1
  141. package/dist/esm/components/db-kanban.js +1 -1
  142. package/dist/esm/components/db-lightbox.d.ts +4 -0
  143. package/dist/esm/components/db-lightbox.js +1 -1
  144. package/dist/esm/components/db-markdown-editor.js +1 -1
  145. package/dist/esm/components/db-marquee.d.ts +2 -10
  146. package/dist/esm/components/db-marquee.js +1 -1
  147. package/dist/esm/components/db-menu-item.d.ts +2 -0
  148. package/dist/esm/components/db-menu-item.js +1 -1
  149. package/dist/esm/components/db-modal.d.ts +1 -1
  150. package/dist/esm/components/db-modal.js +1 -1
  151. package/dist/esm/components/db-navbar.d.ts +3 -1
  152. package/dist/esm/components/db-navbar.js +1 -1
  153. package/dist/esm/components/db-navigation-rail.d.ts +1 -1
  154. package/dist/esm/components/db-node.d.ts +83 -0
  155. package/dist/esm/components/db-node.js +1 -0
  156. package/dist/esm/components/db-notification-dropdown.d.ts +30 -0
  157. package/dist/esm/components/db-notification-dropdown.js +1 -0
  158. package/dist/esm/components/db-notification-inbox.d.ts +25 -0
  159. package/dist/esm/components/db-notification-inbox.js +1 -0
  160. package/dist/esm/components/db-onboarding-modal.js +1 -1
  161. package/dist/esm/components/db-otp-input.d.ts +1 -1
  162. package/dist/esm/components/db-otp-input.js +1 -1
  163. package/dist/esm/components/db-page-header.d.ts +8 -0
  164. package/dist/esm/components/db-page-header.js +1 -1
  165. package/dist/esm/components/db-pagination.js +1 -1
  166. package/dist/esm/components/db-phone-verify.d.ts +1 -1
  167. package/dist/esm/components/db-phone-verify.js +1 -1
  168. package/dist/esm/components/db-plan-overview.d.ts +26 -0
  169. package/dist/esm/components/db-plan-overview.js +1 -0
  170. package/dist/esm/components/db-popover.js +1 -1
  171. package/dist/esm/components/db-progress-step.js +1 -1
  172. package/dist/esm/components/db-progressive-blur.d.ts +35 -0
  173. package/dist/esm/components/db-progressive-blur.js +1 -0
  174. package/dist/esm/components/db-receipt.d.ts +37 -0
  175. package/dist/esm/components/db-receipt.js +1 -0
  176. package/dist/esm/components/db-resizable-panels.js +1 -1
  177. package/dist/esm/components/db-search-bar.js +1 -1
  178. package/dist/esm/components/db-section-testimonials.d.ts +1 -4
  179. package/dist/esm/components/db-section-testimonials.js +1 -1
  180. package/dist/esm/components/db-segment-control.d.ts +0 -4
  181. package/dist/esm/components/db-segment-control.js +1 -1
  182. package/dist/esm/components/db-select.js +1 -1
  183. package/dist/esm/components/db-share.js +1 -1
  184. package/dist/esm/components/db-sidebar.d.ts +14 -1
  185. package/dist/esm/components/db-sidebar.js +1 -1
  186. package/dist/esm/components/db-split-view.d.ts +2 -0
  187. package/dist/esm/components/db-split-view.js +1 -1
  188. package/dist/esm/components/db-stepper.d.ts +0 -3
  189. package/dist/esm/components/db-stepper.js +1 -1
  190. package/dist/esm/components/db-table.js +1 -1
  191. package/dist/esm/components/db-testimonial.js +1 -1
  192. package/dist/esm/components/db-textarea.js +1 -1
  193. package/dist/esm/components/db-ticket.d.ts +18 -0
  194. package/dist/esm/components/db-ticket.js +1 -0
  195. package/dist/esm/components/db-time-picker.d.ts +1 -1
  196. package/dist/esm/components/db-time-picker.js +1 -1
  197. package/dist/esm/components/db-tool-button.d.ts +57 -0
  198. package/dist/esm/components/db-tool-button.js +1 -0
  199. package/dist/esm/components/db-top-banner.js +1 -1
  200. package/dist/esm/components/db-tutorial.js +1 -1
  201. package/dist/esm/components/db-tweet-card.d.ts +101 -0
  202. package/dist/esm/components/db-tweet-card.js +1 -0
  203. package/dist/esm/components/db-two-factor.d.ts +5 -11
  204. package/dist/esm/components/db-two-factor.js +1 -1
  205. package/dist/esm/components/db-video-player.js +1 -1
  206. package/dist/esm/components/db-voice-control.d.ts +25 -0
  207. package/dist/esm/components/db-voice-control.js +1 -0
  208. package/dist/esm/components/db-workspace-invite-modal.d.ts +51 -0
  209. package/dist/esm/components/db-workspace-invite-modal.js +1 -0
  210. package/dist/esm/components/db-workspace-members.d.ts +36 -0
  211. package/dist/esm/components/db-workspace-members.js +1 -0
  212. package/dist/esm/components/db-youtube-player.js +1 -1
  213. package/dist/esm/components/device-mockup-style.js +1 -0
  214. package/dist/esm/components/flight-route.js +1 -0
  215. package/dist/esm/components/input-validation.js +1 -1
  216. package/dist/esm/components/node-style.js +1 -0
  217. package/dist/esm/components/paper-card.d.ts +26 -0
  218. package/dist/esm/components/paper-card.js +1 -0
  219. package/dist/esm/components/random-gradient-palettes.d.ts +4 -0
  220. package/dist/esm/core/ai-element.d.ts +47 -0
  221. package/dist/esm/core/ai-element.js +1 -0
  222. package/dist/esm/core/credit-ui.js +1 -0
  223. package/dist/esm/core/i18n-copy.js +1 -0
  224. package/dist/esm/core/i18n-en.js +1 -0
  225. package/dist/esm/core/i18n.d.ts +206 -1
  226. package/dist/esm/core/i18n.js +1 -1
  227. package/dist/esm/core/notification-ui.d.ts +17 -0
  228. package/dist/esm/core/notification-ui.js +1 -0
  229. package/dist/esm/helpers/payment-brands.d.ts +56 -0
  230. package/dist/esm/helpers/payment-brands.js +1 -0
  231. package/dist/esm/helpers/toast.d.ts +2 -3
  232. package/dist/esm/index.d.ts +63 -3
  233. package/dist/esm/index.js +1 -1
  234. package/dist/esm/node_modules/@designbasekorea/carousel/dist/chunks/chunk-AGE5BHQ4.js +1 -0
  235. package/dist/esm/node_modules/@designbasekorea/carousel/dist/chunks/chunk-GM4TCAP5.js +1 -0
  236. package/dist/esm/node_modules/@designbasekorea/carousel/dist/chunks/chunk-GSN4JZN7.js +1 -0
  237. package/dist/esm/node_modules/@designbasekorea/carousel/dist/chunks/chunk-VJJVQGV4.js +1 -0
  238. package/dist/esm/node_modules/@designbasekorea/carousel/dist/chunks/chunk-YWLMJGDH.js +1 -0
  239. package/dist/esm/node_modules/@designbasekorea/ui-contracts/dist/components.js +1 -1
  240. package/dist/esm/ui-contracts/dist/components.d.d.ts +76 -0
  241. package/dist/esm/ui-contracts/dist/primitives.d.d.ts +21 -0
  242. package/dist/index.cjs +1 -1
  243. package/dist/index.css +1 -1
  244. package/dist/index.d.ts +2223 -63
  245. package/dist/index.esm.js +1 -1
  246. package/dist/react/index.cjs +1 -1
  247. package/dist/react/index.d.ts +793 -6726
  248. package/dist/react/index.esm.js +1 -1
  249. package/package.json +16 -9
package/dist/index.d.ts CHANGED
@@ -1,6 +1,3 @@
1
- import { NavigationRailLabelDisplay, BadgeVariant, BadgeType, TIME_PICKER_FORMATS, DOWNLOAD_PROGRESS_STATUSES, DOWNLOAD_PROGRESS_POSITIONS, OTP_INPUT_SIZES, PHONE_VERIFY_SIZES, EMAIL_VERIFY_SIZES, TWO_FACTOR_SIZES, AI_GLOW_STATES, AI_GLOW_VARIANTS, AI_GLOW_SIZES, CHAT_ORB_SIZES, CHAT_ORB_VARIANTS, CHAT_ORB_STATES, CHAT_ORB_THEMES, CHAT_MESSAGE_ROLES, CHAT_WIDGET_VIEWS, CHAT_WIDGET_POSITIONS, ToastVariant, ToastPosition } from '@designbasekorea/ui-contracts';
2
- export { ToastPosition as DbToastPosition, ToastVariant as DbToastVariant } from '@designbasekorea/ui-contracts';
3
-
4
1
  /**
5
2
  * 엘리먼트 id 생성.
6
3
  *
@@ -165,6 +162,200 @@ declare function activateOnKey(el: HTMLElement, options?: {
165
162
  */
166
163
  /** 컴포넌트가 쓰는 문자열 키 → 기본(한국어) 값 */
167
164
  declare const DEFAULT_STRINGS: {
165
+ readonly "upload.title": "파일을 드래그하여 업로드하거나 클릭하여 선택하세요";
166
+ readonly "upload.choose": "파일 선택";
167
+ readonly "upload.allFormats": "모든 파일 형식 지원";
168
+ readonly "upload.maximum": " (최대 {size})";
169
+ readonly "upload.files": "업로드된 파일들 ({count}개)";
170
+ readonly "upload.retry": "재시도";
171
+ readonly "upload.remove": "삭제";
172
+ readonly "upload.illustration": "업로드 일러스트";
173
+ readonly "creditCard.security": "보안 코드 {code}";
174
+ readonly "creditCard.label": "{issuer} 카드{lastFour}, 뒤집기";
175
+ readonly "creditCard.ending": ", 끝자리 {digits}";
176
+ readonly "creditCard.front": "앞면";
177
+ readonly "creditCard.back": "뒷면";
178
+ readonly "creditCard.showing": "{side} 표시 중";
179
+ readonly "creditCard.expiry": "유효기간 {expiry}";
180
+ readonly "creditCard.show": "누르면 {side}을 표시합니다";
181
+ readonly "flight.scheduled": "출발 예정";
182
+ readonly "flight.boarding": "탑승 중";
183
+ readonly "flight.in-flight": "운항 중";
184
+ readonly "flight.landed": "도착";
185
+ readonly "flight.delayed": "지연";
186
+ readonly "flight.cancelled": "취소";
187
+ readonly "flight.title": "운항 현황";
188
+ readonly "flight.progress": "여정 진행률";
189
+ readonly "boardingPass.origin": "출발";
190
+ readonly "boardingPass.destination": "도착";
191
+ readonly "boardingPass.passenger": "탑승객";
192
+ readonly "boardingPass.service": "편명";
193
+ readonly "boardingPass.date": "날짜";
194
+ readonly "boardingPass.boarding": "탑승 시각";
195
+ readonly "boardingPass.departure": "출발 시각";
196
+ readonly "boardingPass.arrival": "도착 시각";
197
+ readonly "boardingPass.terminal": "터미널";
198
+ readonly "boardingPass.gate": "게이트";
199
+ readonly "boardingPass.seat": "좌석";
200
+ readonly "boardingPass.travelClass": "등급";
201
+ readonly "boardingPass.title": "탑승권";
202
+ readonly "wallet.title": "나의 탑승권";
203
+ readonly "wallet.empty": "등록된 탑승권이 없습니다.";
204
+ readonly "wallet.journeys": "여정 선택";
205
+ readonly "receipt.quantity": "수량";
206
+ readonly "receipt.subtotal": "소계";
207
+ readonly "receipt.discount": "할인";
208
+ readonly "receipt.tax": "세금";
209
+ readonly "receipt.total": "합계";
210
+ readonly "receipt.payment": "결제수단";
211
+ readonly "receipt.empty": "표시할 품목이 없습니다.";
212
+ readonly "receipt.invalid": "품목과 금액 정보를 확인해주세요.";
213
+ readonly "receipt.title": "영수증";
214
+ readonly "paper.codeImage": "코드 이미지";
215
+ readonly 'aiElement.emptyFolder': "빈 폴더";
216
+ readonly 'aiElement.noFiles': "표시할 파일이 없습니다.";
217
+ readonly 'attachment.title': "첨부 파일";
218
+ readonly 'attachment.empty': "아직 첨부한 파일이 없습니다.";
219
+ readonly 'attachment.queued': "대기 중";
220
+ readonly 'attachment.uploading': "업로드 중";
221
+ readonly 'attachment.processing': "서버 처리 중";
222
+ readonly 'attachment.ready': "완료";
223
+ readonly 'attachment.error': "실패";
224
+ readonly 'attachment.cancelled': "취소됨";
225
+ readonly 'attachment.unknown': "진행률을 확인하고 있어요.";
226
+ readonly 'attachment.cancel': "취소";
227
+ readonly 'attachment.retry': "재시도";
228
+ readonly 'attachment.remove': "목록에서 제거";
229
+ readonly 'attachment.open': "상세 보기";
230
+ readonly 'attachment.reload': "다시 불러오기";
231
+ readonly 'workspace.members': "워크스페이스 멤버";
232
+ readonly 'workspace.invite': "멤버 초대";
233
+ readonly 'workspace.email': "이메일";
234
+ readonly 'workspace.role': "초대 역할";
235
+ readonly 'workspace.chooseRole': "역할을 선택하세요";
236
+ readonly 'workspace.description': "함께 작업할 사람의 이메일과 역할을 확인하세요.";
237
+ readonly 'workspace.submit': "초대 요청";
238
+ readonly 'workspace.emailError': "254자 이내의 올바른 이메일 주소를 입력해 주세요.";
239
+ readonly 'workspace.roleError': "초대할 역할을 선택해 주세요.";
240
+ readonly 'workspace.retry': "다시 불러오기";
241
+ readonly 'workspace.reinvite': "다시 초대";
242
+ readonly 'workspace.active': "이용 중";
243
+ readonly 'workspace.invited': "초대 대기";
244
+ readonly 'workspace.expired': "초대 만료";
245
+ readonly 'workspace.empty': "아직 표시할 멤버가 없습니다.";
246
+ readonly 'aiElement.pending': "대기 중";
247
+ readonly 'aiElement.running': "진행 중";
248
+ readonly 'aiElement.complete': "완료";
249
+ readonly 'aiElement.error': "실패";
250
+ readonly 'aiElement.cancelled': "취소됨";
251
+ readonly 'aiElement.approval': "승인 대기";
252
+ readonly 'aiElement.researching': "자료를 확인하고 있어요";
253
+ readonly 'aiElement.researched': "작업 과정 살펴보기";
254
+ readonly 'aiElement.thinking': "생각 정리 중";
255
+ readonly 'aiElement.reasoning': "응답 요약";
256
+ readonly 'aiElement.plan': "작업 계획";
257
+ readonly 'aiElement.queue': "대기 중인 요청";
258
+ readonly 'aiElement.remove': "제거";
259
+ readonly 'aiElement.queueEmpty': "대기 중인 요청이 없습니다.";
260
+ readonly 'aiElement.sources': "참고한 출처";
261
+ readonly 'aiElement.citation': "출처";
262
+ readonly 'aiElement.checkpoint': "체크포인트 저장됨";
263
+ readonly 'aiElement.restore': "여기부터 복원";
264
+ readonly 'aiElement.confirmation': "이 작업을 진행할까요?";
265
+ readonly 'aiElement.allow': "허용";
266
+ readonly 'aiElement.reject': "거절";
267
+ readonly 'aiElement.accepted': "작업을 허용했습니다.";
268
+ readonly 'aiElement.rejected': "작업을 거절했습니다.";
269
+ readonly 'aiElement.context': "컨텍스트";
270
+ readonly 'aiElement.tokens': "토큰";
271
+ readonly 'aiElement.unknown': "사용량을 아직 확인할 수 없습니다.";
272
+ readonly 'aiElement.files': "작업 파일";
273
+ readonly 'aiElement.task': "작업 진행";
274
+ readonly 'aiElement.subagent': "보조 에이전트";
275
+ readonly 'aiElement.tool': "도구 실행";
276
+ readonly 'aiElement.terminal': "터미널";
277
+ readonly 'aiElement.stackTrace': "오류 상세";
278
+ readonly 'aiElement.tests': "테스트 결과";
279
+ readonly 'aiElement.passed': "통과";
280
+ readonly 'aiElement.failed': "실패";
281
+ readonly 'aiElement.input': "입력";
282
+ readonly 'aiElement.output': "출력";
283
+ readonly 'aiElement.user': "사용자";
284
+ readonly 'aiElement.assistant': "AI 응답";
285
+ readonly 'aiElement.copy': "복사";
286
+ readonly 'aiElement.regenerate': "다시 생성";
287
+ readonly 'aiElement.like': "좋아요";
288
+ readonly 'aiElement.dislike': "싫어요";
289
+ readonly 'aiElement.latest': "최신 응답으로";
290
+ readonly 'aiElement.conversation': "AI와의 대화";
291
+ readonly 'notification.title': "알림";
292
+ readonly 'notification.filters': "알림 필터";
293
+ readonly 'notification.all': "전체";
294
+ readonly 'notification.unread': "안 읽음";
295
+ readonly 'notification.readAll': "표시된 알림 모두 읽음";
296
+ readonly 'notification.markRead': "읽음으로 표시";
297
+ readonly 'notification.retry': "다시 불러오기";
298
+ readonly 'notification.empty': "아직 도착한 알림이 없습니다.";
299
+ readonly 'notification.caughtUp': "모든 알림을 확인했어요.";
300
+ readonly 'notification.countUnknown': "확인 필요";
301
+ readonly 'aiModel.label': "사용 모델";
302
+ readonly 'aiModel.choose': "모델을 선택하세요";
303
+ readonly 'aiModel.empty': "현재 사용할 수 있는 모델이 없습니다.";
304
+ readonly 'aiModel.capabilities': "지원 작업";
305
+ readonly 'aiModel.usage': "사용량 단위";
306
+ readonly 'aiQuote.expires': "견적 유효 시간";
307
+ readonly 'aiQuote.title': "실행 전 견적";
308
+ readonly 'aiQuote.reserved': "예약할 최대 크레딧";
309
+ readonly 'aiQuote.providerCost': "예상 제공사 비용";
310
+ readonly 'aiQuote.pricingVersion': "가격표 버전";
311
+ readonly 'aiQuote.unknown': "미확정";
312
+ readonly 'aiQuote.idle': "모델과 요청 내용을 정한 뒤 견적을 확인하세요.";
313
+ readonly 'aiQuote.loading': "견적을 확인하고 있습니다.";
314
+ readonly 'aiQuote.executing': "요청을 처리하고 있습니다. 중복 실행하지 마세요.";
315
+ readonly 'aiQuote.stale': "모델 또는 입력이 변경됐습니다. 견적을 다시 확인하세요.";
316
+ readonly 'aiQuote.expired': "견적이 만료됐습니다. 견적을 다시 확인하세요.";
317
+ readonly 'aiQuote.balanceUnknown': "잔액을 확인할 수 없습니다. 새로 확인해 주세요.";
318
+ readonly 'aiQuote.insufficient': "추가로 필요한 크레딧:";
319
+ readonly 'aiQuote.ready': "실행 시 최대 크레딧을 예약하고, 결과 확인 후 실제 사용량으로 정산합니다.";
320
+ readonly 'aiQuote.refresh': "견적 다시 확인";
321
+ readonly 'aiQuote.request': "견적 확인";
322
+ readonly 'aiQuote.execute': "실행하기";
323
+ readonly 'plan.current': "현재 플랜";
324
+ readonly 'plan.usage': "이번 기간 사용";
325
+ readonly 'plan.allowed': "이용 가능";
326
+ readonly 'plan.locked': "미포함";
327
+ readonly 'plan.manage': "플랜 관리";
328
+ readonly 'plan.retry': "다시 불러오기";
329
+ readonly 'history.title': "크레딧 사용 내역";
330
+ readonly 'history.empty': "아직 표시할 내역이 없습니다.";
331
+ readonly 'history.unresolved': "확인 중";
332
+ readonly 'history.grant': "지급";
333
+ readonly 'history.charge': "사용";
334
+ readonly 'history.hold': "예약 · 정산 전";
335
+ readonly 'history.release': "예약 해제";
336
+ readonly 'credits.choosePlan': "충전할 크레딧";
337
+ readonly 'credits.rechargeDescription': "필요한 만큼 선택하고, 금액과 제공 조건을 확인하세요.";
338
+ readonly 'credits.paymentAmount': "결제 금액";
339
+ readonly 'credits.paymentPending': "결제 상태 확인 중";
340
+ readonly 'credits.remaining': "현재 남은 크레딧";
341
+ readonly 'credits.available': "사용 가능 크레딧";
342
+ readonly 'credits.unit': "크레딧";
343
+ readonly 'credits.held': "예약 중";
344
+ readonly 'credits.spent': "누적 사용";
345
+ readonly 'credits.charged': "차감";
346
+ readonly 'credits.low': "남은 크레딧이 적습니다.";
347
+ readonly 'credits.recharge': "크레딧 충전";
348
+ readonly 'credits.checkout': "결제 진행";
349
+ readonly 'credits.noPlans': "현재 충전 가능한 상품이 없습니다.";
350
+ readonly 'aiTask.title': "AI 작업";
351
+ readonly 'aiTask.idle': "작업 전";
352
+ readonly 'aiTask.queued': "실행 대기";
353
+ readonly 'aiTask.running': "실행 중";
354
+ readonly 'aiTask.succeeded': "완료";
355
+ readonly 'aiTask.failed': "실패";
356
+ readonly 'aiTask.cancelled': "취소됨";
357
+ readonly 'aiTask.needs_attention': "결과 확인 필요";
358
+ readonly 'aiTask.attentionDescription': "결과와 사용량을 확인하고 있습니다. 확인이 끝날 때까지 예약 크레딧이 유지됩니다.";
168
359
  readonly close: "닫기";
169
360
  readonly 'modal.close': "모달 닫기";
170
361
  readonly 'drawer.close': "드로어 닫기";
@@ -207,9 +398,20 @@ declare const DEFAULT_STRINGS: {
207
398
  readonly 'input.clearSearch': "검색어 지우기";
208
399
  readonly 'verify.done': "인증 완료";
209
400
  readonly 'verify.phoneDone': "휴대폰 번호 인증이 완료되었습니다.";
401
+ readonly 'bentoCard.cta': "자세히 보기";
402
+ readonly 'tweetCard.loading': "트윗을 불러오는 중입니다...";
403
+ readonly 'tweetCard.error': "트윗을 불러올 수 없습니다.";
404
+ readonly 'tweetCard.viewOnTwitter': "X에서 보기";
405
+ readonly 'tweetCard.like': "좋아요";
406
+ readonly 'tweetCard.retweet': "리포스트";
407
+ readonly 'tweetCard.reply': "답글";
408
+ readonly 'tweetCard.verified': "인증된 계정";
409
+ readonly 'tweetCard.retry': "다시 시도";
210
410
  };
211
411
  type DbStringKey = keyof typeof DEFAULT_STRINGS;
212
412
  type DbStrings = Partial<Record<DbStringKey, string>> & Record<string, string>;
413
+ /** Select built-in defaults. Explicit dbSetLocale overrides remain authoritative. */
414
+ declare function dbUseLocale(locale: 'en' | 'ko'): void;
213
415
  /**
214
416
  * 문자열을 전역으로 덮어쓴다. 앱 부트스트랩에서 한 번 호출한다.
215
417
  *
@@ -335,6 +537,97 @@ declare global {
335
537
  }
336
538
  }
337
539
 
540
+ /**
541
+ * 여러 컴포넌트가 공유하는 기본 스케일.
542
+ *
543
+ * 개별 컴포넌트가 자기만의 s/m/l 을 따로 선언하면 한쪽에서 값이 추가될 때
544
+ * 다른 쪽이 조용히 뒤처진다. 스케일은 여기서만 정의한다.
545
+ */
546
+ /** 표준 3단계 스케일 — 대부분의 컨트롤(Button, Input, Checkbox 등)이 사용한다 */
547
+ declare const SIZE_SML: readonly ["s", "m", "l"];
548
+ type SizeSML = (typeof SIZE_SML)[number];
549
+ /**
550
+ * 피드백 톤.
551
+ *
552
+ * ⚠️ `error` 가 아니라 `danger` 다. 디자인 토큰은 내부적으로 `feedback.error` 라는
553
+ * 키를 쓰지만, 컴포넌트 공개 API 는 danger 로 통일한다. 토큰 키와 API 이름이
554
+ * 다른 것은 의도된 것이며, 매핑은 각 구현체가 담당한다.
555
+ */
556
+ declare const FEEDBACK_TONES: readonly ["info", "success", "warning", "danger"];
557
+ type FeedbackTone = (typeof FEEDBACK_TONES)[number];
558
+
559
+ /**
560
+ * 컴포넌트별 API 계약.
561
+ *
562
+ * 웹(@designbasekorea/ui-wc)과 React Native(@designbasekorea/ui-native)가
563
+ * 공유하는 컴포넌트의 variant/size/type 값은 전부 여기서 나온다.
564
+ * 한쪽에만 있는 컴포넌트(db-code-block, db-animation-background 등)는
565
+ * 여기에 넣지 않는다 — 공유하지 않는 것을 계약에 넣으면 계약이 죽는다.
566
+ *
567
+ * 값을 바꾸면 양쪽 구현이 동시에 타입 에러를 낸다. 그게 이 파일의 목적이다.
568
+ */
569
+
570
+ declare const BADGE_VARIANTS: readonly ["primary", "secondary", "info", "success", "warning", "danger"];
571
+ type BadgeVariant = (typeof BADGE_VARIANTS)[number];
572
+ /**
573
+ * 표시 형태. 웹은 이 축을 `style` 이라고 불렀지만 `type` 으로 통일한다.
574
+ * (`style` 은 RN 에서 사실상 예약어이고, 나머지 컴포넌트도 `type` 을 쓴다)
575
+ */
576
+ declare const BADGE_TYPES: readonly ["dot", "number", "text", "outlined"];
577
+ type BadgeType = (typeof BADGE_TYPES)[number];
578
+ type ToastVariant = 'default' | FeedbackTone;
579
+ /**
580
+ * 웹 `toast()` 헬퍼가 이미 배포한 값 그대로다.
581
+ * RN 은 화면이 좁아 좌/중앙/우 차이가 작지만, 같은 이름을 받아야 코드가 옮겨진다.
582
+ */
583
+ declare const TOAST_POSITIONS: readonly ["top-left", "top-center", "top-right", "bottom-left", "bottom-center", "bottom-right"];
584
+ type ToastPosition = (typeof TOAST_POSITIONS)[number];
585
+ declare const NAVIGATION_RAIL_LABEL_DISPLAYS: readonly ["tooltip", "always"];
586
+ type NavigationRailLabelDisplay = (typeof NAVIGATION_RAIL_LABEL_DISPLAYS)[number];
587
+ declare const CHAT_MESSAGE_ROLES: readonly ["user", "assistant", "system"];
588
+ declare const AI_GLOW_VARIANTS: readonly ["aurora", "brand"];
589
+ declare const AI_GLOW_STATES: readonly ["thinking", "working", "listening"];
590
+ declare const AI_GLOW_SIZES: readonly ["s", "m", "l"];
591
+ declare const CHAT_ORB_SIZES: readonly ["xs", "s", "m", "l", "xl"];
592
+ declare const CHAT_ORB_VARIANTS: readonly ["aurora", "ocean", "emerald", "violet", "mono"];
593
+ declare const CHAT_ORB_STATES: readonly ["idle", "thinking", "listening"];
594
+ declare const CHAT_ORB_THEMES: readonly ["auto", "light", "dark"];
595
+ declare const CHAT_WIDGET_VIEWS: readonly ["home", "messages", "conversation", "help", "article"];
596
+ declare const CHAT_WIDGET_POSITIONS: readonly ["bottom-right", "bottom-left"];
597
+ declare const DOWNLOAD_PROGRESS_STATUSES: readonly ["downloading", "paused", "error", "complete"];
598
+ declare const DOWNLOAD_PROGRESS_POSITIONS: readonly ["bottom-right", "bottom-left", "bottom-center", "top-right", "top-left", "top-center"];
599
+ declare const EMAIL_VERIFY_SIZES: readonly ["s", "m", "l"];
600
+ declare const OTP_INPUT_SIZES: readonly ["s", "m", "l"];
601
+ declare const PHONE_VERIFY_SIZES: readonly ["s", "m", "l"];
602
+ declare const SIDEBAR_ACCORDION_MODES: readonly ["single", "multiple"];
603
+ declare const TIME_PICKER_FORMATS: readonly ["12h", "24h", "12h-with-seconds", "24h-with-seconds"];
604
+ declare const TWO_FACTOR_SIZES: readonly ["s", "m", "l"];
605
+ type BentoGridSize = SizeSML;
606
+ declare const BENTO_GRID_COLUMNS: readonly ["1", "2", "3", "4"];
607
+ type BentoGridColumns = (typeof BENTO_GRID_COLUMNS)[number];
608
+ declare const BENTO_CARD_VARIANTS: readonly ["default", "flat", "elevated"];
609
+ type BentoCardVariant = (typeof BENTO_CARD_VARIANTS)[number];
610
+ type BentoCardSize = SizeSML;
611
+ declare const BENTO_CARD_IMAGE_POSITIONS: readonly ["top", "cover"];
612
+ type BentoCardImagePosition = (typeof BENTO_CARD_IMAGE_POSITIONS)[number];
613
+ declare const TWEET_CARD_VARIANTS: readonly ["default", "flat", "outlined"];
614
+ type TweetCardVariant = (typeof TWEET_CARD_VARIANTS)[number];
615
+ type TweetCardSize = SizeSML;
616
+ declare const PROGRESSIVE_BLUR_POSITIONS: readonly ["top", "bottom", "both", "left", "right"];
617
+ type ProgressiveBlurPosition = (typeof PROGRESSIVE_BLUR_POSITIONS)[number];
618
+ type ProgressiveBlurSize = SizeSML;
619
+ declare const BORDER_BEAM_VARIANTS: readonly ["default", "rainbow", "glow"];
620
+ type BorderBeamVariant = (typeof BORDER_BEAM_VARIANTS)[number];
621
+ declare const CONFETTI_MODES: readonly ["cannon", "fireworks", "stars", "pride", "snow"];
622
+ type ConfettiMode = (typeof CONFETTI_MODES)[number];
623
+ declare const CONFETTI_TRIGGERS: readonly ["manual", "auto", "click"];
624
+ type ConfettiTrigger = (typeof CONFETTI_TRIGGERS)[number];
625
+ declare const CONFETTI_SHAPES: readonly ["mix", "square", "circle", "star"];
626
+ type ConfettiShape = (typeof CONFETTI_SHAPES)[number];
627
+ declare const GLYPH_MATRIX_PRESETS: readonly ["code", "matrix", "binary", "dots", "alphanumeric"];
628
+ type GlyphMatrixPreset = (typeof GLYPH_MATRIX_PRESETS)[number];
629
+ type GlyphMatrixSize = SizeSML;
630
+
338
631
  interface DbNavigationRailItem {
339
632
  id: string;
340
633
  label: string;
@@ -426,7 +719,7 @@ declare class DbButton extends HTMLElement {
426
719
  private syncRadius;
427
720
  private syncAccentStyle;
428
721
  /**
429
- * outline 스타일의 회전하는 테두리 글로우.
722
+ * outline·prism 스타일의 회전하는 테두리 레이어.
430
723
  *
431
724
  * conic-gradient 의 각도를 직접 애니메이션하려면 `@property` 가 필요해 기준선이 올라간다.
432
725
  * 대신 넘치는 정사각형을 `overflow: hidden` 컨테이너 안에서 회전시키고,
@@ -785,7 +1078,7 @@ declare class DbModal extends HTMLElement {
785
1078
  private childObserver?;
786
1079
  connectedCallback(): void;
787
1080
  disconnectedCallback(): void;
788
- attributeChangedCallback(name: string): void;
1081
+ attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
789
1082
  private resolvedSize;
790
1083
  get size(): string;
791
1084
  set size(value: string);
@@ -855,6 +1148,8 @@ declare class DbDropdown extends HTMLElement {
855
1148
  private focusedIndex;
856
1149
  private onTriggerActivate;
857
1150
  private lastTriggerSignature;
1151
+ get showChevron(): boolean;
1152
+ set showChevron(value: boolean);
858
1153
  get parsedItems(): DbDropdownItem[];
859
1154
  get options(): string[] | string;
860
1155
  set options(value: string[] | string);
@@ -1632,6 +1927,8 @@ interface DbMenuItemChildData {
1632
1927
  variant?: string;
1633
1928
  }
1634
1929
  declare class DbMenuItem extends HTMLElement {
1930
+ private static nextId;
1931
+ private readonly childrenId;
1635
1932
  static get observedAttributes(): string[];
1636
1933
  get subItems(): DbMenuItemChildData[];
1637
1934
  set subItems(value: DbMenuItemChildData[] | string);
@@ -1906,8 +2203,10 @@ interface DbImageListItem {
1906
2203
  declare class DbImageList extends HTMLElement {
1907
2204
  private lightboxEl;
1908
2205
  private selectedIndex;
2206
+ private carouselEngine?;
1909
2207
  static get observedAttributes(): string[];
1910
2208
  connectedCallback(): void;
2209
+ disconnectedCallback(): void;
1911
2210
  attributeChangedCallback(): void;
1912
2211
  private parseImages;
1913
2212
  private mapRoundedAttr;
@@ -1936,6 +2235,9 @@ declare class DbLightbox extends HTMLElement {
1936
2235
  private scrollLocked;
1937
2236
  private readonly titleId;
1938
2237
  private imageEl;
2238
+ private carouselEngine?;
2239
+ private carouselViewport;
2240
+ private slideSignature;
1939
2241
  private loadingEl;
1940
2242
  private errorEl;
1941
2243
  private counterBadge;
@@ -1958,6 +2260,7 @@ declare class DbLightbox extends HTMLElement {
1958
2260
  private resetImageState;
1959
2261
  private close;
1960
2262
  private goTo;
2263
+ private ensureCarousel;
1961
2264
  private createIconButton;
1962
2265
  private buildPortal;
1963
2266
  private handleImageLoad;
@@ -2047,6 +2350,8 @@ interface DbNavbarUserProfile {
2047
2350
  badgeText?: string;
2048
2351
  }
2049
2352
  declare class DbNavbar extends HTMLElement {
2353
+ private static nextId;
2354
+ private readonly mobileMenuId;
2050
2355
  private mobileOpen;
2051
2356
  private userMenuOpen;
2052
2357
  private expandedMobile;
@@ -2126,6 +2431,9 @@ interface DbFooterFamilySite {
2126
2431
  href: string;
2127
2432
  }
2128
2433
  declare class DbFooter extends HTMLElement {
2434
+ /** Light-DOM slots retain framework state and listeners across attribute updates. */
2435
+ private brandContent;
2436
+ private bottomContent;
2129
2437
  static get observedAttributes(): string[];
2130
2438
  connectedCallback(): void;
2131
2439
  attributeChangedCallback(): void;
@@ -2259,6 +2567,15 @@ declare class DbSidebar extends HTMLElement {
2259
2567
  private bindPanelMediaQuery;
2260
2568
  private unbindPanelMediaQuery;
2261
2569
  private seedExpanded;
2570
+ /** Open navigation groups. Accepts an array or JSON, independently of active selection. */
2571
+ get expandedIds(): string[];
2572
+ set expandedIds(value: string[] | string);
2573
+ get accordionMode(): (typeof SIDEBAR_ACCORDION_MODES)[number];
2574
+ set accordionMode(value: (typeof SIDEBAR_ACCORDION_MODES)[number]);
2575
+ get hideExpandIcon(): boolean;
2576
+ set hideExpandIcon(value: boolean);
2577
+ get showDepthGuide(): boolean;
2578
+ set showDepthGuide(value: boolean);
2262
2579
  get items(): DbSidebarItem[];
2263
2580
  set items(value: DbSidebarItem[] | string);
2264
2581
  get sections(): DbSidebarSection[];
@@ -2327,7 +2644,7 @@ declare class DbSidebar extends HTMLElement {
2327
2644
  private getSelectedProject;
2328
2645
  private bindOutsideClick;
2329
2646
  private closeOverlayMenus;
2330
- private syncExclusiveAccordion;
2647
+ private syncAccordionState;
2331
2648
  private unbindOutsideClick;
2332
2649
  private cancelFlyoutClose;
2333
2650
  private showFlyout;
@@ -2335,6 +2652,8 @@ declare class DbSidebar extends HTMLElement {
2335
2652
  private cancelUserFlyoutClose;
2336
2653
  private setUserFlyout;
2337
2654
  private scheduleUserFlyoutClose;
2655
+ /** Content role; visual wrapper variants remain independent. */
2656
+ private get sidebarType();
2338
2657
  private syncHostClasses;
2339
2658
  private navigateToPanel;
2340
2659
  private dispatchItemClick;
@@ -2524,10 +2843,6 @@ declare global {
2524
2843
  }
2525
2844
  }
2526
2845
 
2527
- /**
2528
- * SegmentControl Web Component
2529
- * packages/ui SegmentControl.tsx와 DOM·동작·스타일 1:1 동기화
2530
- */
2531
2846
  interface DbSegmentOptionData {
2532
2847
  value: string;
2533
2848
  label: string;
@@ -2563,9 +2878,6 @@ declare global {
2563
2878
  }
2564
2879
  }
2565
2880
 
2566
- /**
2567
- * Stepper Web Component
2568
- */
2569
2881
  declare class DbStepper extends HTMLElement {
2570
2882
  static get observedAttributes(): string[];
2571
2883
  private decrementBtn;
@@ -2654,6 +2966,38 @@ declare global {
2654
2966
  }
2655
2967
  }
2656
2968
 
2969
+ declare const FILTER_BAR_SIZES: readonly ["s", "m", "l"];
2970
+ declare const FILTER_BAR_VARIANTS: readonly ["plain", "outlined", "filled"];
2971
+ declare const FILTER_BAR_ALIGNS: readonly ["start", "end"];
2972
+ type FilterBarSize = (typeof FILTER_BAR_SIZES)[number];
2973
+ type FilterBarVariant = (typeof FILTER_BAR_VARIANTS)[number];
2974
+ type FilterBarAlign = (typeof FILTER_BAR_ALIGNS)[number];
2975
+ /**
2976
+ * Search/filter composition. Direct children use search, filters, summary and
2977
+ * actions slots. No rendering or reparenting: field values, focus, overlays and
2978
+ * framework listeners remain owned by the controls supplied by the consumer.
2979
+ *
2980
+ * This is a labelled group, not an ARIA toolbar: fields keep normal Tab order.
2981
+ */
2982
+ declare class DbFilterBar extends HTMLElement {
2983
+ static get observedAttributes(): string[];
2984
+ private decoration;
2985
+ get padding(): boolean;
2986
+ set padding(value: boolean);
2987
+ get border(): boolean;
2988
+ set border(value: boolean);
2989
+ get background(): boolean;
2990
+ set background(value: boolean);
2991
+ connectedCallback(): void;
2992
+ attributeChangedCallback(): void;
2993
+ private syncHostClasses;
2994
+ }
2995
+ declare global {
2996
+ interface HTMLElementTagNameMap {
2997
+ 'db-filter-bar': DbFilterBar;
2998
+ }
2999
+ }
3000
+
2657
3001
  interface DbToolbarItemData {
2658
3002
  id: string;
2659
3003
  type?: 'button' | 'separator';
@@ -2773,6 +3117,12 @@ declare class DbPageHeader extends HTMLElement {
2773
3117
  private internalTabId;
2774
3118
  private childObserver?;
2775
3119
  private isRendering;
3120
+ private stickyMarker?;
3121
+ private stickyObserver?;
3122
+ private compact;
3123
+ private refreshSticky;
3124
+ private observeSticky;
3125
+ private setCompact;
2776
3126
  connectedCallback(): void;
2777
3127
  disconnectedCallback(): void;
2778
3128
  attributeChangedCallback(name: string): void;
@@ -2844,23 +3194,31 @@ declare global {
2844
3194
  }
2845
3195
  }
2846
3196
 
2847
- declare class DbFloatingActionButton extends HTMLElement {
2848
- private detachKeyActivation?;
3197
+ /** Floating placement and collapsing label, with the canonical Button behavior and visuals. */
3198
+ declare class DbFloatingActionButton extends DbButton {
3199
+ private scrollRoot;
3200
+ private lastScroll;
3201
+ private mappedIcon?;
3202
+ private scrollCollapsed;
3203
+ private labelObserver?;
2849
3204
  static get observedAttributes(): string[];
2850
- get size(): string;
2851
- set size(value: string);
2852
- get variant(): string;
2853
- set variant(value: string);
2854
- get loading(): boolean;
2855
- set loading(value: boolean);
2856
- get disabled(): boolean;
2857
- set disabled(value: boolean);
3205
+ get label(): string;
3206
+ set label(value: string);
3207
+ get collapsed(): boolean;
3208
+ set collapsed(value: boolean);
3209
+ get collapseOnScroll(): boolean;
3210
+ set collapseOnScroll(value: boolean);
3211
+ get collapseThreshold(): number;
3212
+ set collapseThreshold(value: number);
2858
3213
  connectedCallback(): void;
2859
3214
  disconnectedCallback(): void;
2860
- attributeChangedCallback(): void;
2861
- private handleClick;
2862
- private resolveIconName;
2863
- private sync;
3215
+ attributeChangedCallback(name?: string): void;
3216
+ private syncFab;
3217
+ private measureLabel;
3218
+ private unbindScroll;
3219
+ private bindScroll;
3220
+ private scrollPosition;
3221
+ private onScroll;
2864
3222
  }
2865
3223
  declare global {
2866
3224
  interface HTMLElementTagNameMap {
@@ -3051,7 +3409,9 @@ declare class DbSplitView extends HTMLElement {
3051
3409
  private getSplitterSize;
3052
3410
  private getGap;
3053
3411
  private handleMouseDown;
3412
+ private resizeAt;
3054
3413
  private handleMouseMove;
3414
+ private handleSplitterKey;
3055
3415
  private handleMouseUp;
3056
3416
  private applyPanelSizes;
3057
3417
  private sync;
@@ -3062,6 +3422,15 @@ declare global {
3062
3422
  }
3063
3423
  }
3064
3424
 
3425
+ type FileStatus = 'pending' | 'uploading' | 'success' | 'error';
3426
+ type UploadFile = {
3427
+ file: File;
3428
+ id: string;
3429
+ status: FileStatus;
3430
+ progress: number;
3431
+ error?: string;
3432
+ uploadedAt?: Date;
3433
+ };
3065
3434
  declare class DbFileUploader extends HTMLElement {
3066
3435
  static get observedAttributes(): string[];
3067
3436
  private dropzone?;
@@ -3088,6 +3457,9 @@ declare global {
3088
3457
  }
3089
3458
  }
3090
3459
 
3460
+ type GradientScheme = 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info' | 'purple' | 'ocean' | 'sunset';
3461
+ type GradientTone = 'light' | 'vivid' | 'dark';
3462
+
3091
3463
  type DatePickerMode = 'single' | 'range' | 'multiple';
3092
3464
  declare class DbDatePicker extends HTMLElement {
3093
3465
  static get observedAttributes(): string[];
@@ -3471,7 +3843,8 @@ type DbCarouselItem = {
3471
3843
  };
3472
3844
  declare class DbCarousel extends HTMLElement {
3473
3845
  private currentIndex;
3474
- private timer;
3846
+ private engine?;
3847
+ private autoplay?;
3475
3848
  private isAutoPlaying;
3476
3849
  static get observedAttributes(): string[];
3477
3850
  get items(): DbCarouselItem[];
@@ -3481,8 +3854,7 @@ declare class DbCarousel extends HTMLElement {
3481
3854
  attributeChangedCallback(name: string): void;
3482
3855
  private getBool;
3483
3856
  private clampCurrentIndex;
3484
- private stopAutoPlay;
3485
- private startAutoPlay;
3857
+ private destroyEngine;
3486
3858
  private getIndicatorType;
3487
3859
  private getIndicatorSize;
3488
3860
  private goTo;
@@ -3561,6 +3933,7 @@ declare class DbColorPicker extends HTMLElement {
3561
3933
  private commitAlphaInput;
3562
3934
  private onCopy;
3563
3935
  private onEyedrop;
3936
+ private handleEscape;
3564
3937
  private handleOutsideClick;
3565
3938
  private handleDocumentMouseMove;
3566
3939
  private handleDocumentMouseUp;
@@ -4334,10 +4707,8 @@ declare class DbSectionTestimonials extends HTMLElement {
4334
4707
  private innerEl?;
4335
4708
  private headerEl?;
4336
4709
  private contentEl?;
4337
- private carouselViewport?;
4338
- private carouselTrack?;
4710
+ private carouselEngine?;
4339
4711
  private carouselIndicator?;
4340
- private resizeObserver?;
4341
4712
  connectedCallback(): void;
4342
4713
  disconnectedCallback(): void;
4343
4714
  attributeChangedCallback(): void;
@@ -4348,7 +4719,6 @@ declare class DbSectionTestimonials extends HTMLElement {
4348
4719
  private createTestimonialEl;
4349
4720
  private updateHeader;
4350
4721
  private clampCarouselIndex;
4351
- private updateCarouselTransform;
4352
4722
  private goToCarouselSlide;
4353
4723
  private renderGrid;
4354
4724
  private renderCarousel;
@@ -4466,15 +4836,8 @@ declare class DbMarquee extends HTMLElement {
4466
4836
  private resizeObserver?;
4467
4837
  private containerWidth;
4468
4838
  private gap;
4469
- private scrollVelocityEnabled;
4470
- private rafId;
4471
- private lastFrameTime;
4472
- private lastScrollY;
4473
- private smoothedScrollV;
4474
4839
  private baseDurationSec;
4475
- private reduceMotion;
4476
4840
  private boundMeasure;
4477
- private boundFrame;
4478
4841
  connectedCallback(): void;
4479
4842
  disconnectedCallback(): void;
4480
4843
  attributeChangedCallback(): void;
@@ -4499,9 +4862,8 @@ declare class DbMarquee extends HTMLElement {
4499
4862
  /** 트랙을 채울 만큼의 복제 그룹 개수를 델타만 조정한다. */
4500
4863
  private reconcileDuplicates;
4501
4864
  private syncReadyState;
4502
- private startScrollEngine;
4503
- private stopScrollEngine;
4504
- private frame;
4865
+ private stopEngines;
4866
+ private syncEngines;
4505
4867
  private updateUI;
4506
4868
  }
4507
4869
  declare global {
@@ -5100,12 +5462,6 @@ declare global {
5100
5462
  }
5101
5463
  }
5102
5464
 
5103
- /**
5104
- * ui-wc — db-email-verify (수동 작성, 자동 동기화 대상 아님)
5105
- *
5106
- * 이메일 인증: code(OTP) 모드 / confirm(메일함 확인) 모드.
5107
- */
5108
-
5109
5465
  type Size$1 = (typeof EMAIL_VERIFY_SIZES)[number];
5110
5466
  declare class DbEmailVerify extends HTMLElement {
5111
5467
  static get observedAttributes(): string[];
@@ -5158,24 +5514,18 @@ declare global {
5158
5514
  }
5159
5515
  }
5160
5516
 
5161
- /**
5162
- * ui-wc — db-two-factor (수동 작성, 자동 동기화 대상 아님)
5163
- *
5164
- * 2단계 인증(2FA): 인증앱 / SMS / 이메일 방식 + OTP.
5165
- */
5166
-
5167
5517
  type Size = (typeof TWO_FACTOR_SIZES)[number];
5168
- declare const METHODS: readonly [{
5518
+ declare const METHODS: () => readonly [{
5169
5519
  readonly value: "app";
5170
- readonly label: "인증 앱";
5520
+ readonly label: string;
5171
5521
  }, {
5172
5522
  readonly value: "sms";
5173
5523
  readonly label: "SMS";
5174
5524
  }, {
5175
5525
  readonly value: "email";
5176
- readonly label: "이메일";
5526
+ readonly label: string;
5177
5527
  }];
5178
- type Method = (typeof METHODS)[number]['value'];
5528
+ type Method = ReturnType<typeof METHODS>[number]['value'];
5179
5529
  declare class DbTwoFactor extends HTMLElement {
5180
5530
  static get observedAttributes(): string[];
5181
5531
  private built;
@@ -5421,7 +5771,28 @@ declare global {
5421
5771
  }
5422
5772
  }
5423
5773
 
5424
- type DbIconName = 'arrow-bar-left' | 'arrow-bar-right' | 'award' | 'apple' | 'play-store' | 'arrow-right' | 'star' | 'star-filled' | 'star-half' | 'trending-up' | 'cart' | 'bell-active' | 'caret-down-filled' | 'caret-updown-filled' | 'chevron-down' | 'chevron-up' | 'chevron-left' | 'chevron-right' | 'calendar' | 'camera' | 'clock' | 'bulb' | 'circle-checked' | 'cloud-close' | 'close' | 'done' | 'documentation' | 'doughnut-chart' | 'download' | 'error-filled' | 'edit' | 'eyedropper' | 'file-new' | 'home-outline' | 'home-filled' | 'folder' | 'more-horizontal' | 'folder-open' | 'gallery' | 'globe' | 'hide' | 'info-filled' | 'lock' | 'mail' | 'menu' | 'microphone' | 'minus' | 'moon' | 'more-vertical' | 'paperclip' | 'pause' | 'play' | 'plus' | 'copy' | 'code' | 'write' | 'upload' | 'video' | 'volume-up' | 'mute-filled' | 'package' | 'delivery-filled' | 'repeat' | 'settings' | 'refresh' | 'expand' | 'shrink' | 'grip-vertical' | 'grip-horizontal' | 'search' | 'send' | 'share-alt' | 'show' | 'sparkle' | 'stop' | 'sun' | 'thumb-down' | 'thumb-up' | 'trash' | 'user' | 'warning-filled';
5774
+ type DbIconName = 'shape-line' | 'shape-triangle' | 'shape-ellipse' | 'shape-rectangle' | 'filp-vertical' | 'filp-horizontal' | 'filter' | 'sort-descending' | 'navigation' | 'move' | 'arrow-back-up' | 'zoom-in' | 'zoom-out' | 'layer' | 'unlock' | 'layout-align-left' | 'layout-align-center' | 'layout-align-right' | 'layout-align-top' | 'layout-align-middle' | 'layout-align-bottom' | 'text' | 'shapes' | 'text-align-left' | 'text-align-center' | 'text-align-right' | 'desktop' | 'tablet' | 'mobile' | 'plane' | 'arrow-bar-left' | 'arrow-bar-right' | 'award' | 'apple' | 'play-store' | 'arrow-right' | 'star' | 'star-filled' | 'star-half' | 'trending-up' | 'cart' | 'credit-card' | 'bell-active' | 'caret-down-filled' | 'caret-updown-filled' | 'chevron-down' | 'chevron-up' | 'chevron-left' | 'chevron-right' | 'calendar' | 'camera' | 'clock' | 'bulb' | 'circle-checked' | 'cloud-close' | 'close' | 'done' | 'documentation' | 'doughnut-chart' | 'download' | 'error-filled' | 'edit' | 'eyedropper' | 'file-new' | 'home-outline' | 'home-filled' | 'folder' | 'more-horizontal' | 'folder-open' | 'gallery' | 'globe' | 'hide' | 'info-filled' | 'lock' | 'mail' | 'menu' | 'microphone' | 'minus' | 'moon' | 'more-vertical' | 'paperclip' | 'pause' | 'play-outline' | 'play' | 'plus' | 'copy' | 'code' | 'write' | 'upload' | 'video' | 'volume-up' | 'mute-filled' | 'package' | 'delivery-filled' | 'repeat' | 'settings' | 'refresh' | 'expand' | 'shrink' | 'grip-vertical' | 'grip-horizontal' | 'search' | 'send' | 'share-alt' | 'show' | 'sparkle' | 'stop' | 'sun' | 'thumb-down' | 'thumb-up' | 'trash' | 'twitter' | 'x-logo' | 'heart' | 'heart-filled' | 'verified-badge' | 'comment' | 'user' | 'warning-filled';
5775
+
5776
+ type DbVoiceState = 'idle' | 'starting' | 'listening' | 'stopping' | 'completed' | 'cancelled' | 'error' | 'unsupported';
5777
+ /** Controlled voice UI only: emits intent, never opens the microphone or uploads audio. */
5778
+ declare class DbVoiceControl extends HTMLElement {
5779
+ static get observedAttributes(): string[];
5780
+ private built;
5781
+ private action;
5782
+ private cancel;
5783
+ private label;
5784
+ private status;
5785
+ connectedCallback(): void;
5786
+ attributeChangedCallback(): void;
5787
+ private get active();
5788
+ private emit;
5789
+ private sync;
5790
+ }
5791
+ declare global {
5792
+ interface HTMLElementTagNameMap {
5793
+ 'db-voice-control': DbVoiceControl;
5794
+ }
5795
+ }
5425
5796
 
5426
5797
  interface DbChatTool {
5427
5798
  /** 고유 id (이벤트 detail 로 전달) */
@@ -5520,6 +5891,7 @@ declare class DbChatComposer extends HTMLElement {
5520
5891
  private renderAttachMenu;
5521
5892
  private renderAttachments;
5522
5893
  private renderSendButton;
5894
+ private get voiceActive();
5523
5895
  private syncSendState;
5524
5896
  private autoGrow;
5525
5897
  private handleAttachClick;
@@ -6225,5 +6597,1793 @@ interface DbConfirmOptions {
6225
6597
  /** 확인 대화상자를 띄우고, 확인 시 true / 취소(ESC·배경 포함) 시 false 로 resolve 합니다. */
6226
6598
  declare function confirm(options: DbConfirmOptions): Promise<boolean>;
6227
6599
 
6228
- export { CleanupBag, DbAccordion, DbActivityHeatmap, DbAdBanner, DbAiChat, DbAiChatList, DbAiGlow, DbAlert, DbAnimationBackground, DbAnimationText, DbAppBadge, DbAudioPlayer, DbAvatar, DbBackdrop, DbBadge, DbBanner, DbBottomNavigation, DbBottomSheet, DbBreadcrumbs, DbButton, DbCalendar, DbCard, DbCarousel, DbChatComposer, DbChatList, DbChatMessage, DbChatOrb, DbChatRoom, DbChatSuggestions, DbChatTyping, DbChatWelcome, DbChatWidget, DbCheckbox, DbChip, DbCodeBlock, DbColorPicker, DbColorSwatch, DbConfirm, DbContainer, DbContextMenu, DbCookieBanner, DbCountdown, DbCursorFollower, DbDatePicker, DbDivider, DbDownloadProgress, DbDrawer, DbDropdown, DbDropzone, DbElement, DbEmailVerify, DbEmptyState, DbFileUploader, DbFloatingActionButton, DbFooter, DbForm, DbGantt, DbGradient, DbGrid, DbGridBackground, DbGridItem, DbImage, DbImageList, DbImagePlaceholder, DbIndicator, DbInput, DbKanban, DbLabel, DbLightbox, DbList, DbLogo, DbMarkdownEditor, DbMarquee, DbMasonry, DbMenuItem, DbModal, DbNavbar, DbNavigationRail, DbOnboardingModal, DbOtpInput, DbPageHeader, DbPagination, DbPhoneVerify, DbPopover, DbProgress, DbProgressStep, DbProgressbar, DbRadio, DbRandomGradient, DbRangeSlider, DbRating, DbReorder, DbResizablePanels, DbScrollArea, DbSearchBar, DbSection, DbSectionAppDownload, DbSectionContact, DbSectionCta, DbSectionFaq, DbSectionFeature, DbSectionFeatureGrid, DbSectionHero, DbSectionLogoCloud, DbSectionPricing, DbSectionStats, DbSectionTestimonials, DbSegmentControl, DbSelect, DbShare, DbSidebar, DbSignature, DbSkeleton, DbSpinner, DbSplitView, DbStack, DbStat, DbStepper, DbTable, DbTabs, DbTestimonial, DbTextarea, DbTimePicker, DbTimeline, DbToast, DbToggle, DbToolbar, DbTooltip, DbTopBanner, DbTutorial, DbTwoFactor, DbVideoPlayer, DbYouTubePlayer, activateOnKey, announce, confirm, createFocusTrap, createSrOnly, confirm as dbConfirm, dbResetLocale, dbSetLocale, toast as dbToast, dbUid, ensureId, getTabbables, labelFrom, lockScroll, politenessForTone, rafThrottle, sanitizeHref, sanitizeHtmlFragment, scrollLockDepth, setAccessibleName, showToast, t, toast, unlockScroll };
6229
- export type { CalendarEventData, CalendarEventType, Cleanup, DbActivityHeatmapCellDetail, DbActivityHeatmapItem, DbAiChatItem, DbAlertAction, DbArtifactOptions, DbBannerAction, DbBottomNavigationItem, DbChatArtifactRef, DbChatAttachOption, DbChatListItem, DbChatMessageAttachment, DbChatMessageData, DbChatRoomMessage, DbChatSuggestion, DbChatTool, DbChatWidgetArticle, DbChatWidgetConversation, DbChatWidgetMenuAction, DbChatWidgetMenuItem, DbChatWidgetMessage, DbColorSwatchCustomType, DbColorSwatchItem, DbColorSwatchShape, DbColorSwatchSize, DbConfirmOptions, DbConfirmVariant, DbFooterCompanyInfo, DbFooterFamilySite, DbFooterLink, DbFooterLinkColumn, DbFooterSocialLink, DbFormFieldData, DbGanttAssignee, DbGanttGroup, DbGanttItem, DbGanttItemStatus, DbGanttRow, DbImageListItem, DbKanbanAssignee, DbKanbanCard, DbKanbanColumn, DbKanbanPriority, DbKanbanTag, DbLightboxImage, DbNavbarItem, DbNavbarUserProfile, DbNavigationRailItem, DbPageHeaderTabItem, DbSharePlatform, DbShareVariant, DbSidebarItem, DbSidebarProject, DbSidebarPromoBanner, DbSidebarSection, DbSidebarUserProfile, DbSignaturePoint, DbSignatureVariant, DbStatChange, DbStringKey, DbStrings, DbTimelineItem, DbToastApi, DbToastHandle, DbToastOptions, FocusTrap, FocusTrapOptions };
6600
+ /** Server-supplied available balance; held/spent are separate amounts, never subtracted here. */
6601
+ declare class DbCreditBalance extends DbElement {
6602
+ static get observedAttributes(): string[];
6603
+ connectedCallback(): void;
6604
+ attributeChangedCallback(): void;
6605
+ private render;
6606
+ }
6607
+ declare global {
6608
+ interface HTMLElementTagNameMap {
6609
+ 'db-credit-balance': DbCreditBalance;
6610
+ }
6611
+ }
6612
+
6613
+ interface DbCreditPlan {
6614
+ id: string;
6615
+ label: string;
6616
+ credits: number;
6617
+ /** Preformatted display price; the server must resolve the actual price by id. */
6618
+ priceLabel: string;
6619
+ description?: string;
6620
+ badge?: string;
6621
+ disabled?: boolean;
6622
+ }
6623
+ interface DbCreditPlanSelection {
6624
+ planId: string;
6625
+ }
6626
+ /** Controlled selector. Emits intent only; never grants credits or marks payment successful. */
6627
+ declare class DbCreditRecharge extends DbElement {
6628
+ private readonly groupName;
6629
+ private planData;
6630
+ static get observedAttributes(): string[];
6631
+ get plans(): DbCreditPlan[];
6632
+ set plans(value: DbCreditPlan[]);
6633
+ connectedCallback(): void;
6634
+ attributeChangedCallback(name: string): void;
6635
+ private readPlans;
6636
+ private blocked;
6637
+ private selected;
6638
+ private render;
6639
+ }
6640
+ declare global {
6641
+ interface HTMLElementTagNameMap {
6642
+ 'db-credit-recharge': DbCreditRecharge;
6643
+ }
6644
+ }
6645
+
6646
+ type DbAiTaskState = 'idle' | 'queued' | 'running' | 'succeeded' | 'failed' | 'cancelled' | 'needs_attention';
6647
+ interface DbAiTaskAction {
6648
+ taskId: string;
6649
+ }
6650
+ /** Display state comes from the app. No fake percentages, automatic retries or refunds. */
6651
+ declare class DbAiTaskStatus extends DbElement {
6652
+ static get observedAttributes(): string[];
6653
+ connectedCallback(): void;
6654
+ attributeChangedCallback(): void;
6655
+ private state;
6656
+ private actions;
6657
+ private render;
6658
+ }
6659
+ declare global {
6660
+ interface HTMLElementTagNameMap {
6661
+ 'db-ai-task-status': DbAiTaskStatus;
6662
+ }
6663
+ }
6664
+
6665
+ /** Header balance disclosure. Native Popover keeps live nodes/listeners in the top layer. */
6666
+ declare class DbCreditDropdown extends DbElement {
6667
+ private trigger?;
6668
+ private popup?;
6669
+ private balance?;
6670
+ private recharge?;
6671
+ private history?;
6672
+ private description?;
6673
+ private readonly popupId;
6674
+ static get observedAttributes(): string[];
6675
+ get open(): boolean;
6676
+ set open(value: boolean);
6677
+ connectedCallback(): void;
6678
+ disconnectedCallback(): void;
6679
+ attributeChangedCallback(): void;
6680
+ private closeAndFocus;
6681
+ private ensureView;
6682
+ private sync;
6683
+ private position;
6684
+ }
6685
+ declare global {
6686
+ interface HTMLElementTagNameMap {
6687
+ 'db-credit-dropdown': DbCreditDropdown;
6688
+ }
6689
+ }
6690
+
6691
+ /** Reuses the canonical modal (portal, focus trap, scroll lock) and controlled plan selector. */
6692
+ declare class DbCreditRechargeModal extends DbElement {
6693
+ private modal?;
6694
+ private selector?;
6695
+ private balance?;
6696
+ private intro?;
6697
+ private confirm?;
6698
+ private footnote?;
6699
+ private planData;
6700
+ static get observedAttributes(): string[];
6701
+ get plans(): DbCreditPlan[];
6702
+ set plans(value: DbCreditPlan[]);
6703
+ get open(): boolean;
6704
+ set open(value: boolean);
6705
+ connectedCallback(): void;
6706
+ disconnectedCallback(): void;
6707
+ attributeChangedCallback(name: string): void;
6708
+ private readPlans;
6709
+ private blocked;
6710
+ private selected;
6711
+ private ensureView;
6712
+ private sync;
6713
+ }
6714
+ declare global {
6715
+ interface HTMLElementTagNameMap {
6716
+ 'db-credit-recharge-modal': DbCreditRechargeModal;
6717
+ }
6718
+ }
6719
+
6720
+ interface DbPlanFeature {
6721
+ id: string;
6722
+ label: string;
6723
+ allowed: boolean;
6724
+ }
6725
+ /** Presentation of server-supplied entitlements. Never grants access or changes subscriptions. */
6726
+ declare class DbPlanOverview extends DbElement {
6727
+ private featureData;
6728
+ static get observedAttributes(): string[];
6729
+ get features(): DbPlanFeature[];
6730
+ set features(value: DbPlanFeature[]);
6731
+ connectedCallback(): void;
6732
+ attributeChangedCallback(): void;
6733
+ private render;
6734
+ }
6735
+ declare global {
6736
+ interface HTMLElementTagNameMap {
6737
+ 'db-plan-overview': DbPlanOverview;
6738
+ }
6739
+ }
6740
+
6741
+ type DbCreditEntryKind = 'grant' | 'charge' | 'hold' | 'release';
6742
+ interface DbCreditEntry {
6743
+ id: string;
6744
+ label: string;
6745
+ /** App formats the date in its explicit locale/timezone. */
6746
+ dateLabel: string;
6747
+ kind: DbCreditEntryKind;
6748
+ /** Null means unresolved. Holds are separate from settled debits. */
6749
+ amount: number | null;
6750
+ }
6751
+ /** Read-only history supplied by the app. Does not sum a balance from partial rows. */
6752
+ declare class DbCreditHistory extends DbElement {
6753
+ private entryData;
6754
+ static get observedAttributes(): string[];
6755
+ get entries(): DbCreditEntry[];
6756
+ set entries(value: DbCreditEntry[]);
6757
+ connectedCallback(): void;
6758
+ attributeChangedCallback(): void;
6759
+ private render;
6760
+ }
6761
+ declare global {
6762
+ interface HTMLElementTagNameMap {
6763
+ 'db-credit-history': DbCreditHistory;
6764
+ }
6765
+ }
6766
+
6767
+ interface DbAiModelOption {
6768
+ id: string;
6769
+ label: string;
6770
+ description: string;
6771
+ capabilities: string[];
6772
+ usageLabel: string;
6773
+ disabled?: boolean;
6774
+ disabledReason?: string;
6775
+ }
6776
+ interface DbAiModelSelection {
6777
+ modelId: string;
6778
+ }
6779
+ /** Product-supplied catalog, not an authorization or provider registry. */
6780
+ declare class DbAiModelSelect extends DbElement {
6781
+ private modelData;
6782
+ private select?;
6783
+ private details?;
6784
+ static get observedAttributes(): string[];
6785
+ get models(): DbAiModelOption[];
6786
+ set models(value: DbAiModelOption[]);
6787
+ connectedCallback(): void;
6788
+ attributeChangedCallback(): void;
6789
+ private blocked;
6790
+ private render;
6791
+ }
6792
+ declare global {
6793
+ interface HTMLElementTagNameMap {
6794
+ 'db-ai-model-select': DbAiModelSelect;
6795
+ }
6796
+ }
6797
+
6798
+ interface DbAiQuoteView {
6799
+ id: string;
6800
+ modelId: string;
6801
+ reservedCredits: number;
6802
+ pricingVersion: string;
6803
+ expiresAt: string;
6804
+ /** Product-formatted deadline; expiresAt remains authoritative for UI expiry. */
6805
+ expiresLabel?: string;
6806
+ /** Already formatted by the app. Omit when provider cost is unknown. */
6807
+ providerCostLabel?: string;
6808
+ }
6809
+ interface DbAiQuoteExecution {
6810
+ quoteId: string;
6811
+ modelId: string;
6812
+ }
6813
+ /** Displays a server quote and emits intent. No reservations, API requests or price calculation. */
6814
+ declare class DbAiExecutionQuote extends DbElement {
6815
+ private quoteData;
6816
+ private expiryTimer?;
6817
+ static get observedAttributes(): string[];
6818
+ get quote(): DbAiQuoteView | null;
6819
+ set quote(value: DbAiQuoteView | null);
6820
+ connectedCallback(): void;
6821
+ disconnectedCallback(): void;
6822
+ attributeChangedCallback(): void;
6823
+ private busy;
6824
+ private expired;
6825
+ private canExecute;
6826
+ private render;
6827
+ }
6828
+ declare global {
6829
+ interface HTMLElementTagNameMap {
6830
+ 'db-ai-execution-quote': DbAiExecutionQuote;
6831
+ }
6832
+ }
6833
+
6834
+ /** Product-supplied presentation data; no URLs, user ids or delivery policy. */
6835
+ interface DbNotificationItem {
6836
+ id: string;
6837
+ title: string;
6838
+ description: string;
6839
+ dateLabel: string;
6840
+ unread: boolean;
6841
+ categoryLabel?: string;
6842
+ }
6843
+ interface DbNotificationAction {
6844
+ id: string;
6845
+ }
6846
+ interface DbNotificationReadAll {
6847
+ ids: string[];
6848
+ }
6849
+
6850
+ /** Controlled data, local filter. The app confirms read state; opening never marks an item read implicitly. */
6851
+ declare class DbNotificationInbox extends DbElement {
6852
+ private itemData;
6853
+ private filter;
6854
+ private restoreFocus;
6855
+ static get observedAttributes(): string[];
6856
+ get notifications(): DbNotificationItem[];
6857
+ set notifications(value: DbNotificationItem[]);
6858
+ connectedCallback(): void;
6859
+ attributeChangedCallback(): void;
6860
+ private blocked;
6861
+ private render;
6862
+ }
6863
+ declare global {
6864
+ interface HTMLElementTagNameMap {
6865
+ 'db-notification-inbox': DbNotificationInbox;
6866
+ }
6867
+ }
6868
+
6869
+ /** Header wrapper around the same controlled inbox. Native Popover preserves listeners and focus. */
6870
+ declare class DbNotificationDropdown extends DbElement {
6871
+ private trigger?;
6872
+ private panel?;
6873
+ private inbox?;
6874
+ private itemData;
6875
+ private readonly panelId;
6876
+ static get observedAttributes(): string[];
6877
+ get notifications(): DbNotificationItem[];
6878
+ set notifications(value: DbNotificationItem[]);
6879
+ get open(): boolean;
6880
+ set open(value: boolean);
6881
+ connectedCallback(): void;
6882
+ disconnectedCallback(): void;
6883
+ attributeChangedCallback(): void;
6884
+ private sync;
6885
+ private position;
6886
+ }
6887
+ declare global {
6888
+ interface HTMLElementTagNameMap {
6889
+ 'db-notification-dropdown': DbNotificationDropdown;
6890
+ }
6891
+ }
6892
+
6893
+ type DbAiStatus = 'pending' | 'running' | 'complete' | 'error' | 'cancelled' | 'approval';
6894
+ interface DbAiItem {
6895
+ id: string;
6896
+ label: string;
6897
+ description?: string;
6898
+ status?: DbAiStatus;
6899
+ code?: string;
6900
+ language?: string;
6901
+ href?: string;
6902
+ meta?: string;
6903
+ children?: DbAiItem[];
6904
+ open?: boolean;
6905
+ }
6906
+ interface DbAiAction {
6907
+ id: string;
6908
+ action: string;
6909
+ }
6910
+ /** Shared presentation only. The app supplies execution state and handles every action. */
6911
+ declare abstract class DbAiDataElement extends DbElement {
6912
+ private data;
6913
+ private disclosureState;
6914
+ get items(): DbAiItem[];
6915
+ set items(value: DbAiItem[]);
6916
+ protected get rows(): readonly DbAiItem[];
6917
+ connectedCallback(): void;
6918
+ attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
6919
+ private readAttributeItems;
6920
+ protected attr(name: string, key?: string): string;
6921
+ protected get state(): DbAiStatus;
6922
+ protected action(action: string, id: string): void;
6923
+ protected button(action: string, label: string, icon?: DbIconName, id?: string): HTMLElement;
6924
+ protected closeDisclosure(details: HTMLDetailsElement, restoreFocus?: boolean): void;
6925
+ protected disclosure(id: string, label: string, status: DbAiStatus, body: Node[], defaultOpen?: boolean, icon?: DbIconName): HTMLDetailsElement;
6926
+ protected itemLine(item: DbAiItem): HTMLElement;
6927
+ protected update(resetRoot?: boolean): void;
6928
+ protected abstract view(): Node[];
6929
+ }
6930
+
6931
+ /** AI Elements: chain-of-thought. App-owned data and actions; no provider calls. */
6932
+ declare class DbAiChainOfThought extends DbAiDataElement {
6933
+ static get observedAttributes(): string[];
6934
+ protected view(): Node[];
6935
+ }
6936
+ declare global {
6937
+ interface HTMLElementTagNameMap {
6938
+ 'db-ai-chain-of-thought': DbAiChainOfThought;
6939
+ }
6940
+ }
6941
+
6942
+ /** AI Elements: reasoning. App-owned data and actions; no provider calls. */
6943
+ declare class DbAiReasoning extends DbAiDataElement {
6944
+ static get observedAttributes(): string[];
6945
+ protected view(): Node[];
6946
+ }
6947
+ declare global {
6948
+ interface HTMLElementTagNameMap {
6949
+ 'db-ai-reasoning': DbAiReasoning;
6950
+ }
6951
+ }
6952
+
6953
+ /** AI Elements: plan. App-owned data and actions; no provider calls. */
6954
+ declare class DbAiPlan extends DbAiDataElement {
6955
+ static get observedAttributes(): string[];
6956
+ protected view(): Node[];
6957
+ }
6958
+ declare global {
6959
+ interface HTMLElementTagNameMap {
6960
+ 'db-ai-plan': DbAiPlan;
6961
+ }
6962
+ }
6963
+
6964
+ /** AI Elements: queue. App-owned data and actions; no provider calls. */
6965
+ declare class DbAiQueue extends DbAiDataElement {
6966
+ static get observedAttributes(): string[];
6967
+ protected view(): Node[];
6968
+ }
6969
+ declare global {
6970
+ interface HTMLElementTagNameMap {
6971
+ 'db-ai-queue': DbAiQueue;
6972
+ }
6973
+ }
6974
+
6975
+ /** AI Elements: sources. App-owned data and actions; no provider calls. */
6976
+ declare class DbAiSources extends DbAiDataElement {
6977
+ static get observedAttributes(): string[];
6978
+ protected view(): Node[];
6979
+ }
6980
+ declare global {
6981
+ interface HTMLElementTagNameMap {
6982
+ 'db-ai-sources': DbAiSources;
6983
+ }
6984
+ }
6985
+
6986
+ /** AI Elements: inline-citation. App-owned data and actions; no provider calls. */
6987
+ declare class DbAiInlineCitation extends DbAiDataElement {
6988
+ static get observedAttributes(): string[];
6989
+ connectedCallback(): void;
6990
+ private place;
6991
+ protected view(): Node[];
6992
+ }
6993
+ declare global {
6994
+ interface HTMLElementTagNameMap {
6995
+ 'db-ai-inline-citation': DbAiInlineCitation;
6996
+ }
6997
+ }
6998
+
6999
+ /** AI Elements: checkpoint. App-owned data and actions; no provider calls. */
7000
+ declare class DbAiCheckpoint extends DbAiDataElement {
7001
+ static get observedAttributes(): string[];
7002
+ protected view(): Node[];
7003
+ }
7004
+ declare global {
7005
+ interface HTMLElementTagNameMap {
7006
+ 'db-ai-checkpoint': DbAiCheckpoint;
7007
+ }
7008
+ }
7009
+
7010
+ /** AI Elements: confirmation. App-owned data and actions; no provider calls. */
7011
+ declare class DbAiConfirmation extends DbAiDataElement {
7012
+ static get observedAttributes(): string[];
7013
+ protected view(): Node[];
7014
+ }
7015
+ declare global {
7016
+ interface HTMLElementTagNameMap {
7017
+ 'db-ai-confirmation': DbAiConfirmation;
7018
+ }
7019
+ }
7020
+
7021
+ /** AI Elements: context. App-owned data and actions; no provider calls. */
7022
+ declare class DbAiContext extends DbAiDataElement {
7023
+ static get observedAttributes(): string[];
7024
+ protected view(): Node[];
7025
+ }
7026
+ declare global {
7027
+ interface HTMLElementTagNameMap {
7028
+ 'db-ai-context': DbAiContext;
7029
+ }
7030
+ }
7031
+
7032
+ /** AI Elements: file-tree. App-owned data and actions; no provider calls. */
7033
+ declare class DbAiFileTree extends DbAiDataElement {
7034
+ static get observedAttributes(): string[];
7035
+ protected view(): Node[];
7036
+ }
7037
+ declare global {
7038
+ interface HTMLElementTagNameMap {
7039
+ 'db-ai-file-tree': DbAiFileTree;
7040
+ }
7041
+ }
7042
+
7043
+ /** AI Elements: task. App-owned data and actions; no provider calls. */
7044
+ declare class DbAiTask extends DbAiDataElement {
7045
+ static get observedAttributes(): string[];
7046
+ protected view(): Node[];
7047
+ }
7048
+ declare global {
7049
+ interface HTMLElementTagNameMap {
7050
+ 'db-ai-task': DbAiTask;
7051
+ }
7052
+ }
7053
+
7054
+ /** AI Elements: subagent. App-owned data and actions; no provider calls. */
7055
+ declare class DbAiSubagent extends DbAiDataElement {
7056
+ static get observedAttributes(): string[];
7057
+ protected view(): Node[];
7058
+ }
7059
+ declare global {
7060
+ interface HTMLElementTagNameMap {
7061
+ 'db-ai-subagent': DbAiSubagent;
7062
+ }
7063
+ }
7064
+
7065
+ /** AI Elements: tool. App-owned data and actions; no provider calls. */
7066
+ declare class DbAiTool extends DbAiDataElement {
7067
+ static get observedAttributes(): string[];
7068
+ protected view(): Node[];
7069
+ }
7070
+ declare global {
7071
+ interface HTMLElementTagNameMap {
7072
+ 'db-ai-tool': DbAiTool;
7073
+ }
7074
+ }
7075
+
7076
+ /** AI Elements: terminal. App-owned data and actions; no provider calls. */
7077
+ declare class DbAiTerminal extends DbAiDataElement {
7078
+ static get observedAttributes(): string[];
7079
+ protected view(): Node[];
7080
+ }
7081
+ declare global {
7082
+ interface HTMLElementTagNameMap {
7083
+ 'db-ai-terminal': DbAiTerminal;
7084
+ }
7085
+ }
7086
+
7087
+ /** AI Elements: stack-trace. App-owned data and actions; no provider calls. */
7088
+ declare class DbAiStackTrace extends DbAiDataElement {
7089
+ static get observedAttributes(): string[];
7090
+ protected view(): Node[];
7091
+ }
7092
+ declare global {
7093
+ interface HTMLElementTagNameMap {
7094
+ 'db-ai-stack-trace': DbAiStackTrace;
7095
+ }
7096
+ }
7097
+
7098
+ /** AI Elements: test-results. App-owned data and actions; no provider calls. */
7099
+ declare class DbAiTestResults extends DbAiDataElement {
7100
+ static get observedAttributes(): string[];
7101
+ protected view(): Node[];
7102
+ }
7103
+ declare global {
7104
+ interface HTMLElementTagNameMap {
7105
+ 'db-ai-test-results': DbAiTestResults;
7106
+ }
7107
+ }
7108
+
7109
+ /** Lightweight conversation turn. Native content/React children remain owned by the caller. */
7110
+ declare class DbAiMessage extends DbElement {
7111
+ static get observedAttributes(): string[];
7112
+ private content?;
7113
+ private footer?;
7114
+ connectedCallback(): void;
7115
+ attributeChangedCallback(): void;
7116
+ private sync;
7117
+ }
7118
+ declare global {
7119
+ interface HTMLElementTagNameMap {
7120
+ 'db-ai-message': DbAiMessage;
7121
+ }
7122
+ }
7123
+
7124
+ /** Follows updates only at the live edge. Reading older content never forces a jump. */
7125
+ declare class DbAiConversation extends DbElement {
7126
+ static get observedAttributes(): string[];
7127
+ private viewport?;
7128
+ private jump?;
7129
+ private atEnd;
7130
+ connectedCallback(): void;
7131
+ attributeChangedCallback(): void;
7132
+ private toEnd;
7133
+ private sync;
7134
+ }
7135
+ declare global {
7136
+ interface HTMLElementTagNameMap {
7137
+ 'db-ai-conversation': DbAiConversation;
7138
+ }
7139
+ }
7140
+
7141
+ type DbWorkspaceMemberState = 'active' | 'invited' | 'expired';
7142
+ interface DbWorkspaceMember {
7143
+ id: string;
7144
+ name: string;
7145
+ email: string;
7146
+ roleLabel: string;
7147
+ state: DbWorkspaceMemberState;
7148
+ canReinvite?: boolean;
7149
+ }
7150
+ interface DbWorkspaceMemberAction {
7151
+ id: string;
7152
+ }
7153
+ /** Display only. Roles and invitation status must come from the product's server. */
7154
+ declare class DbWorkspaceMembers extends DbElement {
7155
+ private data;
7156
+ static get observedAttributes(): string[];
7157
+ get members(): DbWorkspaceMember[];
7158
+ set members(value: DbWorkspaceMember[]);
7159
+ connectedCallback(): void;
7160
+ attributeChangedCallback(): void;
7161
+ private blocked;
7162
+ private render;
7163
+ }
7164
+ declare global {
7165
+ interface HTMLElementTagNameMap {
7166
+ 'db-workspace-members': DbWorkspaceMembers;
7167
+ }
7168
+ }
7169
+
7170
+ interface DbWorkspaceInviteRole {
7171
+ id: string;
7172
+ label: string;
7173
+ }
7174
+ interface DbWorkspaceInviteDraft {
7175
+ email: string;
7176
+ roleId: string;
7177
+ }
7178
+ /** Owns an unsaved UI draft. Emits intent only; never sends mail or grants membership. */
7179
+ declare class DbWorkspaceInviteModal extends DbElement {
7180
+ private roleData;
7181
+ private emailDraft;
7182
+ private roleDraft;
7183
+ private fieldError;
7184
+ private modal?;
7185
+ private emailField?;
7186
+ private roleField?;
7187
+ private message?;
7188
+ private intro?;
7189
+ private readonly descriptionId;
7190
+ private confirm?;
7191
+ static get observedAttributes(): string[];
7192
+ get roles(): DbWorkspaceInviteRole[];
7193
+ set roles(value: DbWorkspaceInviteRole[]);
7194
+ get open(): boolean;
7195
+ set open(value: boolean);
7196
+ get draft(): DbWorkspaceInviteDraft;
7197
+ connectedCallback(): void;
7198
+ disconnectedCallback(): void;
7199
+ attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
7200
+ private blocked;
7201
+ private validateEmail;
7202
+ private submit;
7203
+ private ensureView;
7204
+ private syncErrors;
7205
+ private sync;
7206
+ }
7207
+ declare global {
7208
+ interface HTMLElementTagNameMap {
7209
+ 'db-workspace-invite-modal': DbWorkspaceInviteModal;
7210
+ }
7211
+ }
7212
+
7213
+ type DbAttachmentState = 'queued' | 'uploading' | 'processing' | 'ready' | 'error' | 'cancelled';
7214
+ interface DbAttachment {
7215
+ id: string;
7216
+ name: string;
7217
+ bytes: number;
7218
+ state: DbAttachmentState;
7219
+ progress?: number | null;
7220
+ error?: string;
7221
+ canOpen?: boolean;
7222
+ canRetry?: boolean;
7223
+ }
7224
+ interface DbAttachmentAction {
7225
+ id: string;
7226
+ }
7227
+ /** Controlled presentation. No timer, upload request, public URL or storage credential. */
7228
+ declare class DbAttachmentList extends DbElement {
7229
+ private data;
7230
+ static get observedAttributes(): string[];
7231
+ get attachments(): DbAttachment[];
7232
+ set attachments(value: DbAttachment[]);
7233
+ connectedCallback(): void;
7234
+ attributeChangedCallback(): void;
7235
+ private blocked;
7236
+ private render;
7237
+ }
7238
+ declare global {
7239
+ interface HTMLElementTagNameMap {
7240
+ 'db-attachment-list': DbAttachmentList;
7241
+ }
7242
+ }
7243
+
7244
+ declare class DbBentoGrid extends HTMLElement {
7245
+ static get observedAttributes(): string[];
7246
+ private built;
7247
+ get cols(): BentoGridColumns;
7248
+ set cols(value: BentoGridColumns);
7249
+ get size(): BentoGridSize;
7250
+ set size(value: BentoGridSize);
7251
+ get gap(): string;
7252
+ set gap(value: string);
7253
+ get autoRows(): string;
7254
+ set autoRows(value: string);
7255
+ connectedCallback(): void;
7256
+ disconnectedCallback(): void;
7257
+ attributeChangedCallback(): void;
7258
+ private sync;
7259
+ }
7260
+ declare global {
7261
+ interface HTMLElementTagNameMap {
7262
+ 'db-bento-grid': DbBentoGrid;
7263
+ }
7264
+ }
7265
+
7266
+ declare class DbBentoCard extends HTMLElement {
7267
+ static get observedAttributes(): string[];
7268
+ private built;
7269
+ private bgWrapper?;
7270
+ private imgEl?;
7271
+ private contentWrapper?;
7272
+ private iconEl?;
7273
+ private titleEl?;
7274
+ private descEl?;
7275
+ private ctaWrapper?;
7276
+ private ctaBtn?;
7277
+ private ctaTextSpan?;
7278
+ private overlayEl?;
7279
+ get name(): string;
7280
+ set name(value: string);
7281
+ get description(): string;
7282
+ set description(value: string);
7283
+ get icon(): string;
7284
+ set icon(value: string);
7285
+ get href(): string;
7286
+ set href(value: string);
7287
+ get cta(): string;
7288
+ set cta(value: string);
7289
+ get colSpan(): string;
7290
+ set colSpan(value: string);
7291
+ get rowSpan(): string;
7292
+ set rowSpan(value: string);
7293
+ get variant(): BentoCardVariant;
7294
+ set variant(value: BentoCardVariant);
7295
+ get size(): BentoCardSize;
7296
+ set size(value: BentoCardSize);
7297
+ get disabled(): boolean;
7298
+ set disabled(value: boolean);
7299
+ get image(): string;
7300
+ set image(value: string);
7301
+ get imageAlt(): string;
7302
+ set imageAlt(value: string);
7303
+ get imagePosition(): BentoCardImagePosition;
7304
+ set imagePosition(value: BentoCardImagePosition);
7305
+ connectedCallback(): void;
7306
+ disconnectedCallback(): void;
7307
+ attributeChangedCallback(): void;
7308
+ private handleCtaClick;
7309
+ private build;
7310
+ private sync;
7311
+ }
7312
+ declare global {
7313
+ interface HTMLElementTagNameMap {
7314
+ 'db-bento-card': DbBentoCard;
7315
+ }
7316
+ }
7317
+
7318
+ interface DbTweetData {
7319
+ id?: string;
7320
+ text?: string;
7321
+ authorName?: string;
7322
+ username?: string;
7323
+ avatar?: string;
7324
+ verified?: boolean;
7325
+ createdAt?: string;
7326
+ likes?: number;
7327
+ retweets?: number;
7328
+ replies?: number;
7329
+ views?: number;
7330
+ mediaUrl?: string;
7331
+ tweetUrl?: string;
7332
+ }
7333
+ declare class DbTweetCard extends HTMLElement {
7334
+ static get observedAttributes(): string[];
7335
+ private built;
7336
+ private abortController;
7337
+ private isLiked;
7338
+ private localLikes;
7339
+ private headerEl?;
7340
+ private avatarImg?;
7341
+ private avatarFallback?;
7342
+ private authorNameEl?;
7343
+ private authorHandleEl?;
7344
+ private verifiedBadgeEl?;
7345
+ private xLogoLink?;
7346
+ private bodyEl?;
7347
+ private mediaContainer?;
7348
+ private mediaImg?;
7349
+ private dateEl?;
7350
+ private actionsRow?;
7351
+ private replyBtn?;
7352
+ private replyCountSpan?;
7353
+ private retweetBtn?;
7354
+ private retweetCountSpan?;
7355
+ private likeBtn?;
7356
+ private likeCountSpan?;
7357
+ private shareBtn?;
7358
+ private skeletonEl?;
7359
+ private errorEl?;
7360
+ private errorTextEl?;
7361
+ private retryBtn?;
7362
+ get tweetId(): string;
7363
+ set tweetId(value: string);
7364
+ get authorName(): string;
7365
+ set authorName(value: string);
7366
+ get username(): string;
7367
+ set username(value: string);
7368
+ get avatar(): string;
7369
+ set avatar(value: string);
7370
+ get verified(): boolean;
7371
+ set verified(value: boolean);
7372
+ get content(): string;
7373
+ set content(value: string);
7374
+ get date(): string;
7375
+ set date(value: string);
7376
+ get likes(): number;
7377
+ set likes(value: number);
7378
+ get retweets(): number;
7379
+ set retweets(value: number);
7380
+ get replies(): number;
7381
+ set replies(value: number);
7382
+ get media(): string;
7383
+ set media(value: string);
7384
+ get href(): string;
7385
+ set href(value: string);
7386
+ get variant(): TweetCardVariant;
7387
+ set variant(value: TweetCardVariant);
7388
+ get size(): TweetCardSize;
7389
+ set size(value: TweetCardSize);
7390
+ get loading(): boolean;
7391
+ set loading(value: boolean);
7392
+ get error(): string;
7393
+ set error(value: string);
7394
+ connectedCallback(): void;
7395
+ disconnectedCallback(): void;
7396
+ attributeChangedCallback(name: string, oldVal: string | null, newVal: string | null): void;
7397
+ private fetchTweetData;
7398
+ private applyTweetPayload;
7399
+ private handleReplyClick;
7400
+ private handleRetweetClick;
7401
+ private handleLikeClick;
7402
+ private handleShareClick;
7403
+ private handleRetryClick;
7404
+ private getTweetUrl;
7405
+ private build;
7406
+ private updateLikeButton;
7407
+ private sync;
7408
+ }
7409
+ declare global {
7410
+ interface HTMLElementTagNameMap {
7411
+ 'db-tweet-card': DbTweetCard;
7412
+ }
7413
+ }
7414
+
7415
+ declare class DbProgressiveBlur extends HTMLElement {
7416
+ static get observedAttributes(): string[];
7417
+ private built;
7418
+ private topPanel?;
7419
+ private bottomPanel?;
7420
+ private mainPanel?;
7421
+ get position(): ProgressiveBlurPosition;
7422
+ set position(value: ProgressiveBlurPosition);
7423
+ get size(): ProgressiveBlurSize;
7424
+ set size(value: ProgressiveBlurSize);
7425
+ get height(): string;
7426
+ set height(value: string);
7427
+ get width(): string;
7428
+ set width(value: string);
7429
+ get tint(): string;
7430
+ set tint(value: string);
7431
+ get blurLevels(): number[];
7432
+ set blurLevels(value: number[]);
7433
+ connectedCallback(): void;
7434
+ disconnectedCallback(): void;
7435
+ attributeChangedCallback(): void;
7436
+ private build;
7437
+ private createEdgePanel;
7438
+ private renderLayers;
7439
+ private sync;
7440
+ }
7441
+ declare global {
7442
+ interface HTMLElementTagNameMap {
7443
+ 'db-progressive-blur': DbProgressiveBlur;
7444
+ }
7445
+ }
7446
+
7447
+ declare class DbBorderBeam extends HTMLElement {
7448
+ static get observedAttributes(): string[];
7449
+ private built;
7450
+ private beamEl?;
7451
+ private currentPlaybackRate;
7452
+ private targetPlaybackRate;
7453
+ private speedAnimRafId;
7454
+ private rampPlaybackRate;
7455
+ private onParentEnter;
7456
+ private onParentLeave;
7457
+ get size(): string;
7458
+ set size(value: string);
7459
+ get duration(): number;
7460
+ set duration(value: number);
7461
+ get delay(): number;
7462
+ set delay(value: number);
7463
+ get colorFrom(): string;
7464
+ set colorFrom(value: string);
7465
+ get colorTo(): string;
7466
+ set colorTo(value: string);
7467
+ get borderWidth(): number;
7468
+ set borderWidth(value: number);
7469
+ get reverse(): boolean;
7470
+ set reverse(value: boolean);
7471
+ get initialOffset(): number;
7472
+ set initialOffset(value: number);
7473
+ get anchor(): number;
7474
+ set anchor(value: number);
7475
+ get variant(): BorderBeamVariant;
7476
+ set variant(value: BorderBeamVariant);
7477
+ get radius(): string;
7478
+ set radius(value: string);
7479
+ get hoverSpeed(): number;
7480
+ set hoverSpeed(value: number);
7481
+ get hoverScale(): number;
7482
+ set hoverScale(value: number);
7483
+ connectedCallback(): void;
7484
+ disconnectedCallback(): void;
7485
+ attributeChangedCallback(): void;
7486
+ private build;
7487
+ private updateRadius;
7488
+ private sync;
7489
+ }
7490
+ declare global {
7491
+ interface HTMLElementTagNameMap {
7492
+ 'db-border-beam': DbBorderBeam;
7493
+ }
7494
+ }
7495
+
7496
+ interface ConfettiParticleOptions {
7497
+ particleCount?: number;
7498
+ angle?: number;
7499
+ spread?: number;
7500
+ startVelocity?: number;
7501
+ decay?: number;
7502
+ gravity?: number;
7503
+ drift?: number;
7504
+ ticks?: number;
7505
+ origin?: {
7506
+ x: number;
7507
+ y: number;
7508
+ };
7509
+ colors?: string[];
7510
+ shapes?: ConfettiShape[];
7511
+ scalar?: number;
7512
+ zIndex?: number;
7513
+ disableForReducedMotion?: boolean;
7514
+ }
7515
+ interface ConfettiFireworkOptions {
7516
+ duration?: number;
7517
+ interval?: number;
7518
+ particleCount?: number;
7519
+ colors?: string[];
7520
+ }
7521
+ declare class DbConfetti extends HTMLElement {
7522
+ static get observedAttributes(): string[];
7523
+ private built;
7524
+ private canvas?;
7525
+ private ctx?;
7526
+ private particles;
7527
+ private animationId;
7528
+ private fireworkTimer;
7529
+ private resizeObserver?;
7530
+ private clickHandler;
7531
+ get mode(): ConfettiMode;
7532
+ set mode(value: ConfettiMode);
7533
+ get trigger(): ConfettiTrigger;
7534
+ set trigger(value: ConfettiTrigger);
7535
+ get particleCount(): number;
7536
+ set particleCount(value: number);
7537
+ get spread(): number;
7538
+ set spread(value: number);
7539
+ get originX(): number;
7540
+ set originX(value: number);
7541
+ get originY(): number;
7542
+ set originY(value: number);
7543
+ get colors(): string[];
7544
+ set colors(value: string[]);
7545
+ get shapes(): ConfettiShape[];
7546
+ set shapes(value: ConfettiShape[]);
7547
+ get duration(): number;
7548
+ set duration(value: number);
7549
+ get fullscreen(): boolean;
7550
+ set fullscreen(value: boolean);
7551
+ connectedCallback(): void;
7552
+ disconnectedCallback(): void;
7553
+ attributeChangedCallback(name: string, _oldVal: string | null, _newVal: string | null): void;
7554
+ private build;
7555
+ private updateCanvasSize;
7556
+ private sync;
7557
+ fire(opts?: ConfettiParticleOptions): void;
7558
+ fireworks(options?: ConfettiFireworkOptions): void;
7559
+ cannon(): void;
7560
+ stars(): void;
7561
+ pride(): void;
7562
+ snow(): void;
7563
+ fireByMode(): void;
7564
+ private drawStar;
7565
+ private loop;
7566
+ }
7567
+ declare global {
7568
+ interface HTMLElementTagNameMap {
7569
+ 'db-confetti': DbConfetti;
7570
+ }
7571
+ }
7572
+ interface ConfettiFunction {
7573
+ (options?: ConfettiParticleOptions): void;
7574
+ fireworks(options?: ConfettiFireworkOptions): void;
7575
+ cannon(options?: ConfettiParticleOptions): void;
7576
+ stars(): void;
7577
+ pride(): void;
7578
+ snow(): void;
7579
+ }
7580
+ declare const confetti: ConfettiFunction;
7581
+
7582
+ declare class DbGlyphMatrix extends HTMLElement {
7583
+ static get observedAttributes(): string[];
7584
+ private built;
7585
+ private canvas?;
7586
+ private ctx?;
7587
+ private ro?;
7588
+ private rafId;
7589
+ private lastTick;
7590
+ private stopped;
7591
+ private cols;
7592
+ private rows;
7593
+ private cells;
7594
+ private alphas;
7595
+ private rgba;
7596
+ private mouseX;
7597
+ private mouseY;
7598
+ private mouseHandler;
7599
+ private mouseLeaveHandler;
7600
+ get preset(): GlyphMatrixPreset;
7601
+ set preset(value: GlyphMatrixPreset);
7602
+ get size(): GlyphMatrixSize;
7603
+ set size(value: GlyphMatrixSize);
7604
+ get glyphs(): string;
7605
+ set glyphs(value: string);
7606
+ get cellSize(): number;
7607
+ set cellSize(value: number);
7608
+ get mutationRate(): number;
7609
+ set mutationRate(value: number);
7610
+ get interval(): number;
7611
+ set interval(value: number);
7612
+ get fadeBottom(): number;
7613
+ set fadeBottom(value: number);
7614
+ get color(): string;
7615
+ set color(value: string);
7616
+ get interactive(): boolean;
7617
+ set interactive(value: boolean);
7618
+ connectedCallback(): void;
7619
+ disconnectedCallback(): void;
7620
+ attributeChangedCallback(name: string, _oldVal: string | null, _newVal: string | null): void;
7621
+ private attachMouseEvents;
7622
+ private detachMouseEvents;
7623
+ private build;
7624
+ private syncColor;
7625
+ private sync;
7626
+ private resize;
7627
+ private draw;
7628
+ private tick;
7629
+ private start;
7630
+ }
7631
+ declare global {
7632
+ interface HTMLElementTagNameMap {
7633
+ 'db-glyph-matrix': DbGlyphMatrix;
7634
+ }
7635
+ }
7636
+
7637
+ interface DbPaperField {
7638
+ label: string;
7639
+ value: string;
7640
+ }
7641
+ interface DbPaperAction {
7642
+ reference: string;
7643
+ }
7644
+ /** Own only the view; framework-owned children (including slot="actions") stay mounted. */
7645
+ declare abstract class DbPaperCard extends DbElement {
7646
+ protected view: HTMLDivElement;
7647
+ private ready;
7648
+ connectedCallback(): void;
7649
+ protected upgradeNames(): string[];
7650
+ attributeChangedCallback(): void;
7651
+ protected abstract render(): void;
7652
+ protected attr(name: string): string;
7653
+ protected action(reference: string): HTMLElement | null;
7654
+ protected replace(...nodes: Node[]): void;
7655
+ protected code(reference: string): HTMLElement;
7656
+ }
7657
+
7658
+ /** Invitation, admission and coupon ticket. Values are text, never interpreted as HTML. */
7659
+ declare class DbTicket extends DbPaperCard {
7660
+ static get observedAttributes(): string[];
7661
+ private data;
7662
+ protected upgradeNames(): string[];
7663
+ get fields(): DbPaperField[];
7664
+ set fields(value: DbPaperField[]);
7665
+ protected render(): void;
7666
+ }
7667
+ declare global {
7668
+ interface HTMLElementTagNameMap {
7669
+ 'db-ticket': DbTicket;
7670
+ }
7671
+ }
7672
+
7673
+ interface DbBoardingPassLabels {
7674
+ origin: string;
7675
+ destination: string;
7676
+ passenger: string;
7677
+ service: string;
7678
+ date: string;
7679
+ boarding: string;
7680
+ departure: string;
7681
+ arrival: string;
7682
+ terminal: string;
7683
+ gate: string;
7684
+ seat: string;
7685
+ travelClass: string;
7686
+ }
7687
+ declare class DbBoardingPass extends DbPaperCard {
7688
+ static get observedAttributes(): string[];
7689
+ private customLabels;
7690
+ protected upgradeNames(): string[];
7691
+ get labels(): DbBoardingPassLabels;
7692
+ set labels(value: Partial<DbBoardingPassLabels>);
7693
+ protected render(): void;
7694
+ }
7695
+ declare global {
7696
+ interface HTMLElementTagNameMap {
7697
+ 'db-boarding-pass': DbBoardingPass;
7698
+ }
7699
+ }
7700
+
7701
+ interface DbReceiptItem {
7702
+ name: string;
7703
+ quantity: number;
7704
+ unitAmount: number;
7705
+ }
7706
+ interface DbReceiptLabels {
7707
+ quantity: string;
7708
+ subtotal: string;
7709
+ discount: string;
7710
+ tax: string;
7711
+ total: string;
7712
+ payment: string;
7713
+ empty: string;
7714
+ invalid: string;
7715
+ }
7716
+ /** Integer minor-unit amounts: KRW 3900 = ₩3,900; USD 3900 = $39.00. */
7717
+ declare class DbReceipt extends DbPaperCard {
7718
+ static get observedAttributes(): string[];
7719
+ private data;
7720
+ private customLabels;
7721
+ protected upgradeNames(): string[];
7722
+ get items(): DbReceiptItem[];
7723
+ set items(value: DbReceiptItem[]);
7724
+ get labels(): DbReceiptLabels;
7725
+ set labels(value: Partial<DbReceiptLabels>);
7726
+ protected render(): void;
7727
+ }
7728
+ declare global {
7729
+ interface HTMLElementTagNameMap {
7730
+ 'db-receipt': DbReceipt;
7731
+ }
7732
+ }
7733
+
7734
+ declare const ORIENTATIONS: readonly ["horizontal", "vertical"];
7735
+ declare const VARIANTS: readonly ["default", "contrast", "metal", "blue", "sage", "rose", "cobalt", "coral", "lime"];
7736
+ type DbCreditCardOrientation = typeof ORIENTATIONS[number];
7737
+ type DbCreditCardVariant = typeof VARIANTS[number];
7738
+ interface DbCreditCardFlip {
7739
+ flipped: boolean;
7740
+ }
7741
+ /** Saved-card presentation, not a payment form. Front/back state reflects to `flipped`. */
7742
+ declare class DbCreditCard extends DbElement {
7743
+ static get observedAttributes(): string[];
7744
+ private button?;
7745
+ private front;
7746
+ private back;
7747
+ private issuerFront;
7748
+ private issuerBack;
7749
+ private networkFront;
7750
+ private networkBack;
7751
+ private number;
7752
+ private holderFront;
7753
+ private holderBack;
7754
+ private expiryFront;
7755
+ private expiryBack;
7756
+ private security;
7757
+ private note;
7758
+ get flipped(): boolean;
7759
+ set flipped(value: boolean);
7760
+ get orientation(): DbCreditCardOrientation;
7761
+ set orientation(value: DbCreditCardOrientation);
7762
+ get variant(): DbCreditCardVariant;
7763
+ set variant(value: DbCreditCardVariant);
7764
+ get disabled(): boolean;
7765
+ set disabled(value: boolean);
7766
+ connectedCallback(): void;
7767
+ disconnectedCallback(): void;
7768
+ private releaseSurface;
7769
+ private resetSurface;
7770
+ private syncNetwork;
7771
+ attributeChangedCallback(): void;
7772
+ private build;
7773
+ private sync;
7774
+ }
7775
+ declare global {
7776
+ interface HTMLElementTagNameMap {
7777
+ 'db-credit-card': DbCreditCard;
7778
+ }
7779
+ }
7780
+
7781
+ interface DbAchievementItem {
7782
+ id: string;
7783
+ title: string;
7784
+ description: string;
7785
+ state: 'locked' | 'earned' | 'needs_review';
7786
+ current?: number;
7787
+ target?: number;
7788
+ earnedLabel?: string;
7789
+ motif?: 'star' | 'award' | 'bulb' | 'heart';
7790
+ }
7791
+ /** Presentation only. The owner supplies server-validated awards/progress; selection grants nothing. */
7792
+ declare class DbAchievementList extends DbElement {
7793
+ private data;
7794
+ static get observedAttributes(): string[];
7795
+ get items(): DbAchievementItem[];
7796
+ set items(value: DbAchievementItem[]);
7797
+ connectedCallback(): void;
7798
+ attributeChangedCallback(): void;
7799
+ private render;
7800
+ }
7801
+ declare global {
7802
+ interface HTMLElementTagNameMap {
7803
+ 'db-achievement-list': DbAchievementList;
7804
+ }
7805
+ }
7806
+
7807
+ /** Controlled presentation; no award or receipt writes. Effects stay inside this modal. */
7808
+ declare class DbAchievementModal extends DbElement {
7809
+ private data;
7810
+ private modal?;
7811
+ private body?;
7812
+ private confetti?;
7813
+ private frame;
7814
+ private viewKey;
7815
+ private presentationKey;
7816
+ private readonly descriptionId;
7817
+ private readonly headingId;
7818
+ static get observedAttributes(): string[];
7819
+ get items(): DbAchievementItem[];
7820
+ set items(value: DbAchievementItem[]);
7821
+ get open(): boolean;
7822
+ set open(value: boolean);
7823
+ connectedCallback(): void;
7824
+ disconnectedCallback(): void;
7825
+ attributeChangedCallback(): void;
7826
+ private dismiss;
7827
+ private stopEffects;
7828
+ private ensureView;
7829
+ private stage;
7830
+ private sync;
7831
+ }
7832
+ declare global {
7833
+ interface HTMLElementTagNameMap {
7834
+ 'db-achievement-modal': DbAchievementModal;
7835
+ }
7836
+ }
7837
+
7838
+ declare const PAYMENT_BRANDS: readonly [{
7839
+ readonly id: "visa";
7840
+ readonly label: "Visa";
7841
+ readonly src: string;
7842
+ readonly cardSrc: string;
7843
+ }, {
7844
+ readonly id: "mastercard";
7845
+ readonly label: "Mastercard";
7846
+ readonly src: string;
7847
+ readonly cardSrc: string;
7848
+ }, {
7849
+ readonly id: "american-express";
7850
+ readonly label: "American Express";
7851
+ readonly src: string;
7852
+ }, {
7853
+ readonly id: "discover";
7854
+ readonly label: "Discover";
7855
+ readonly src: string;
7856
+ }, {
7857
+ readonly id: "jcb";
7858
+ readonly label: "JCB";
7859
+ readonly src: string;
7860
+ }, {
7861
+ readonly id: "unionpay";
7862
+ readonly label: "UnionPay";
7863
+ readonly src: string;
7864
+ }];
7865
+ declare function getPaymentBrand(network: string): {
7866
+ readonly id: "visa";
7867
+ readonly label: "Visa";
7868
+ readonly src: string;
7869
+ readonly cardSrc: string;
7870
+ } | {
7871
+ readonly id: "mastercard";
7872
+ readonly label: "Mastercard";
7873
+ readonly src: string;
7874
+ readonly cardSrc: string;
7875
+ } | {
7876
+ readonly id: "american-express";
7877
+ readonly label: "American Express";
7878
+ readonly src: string;
7879
+ } | {
7880
+ readonly id: "discover";
7881
+ readonly label: "Discover";
7882
+ readonly src: string;
7883
+ } | {
7884
+ readonly id: "jcb";
7885
+ readonly label: "JCB";
7886
+ readonly src: string;
7887
+ } | {
7888
+ readonly id: "unionpay";
7889
+ readonly label: "UnionPay";
7890
+ readonly src: string;
7891
+ } | undefined;
7892
+
7893
+ declare const STATUSES: readonly ["scheduled", "boarding", "in-flight", "landed", "delayed", "cancelled"];
7894
+ type DbFlightStatusValue = typeof STATUSES[number];
7895
+ /** Display data supplied by the application; does not fetch or simulate live flights. */
7896
+ declare class DbFlightStatus extends DbElement {
7897
+ static get observedAttributes(): string[];
7898
+ private view;
7899
+ private displayedProgress;
7900
+ private animation;
7901
+ private resizeObserver;
7902
+ private motion;
7903
+ private redraw;
7904
+ private get targetProgress();
7905
+ private stopAnimation;
7906
+ private onMotionChange;
7907
+ disconnectedCallback(): void;
7908
+ get progress(): number;
7909
+ set progress(value: number);
7910
+ get status(): DbFlightStatusValue;
7911
+ set status(value: DbFlightStatusValue);
7912
+ connectedCallback(): void;
7913
+ attributeChangedCallback(): void;
7914
+ private render;
7915
+ }
7916
+ declare global {
7917
+ interface HTMLElementTagNameMap {
7918
+ 'db-flight-status': DbFlightStatus;
7919
+ }
7920
+ }
7921
+
7922
+ interface DbTravelPass {
7923
+ id: string;
7924
+ issuer: string;
7925
+ origin: string;
7926
+ destination: string;
7927
+ originName?: string;
7928
+ destinationName?: string;
7929
+ passenger?: string;
7930
+ serviceNumber?: string;
7931
+ date?: string;
7932
+ boardingTime?: string;
7933
+ departureTime?: string;
7934
+ arrivalTime?: string;
7935
+ terminal?: string;
7936
+ gate?: string;
7937
+ seat?: string;
7938
+ travelClass?: string;
7939
+ codeImageSrc?: string;
7940
+ }
7941
+ interface DbTravelPassChange {
7942
+ index: number;
7943
+ pass: DbTravelPass;
7944
+ }
7945
+ /** Selectable journey wallet composed with the real db-boarding-pass element. */
7946
+ declare class DbBoardingPassStack extends DbElement {
7947
+ static get observedAttributes(): string[];
7948
+ private data?;
7949
+ private instanceId;
7950
+ private view;
7951
+ get passes(): DbTravelPass[];
7952
+ set passes(value: DbTravelPass[]);
7953
+ get selectedIndex(): number;
7954
+ set selectedIndex(value: number);
7955
+ connectedCallback(): void;
7956
+ attributeChangedCallback(): void;
7957
+ private select;
7958
+ private render;
7959
+ }
7960
+ declare global {
7961
+ interface HTMLElementTagNameMap {
7962
+ 'db-boarding-pass-stack': DbBoardingPassStack;
7963
+ }
7964
+ }
7965
+
7966
+ /** Native display pixels (width × height). Geometry references are documented in db-device-mockup.md. */
7967
+ declare const DEVICE_MOCKUP_SCREENS: {
7968
+ readonly default: readonly [1600, 1000];
7969
+ readonly tablet: readonly [3, 4];
7970
+ readonly ios: readonly [1206, 2622];
7971
+ readonly android: readonly [1080, 2340];
7972
+ readonly watch: readonly [416, 496];
7973
+ readonly flip: readonly [1080, 2520];
7974
+ readonly 'flip-cover': readonly [948, 1048];
7975
+ readonly fold: readonly [1968, 2184];
7976
+ readonly 'fold-cover': readonly [1080, 2520];
7977
+ readonly duo: readonly [14, 10];
7978
+ readonly 'duo-cover': readonly [7, 10];
7979
+ };
7980
+ type DeviceModel = 'default' | 'ios' | 'android' | 'watch' | 'flip' | 'fold' | 'duo';
7981
+ /** Physical frames preserve live child content through a slot; src displays a screenshot. */
7982
+ declare abstract class DbDeviceMockup extends DbElement {
7983
+ protected abstract readonly device: 'browser' | 'tablet' | 'mobile' | 'watch';
7984
+ protected readonly model: DeviceModel;
7985
+ static get observedAttributes(): string[];
7986
+ private readonly root;
7987
+ connectedCallback(): void;
7988
+ attributeChangedCallback(): void;
7989
+ private node;
7990
+ private decorative;
7991
+ private tools;
7992
+ private watchBand;
7993
+ private browserChrome;
7994
+ private render;
7995
+ }
7996
+ declare class DbBrowserMockup extends DbDeviceMockup {
7997
+ protected readonly device: "browser";
7998
+ }
7999
+ declare class DbTabletMockup extends DbDeviceMockup {
8000
+ protected readonly device: "tablet";
8001
+ }
8002
+ /** Compatibility alias for the iOS frame. */
8003
+ declare class DbMobileMockup extends DbDeviceMockup {
8004
+ protected readonly device: "mobile";
8005
+ protected readonly model: DeviceModel;
8006
+ }
8007
+ declare class DbIosMockup extends DbMobileMockup {
8008
+ }
8009
+ declare class DbAndroidMockup extends DbMobileMockup {
8010
+ protected readonly model: DeviceModel;
8011
+ }
8012
+ declare class DbAppleWatchMockup extends DbDeviceMockup {
8013
+ protected readonly device: "watch";
8014
+ protected readonly model: DeviceModel;
8015
+ }
8016
+ declare class DbFlipMockup extends DbMobileMockup {
8017
+ protected readonly model: DeviceModel;
8018
+ }
8019
+ declare class DbFoldMockup extends DbMobileMockup {
8020
+ protected readonly model: DeviceModel;
8021
+ }
8022
+ declare class DbDuoMockup extends DbMobileMockup {
8023
+ protected readonly model: DeviceModel;
8024
+ }
8025
+ declare global {
8026
+ interface HTMLElementTagNameMap {
8027
+ 'db-browser-mockup': DbBrowserMockup;
8028
+ 'db-tablet-mockup': DbTabletMockup;
8029
+ 'db-mobile-mockup': DbMobileMockup;
8030
+ }
8031
+ }
8032
+ declare global {
8033
+ interface HTMLElementTagNameMap {
8034
+ 'db-ios-mockup': DbIosMockup;
8035
+ }
8036
+ }
8037
+ declare global {
8038
+ interface HTMLElementTagNameMap {
8039
+ 'db-android-mockup': DbAndroidMockup;
8040
+ }
8041
+ }
8042
+ declare global {
8043
+ interface HTMLElementTagNameMap {
8044
+ 'db-apple-watch-mockup': DbAppleWatchMockup;
8045
+ }
8046
+ }
8047
+ declare global {
8048
+ interface HTMLElementTagNameMap {
8049
+ 'db-flip-mockup': DbFlipMockup;
8050
+ }
8051
+ }
8052
+ declare global {
8053
+ interface HTMLElementTagNameMap {
8054
+ 'db-fold-mockup': DbFoldMockup;
8055
+ }
8056
+ }
8057
+ declare global {
8058
+ interface HTMLElementTagNameMap {
8059
+ 'db-duo-mockup': DbDuoMockup;
8060
+ }
8061
+ }
8062
+
8063
+ declare const NODE_VARIANTS: readonly ["default", "compact"];
8064
+ declare const NODE_STATUSES: readonly ["idle", "running", "success", "error"];
8065
+ type DbNodePortType = 'any' | 'text' | 'image' | 'number' | 'boolean';
8066
+ type DbNodePort = {
8067
+ id: string;
8068
+ label: string;
8069
+ type?: DbNodePortType;
8070
+ connected?: boolean;
8071
+ disabled?: boolean;
8072
+ };
8073
+ type DbNodePortSelect = {
8074
+ nodeId: string;
8075
+ portId: string;
8076
+ direction: 'input' | 'output';
8077
+ type: DbNodePortType;
8078
+ };
8079
+ type DbNodePortDrag = DbNodePortSelect & {
8080
+ clientX: number;
8081
+ clientY: number;
8082
+ phase: 'start' | 'move' | 'end' | 'cancel';
8083
+ };
8084
+ type DbNodeMove = {
8085
+ nodeId: string;
8086
+ deltaX: number;
8087
+ deltaY: number;
8088
+ phase: 'start' | 'move' | 'end' | 'cancel' | 'keyboard';
8089
+ };
8090
+ /** A composable workflow node. The consumer owns graph coordinates and connections. */
8091
+ declare class DbNode extends DbElement {
8092
+ static get observedAttributes(): string[];
8093
+ private readonly root;
8094
+ private inputPorts;
8095
+ private outputPorts;
8096
+ private portsDirty;
8097
+ private drag;
8098
+ private portDrag;
8099
+ private suppressPortClick;
8100
+ private deleteButton;
8101
+ private headingButton;
8102
+ private titleEl;
8103
+ private iconBox;
8104
+ private descriptionEl;
8105
+ private statusEl;
8106
+ private statusBadge;
8107
+ private collapseButton;
8108
+ private runButton;
8109
+ private body;
8110
+ private footer;
8111
+ private inputList;
8112
+ private outputList;
8113
+ get inputs(): DbNodePort[];
8114
+ set inputs(value: DbNodePort[]);
8115
+ get outputs(): DbNodePort[];
8116
+ set outputs(value: DbNodePort[]);
8117
+ /** Anchor element for a graph renderer; use its bounding rect to position edges. */
8118
+ getPortElement(id: string, direction: 'input' | 'output'): HTMLButtonElement | null;
8119
+ connectedCallback(): void;
8120
+ disconnectedCallback(): void;
8121
+ attributeChangedCallback(name: string): void;
8122
+ private normalizePorts;
8123
+ private readPorts;
8124
+ private nodeId;
8125
+ private el;
8126
+ private action;
8127
+ private build;
8128
+ private emitMove;
8129
+ private finishDrag;
8130
+ private renderPorts;
8131
+ private emitPortDrag;
8132
+ private cancelPortDrag;
8133
+ private sync;
8134
+ }
8135
+ declare global {
8136
+ interface HTMLElementTagNameMap {
8137
+ 'db-node': DbNode;
8138
+ }
8139
+ }
8140
+
8141
+ interface DesignCanvasNode {
8142
+ id: string;
8143
+ type: 'frame' | 'image' | 'text' | 'shape' | 'component';
8144
+ name: string;
8145
+ x: number;
8146
+ y: number;
8147
+ width: number;
8148
+ height: number;
8149
+ rotation?: number;
8150
+ flipX?: boolean;
8151
+ flipY?: boolean;
8152
+ src?: string;
8153
+ slot?: string;
8154
+ fill?: string;
8155
+ opacity?: number;
8156
+ radius?: number;
8157
+ locked?: boolean;
8158
+ text?: string;
8159
+ fontSize?: number;
8160
+ fontWeight?: number;
8161
+ textColor?: string;
8162
+ textAlign?: 'left' | 'center' | 'right';
8163
+ shape?: 'rectangle' | 'ellipse' | 'triangle' | 'line';
8164
+ component?: 'button' | 'input' | 'card' | 'badge';
8165
+ stroke?: string;
8166
+ strokeWidth?: number;
8167
+ }
8168
+ interface DesignCanvasViewport {
8169
+ x: number;
8170
+ y: number;
8171
+ zoom: number;
8172
+ }
8173
+ interface DesignCanvasChange {
8174
+ nodes: DesignCanvasNode[];
8175
+ selectedId: string | null;
8176
+ reason: string;
8177
+ }
8178
+ type Point = {
8179
+ x: number;
8180
+ y: number;
8181
+ };
8182
+ /** DOM canvas with serializable nodes. Slot a React/Vue-owned frame using node.slot. */
8183
+ declare class DbDesignCanvas extends HTMLElement {
8184
+ static get observedAttributes(): string[];
8185
+ private data;
8186
+ private selected;
8187
+ private view;
8188
+ private surface?;
8189
+ private world?;
8190
+ private toolbar?;
8191
+ private contextBar?;
8192
+ private status?;
8193
+ private selection?;
8194
+ private input?;
8195
+ private objectElements;
8196
+ private slots;
8197
+ private observer?;
8198
+ private resizeObserver?;
8199
+ private gesture?;
8200
+ private pointers;
8201
+ private pinch?;
8202
+ private space;
8203
+ private hand;
8204
+ private creationTool;
8205
+ private shapeTool;
8206
+ private componentTool;
8207
+ private editing?;
8208
+ private past;
8209
+ private future;
8210
+ private reading;
8211
+ private generation;
8212
+ get nodes(): DesignCanvasNode[];
8213
+ set nodes(value: DesignCanvasNode[] | string);
8214
+ get selectedId(): string | null;
8215
+ set selectedId(value: string | null);
8216
+ get viewport(): DesignCanvasViewport;
8217
+ set viewport(value: DesignCanvasViewport);
8218
+ get minZoom(): number;
8219
+ get maxZoom(): number;
8220
+ get readOnly(): boolean;
8221
+ set readOnly(value: boolean);
8222
+ connectedCallback(): void;
8223
+ disconnectedCallback(): void;
8224
+ attributeChangedCallback(name: string): void;
8225
+ private normalizeNode;
8226
+ private ensureStructure;
8227
+ private collectSlots;
8228
+ private draw;
8229
+ private drawText;
8230
+ private drawShape;
8231
+ private drawComponent;
8232
+ private beginTextEdit;
8233
+ private drawViewport;
8234
+ private drawSelection;
8235
+ private syncToolbar;
8236
+ private syncContext;
8237
+ private insertNode;
8238
+ private positionContext;
8239
+ private toolAction;
8240
+ private select;
8241
+ private emit;
8242
+ private emitViewport;
8243
+ private remember;
8244
+ undo(): void;
8245
+ redo(): void;
8246
+ private point;
8247
+ zoomTo(zoom: number, anchor?: Point): void;
8248
+ fitToContent(): void;
8249
+ private editable;
8250
+ private onPointerDown;
8251
+ private onPointerMove;
8252
+ private onPointerUp;
8253
+ private cancelGesture;
8254
+ private onPointerCancel;
8255
+ private onLostCapture;
8256
+ private onWheel;
8257
+ private onKeyUp;
8258
+ private onBlur;
8259
+ private onKeyDown;
8260
+ private onDragOver;
8261
+ private onDragLeave;
8262
+ private onDrop;
8263
+ importImages(files: File[], point?: Point): Promise<void>;
8264
+ }
8265
+ declare global {
8266
+ interface HTMLElementTagNameMap {
8267
+ 'db-design-canvas': DbDesignCanvas;
8268
+ }
8269
+ }
8270
+
8271
+ interface DesignToolOption {
8272
+ id: string;
8273
+ label: string;
8274
+ icon?: string;
8275
+ shortcut?: string;
8276
+ disabled?: boolean;
8277
+ }
8278
+ interface DesignToolAction {
8279
+ id: string;
8280
+ optionId?: string;
8281
+ option?: DesignToolOption;
8282
+ }
8283
+ /** Icon action with a portalled tooltip and optional click/long-press menu. */
8284
+ declare class DbToolButton extends HTMLElement {
8285
+ static get observedAttributes(): string[];
8286
+ private static openMenus;
8287
+ private button?;
8288
+ private tooltip?;
8289
+ private menuPopover?;
8290
+ private menu?;
8291
+ private timer?;
8292
+ private held;
8293
+ private pointer?;
8294
+ private menuSignature;
8295
+ private focusFrame?;
8296
+ get options(): DesignToolOption[];
8297
+ set options(value: DesignToolOption[] | string);
8298
+ get value(): string;
8299
+ set value(v: string);
8300
+ get disabled(): boolean;
8301
+ connectedCallback(): void;
8302
+ disconnectedCallback(): void;
8303
+ attributeChangedCallback(): void;
8304
+ private ensure;
8305
+ private sync;
8306
+ private activate;
8307
+ openMenu(): void;
8308
+ private outsidePress;
8309
+ private releaseMenuOwner;
8310
+ closeMenu(restoreFocus?: boolean): void;
8311
+ private menuKey;
8312
+ private pressStart;
8313
+ private pressEnd;
8314
+ private clearPress;
8315
+ }
8316
+ declare global {
8317
+ interface HTMLElementTagNameMap {
8318
+ 'db-tool-button': DbToolButton;
8319
+ }
8320
+ }
8321
+
8322
+ interface DesignToolbarItem {
8323
+ id: string;
8324
+ type?: 'button' | 'separator';
8325
+ label?: string;
8326
+ icon?: string;
8327
+ text?: string;
8328
+ shortcut?: string;
8329
+ active?: boolean;
8330
+ disabled?: boolean;
8331
+ options?: DesignToolOption[];
8332
+ value?: string;
8333
+ menuTrigger?: 'click' | 'long-press';
8334
+ }
8335
+ /** Icon toolbar. Arrow keys navigate actions; dropdowns and tooltips are portalled. */
8336
+ declare class DbDesignToolbar extends HTMLElement {
8337
+ static get observedAttributes(): string[];
8338
+ private tools;
8339
+ private focusId;
8340
+ private connected;
8341
+ private grip?;
8342
+ private boundaryObserver?;
8343
+ private dragState?;
8344
+ private location;
8345
+ get toolbarPosition(): {
8346
+ x: number;
8347
+ y: number;
8348
+ } | string;
8349
+ set toolbarPosition(value: {
8350
+ x: number;
8351
+ y: number;
8352
+ } | string);
8353
+ get items(): DesignToolbarItem[];
8354
+ set items(value: DesignToolbarItem[] | string);
8355
+ connectedCallback(): void;
8356
+ disconnectedCallback(): void;
8357
+ attributeChangedCallback(name: string): void;
8358
+ private sync;
8359
+ private buttons;
8360
+ private rove;
8361
+ private focusIn;
8362
+ private keyDown;
8363
+ private constrainPosition;
8364
+ resetPosition(): void;
8365
+ private dragStart;
8366
+ private dragMove;
8367
+ private dragEnd;
8368
+ private dragCancel;
8369
+ private gripKey;
8370
+ closeMenus(): void;
8371
+ }
8372
+ declare global {
8373
+ interface HTMLElementTagNameMap {
8374
+ 'db-design-toolbar': DbDesignToolbar;
8375
+ }
8376
+ }
8377
+
8378
+ /** Compact contextual actions. The consumer owns selection, visibility and positioning. */
8379
+ declare class DbContextBar extends DbDesignToolbar {
8380
+ connectedCallback(): void;
8381
+ }
8382
+ declare global {
8383
+ interface HTMLElementTagNameMap {
8384
+ 'db-context-bar': DbContextBar;
8385
+ }
8386
+ }
8387
+
8388
+ export { CleanupBag, DEVICE_MOCKUP_SCREENS, DbAccordion, DbAchievementList, DbAchievementModal, DbActivityHeatmap, DbAdBanner, DbAiChainOfThought, DbAiChat, DbAiChatList, DbAiCheckpoint, DbAiConfirmation, DbAiContext, DbAiConversation, DbAiExecutionQuote, DbAiFileTree, DbAiGlow, DbAiInlineCitation, DbAiMessage, DbAiModelSelect, DbAiPlan, DbAiQueue, DbAiReasoning, DbAiSources, DbAiStackTrace, DbAiSubagent, DbAiTask, DbAiTaskStatus, DbAiTerminal, DbAiTestResults, DbAiTool, DbAlert, DbAndroidMockup, DbAnimationBackground, DbAnimationText, DbAppBadge, DbAppleWatchMockup, DbAttachmentList, DbAudioPlayer, DbAvatar, DbBackdrop, DbBadge, DbBanner, DbBentoCard, DbBentoGrid, DbBoardingPass, DbBoardingPassStack, DbBorderBeam, DbBottomNavigation, DbBottomSheet, DbBreadcrumbs, DbBrowserMockup, DbButton, DbCalendar, DbCard, DbCarousel, DbChatComposer, DbChatList, DbChatMessage, DbChatOrb, DbChatRoom, DbChatSuggestions, DbChatTyping, DbChatWelcome, DbChatWidget, DbCheckbox, DbChip, DbCodeBlock, DbColorPicker, DbColorSwatch, DbConfetti, DbConfirm, DbContainer, DbContextBar, DbContextMenu, DbCookieBanner, DbCountdown, DbCreditBalance, DbCreditCard, DbCreditDropdown, DbCreditHistory, DbCreditRecharge, DbCreditRechargeModal, DbCursorFollower, DbDatePicker, DbDesignCanvas, DbDesignToolbar, DbDivider, DbDownloadProgress, DbDrawer, DbDropdown, DbDropzone, DbDuoMockup, DbElement, DbEmailVerify, DbEmptyState, DbFileUploader, DbFilterBar, DbFlightStatus, DbFlipMockup, DbFloatingActionButton, DbFoldMockup, DbFooter, DbForm, DbGantt, DbGlyphMatrix, DbGradient, DbGrid, DbGridBackground, DbGridItem, DbImage, DbImageList, DbImagePlaceholder, DbIndicator, DbInput, DbIosMockup, DbKanban, DbLabel, DbLightbox, DbList, DbLogo, DbMarkdownEditor, DbMarquee, DbMasonry, DbMenuItem, DbMobileMockup, DbModal, DbNavbar, DbNavigationRail, DbNode, DbNotificationDropdown, DbNotificationInbox, DbOnboardingModal, DbOtpInput, DbPageHeader, DbPagination, DbPhoneVerify, DbPlanOverview, DbPopover, DbProgress, DbProgressStep, DbProgressbar, DbProgressiveBlur, DbRadio, DbRandomGradient, DbRangeSlider, DbRating, DbReceipt, DbReorder, DbResizablePanels, DbScrollArea, DbSearchBar, DbSection, DbSectionAppDownload, DbSectionContact, DbSectionCta, DbSectionFaq, DbSectionFeature, DbSectionFeatureGrid, DbSectionHero, DbSectionLogoCloud, DbSectionPricing, DbSectionStats, DbSectionTestimonials, DbSegmentControl, DbSelect, DbShare, DbSidebar, DbSignature, DbSkeleton, DbSpinner, DbSplitView, DbStack, DbStat, DbStepper, DbTable, DbTabletMockup, DbTabs, DbTestimonial, DbTextarea, DbTicket, DbTimePicker, DbTimeline, DbToast, DbToggle, DbToolButton, DbToolbar, DbTooltip, DbTopBanner, DbTutorial, DbTweetCard, DbTwoFactor, DbVideoPlayer, DbVoiceControl, DbWorkspaceInviteModal, DbWorkspaceMembers, DbYouTubePlayer, NODE_STATUSES, NODE_VARIANTS, PAYMENT_BRANDS, activateOnKey, announce, confetti, confirm, createFocusTrap, createSrOnly, confirm as dbConfirm, dbResetLocale, dbSetLocale, toast as dbToast, dbUid, dbUseLocale, ensureId, getPaymentBrand, getTabbables, labelFrom, lockScroll, politenessForTone, rafThrottle, sanitizeHref, sanitizeHtmlFragment, scrollLockDepth, setAccessibleName, showToast, t, toast, unlockScroll };
8389
+ export type { CalendarEventData, CalendarEventType, Cleanup, ConfettiFireworkOptions, ConfettiFunction, ConfettiParticleOptions, DbAchievementItem, DbActivityHeatmapCellDetail, DbActivityHeatmapItem, DbAiAction, DbAiChatItem, DbAiItem, DbAiModelOption, DbAiModelSelection, DbAiQuoteExecution, DbAiQuoteView, DbAiStatus, DbAiTaskAction, DbAiTaskState, DbAlertAction, DbArtifactOptions, DbAttachment, DbAttachmentAction, DbAttachmentState, DbBannerAction, DbBoardingPassLabels, DbBottomNavigationItem, DbChatArtifactRef, DbChatAttachOption, DbChatListItem, DbChatMessageAttachment, DbChatMessageData, DbChatRoomMessage, DbChatSuggestion, DbChatTool, DbChatWidgetArticle, DbChatWidgetConversation, DbChatWidgetMenuAction, DbChatWidgetMenuItem, DbChatWidgetMessage, DbColorSwatchCustomType, DbColorSwatchItem, DbColorSwatchShape, DbColorSwatchSize, DbConfirmOptions, DbConfirmVariant, DbCreditCardFlip, DbCreditCardOrientation, DbCreditCardVariant, DbCreditEntry, DbCreditEntryKind, DbCreditPlan, DbCreditPlanSelection, DbFlightStatusValue, DbFooterCompanyInfo, DbFooterFamilySite, DbFooterLink, DbFooterLinkColumn, DbFooterSocialLink, DbFormFieldData, DbGanttAssignee, DbGanttGroup, DbGanttItem, DbGanttItemStatus, DbGanttRow, DbImageListItem, DbKanbanAssignee, DbKanbanCard, DbKanbanColumn, DbKanbanPriority, DbKanbanTag, DbLightboxImage, DbNavbarItem, DbNavbarUserProfile, DbNavigationRailItem, DbNodeMove, DbNodePort, DbNodePortDrag, DbNodePortSelect, DbNodePortType, DbNotificationAction, DbNotificationItem, DbNotificationReadAll, DbPageHeaderTabItem, DbPaperAction, DbPaperField, DbPlanFeature, DbReceiptItem, DbReceiptLabels, DbSharePlatform, DbShareVariant, DbSidebarItem, DbSidebarProject, DbSidebarPromoBanner, DbSidebarSection, DbSidebarUserProfile, DbSignaturePoint, DbSignatureVariant, DbStatChange, DbStringKey, DbStrings, DbTimelineItem, DbToastApi, DbToastHandle, DbToastOptions, ToastPosition as DbToastPosition, ToastVariant as DbToastVariant, DbTravelPass, DbTravelPassChange, DbTweetData, DbVoiceState, DbWorkspaceInviteDraft, DbWorkspaceInviteRole, DbWorkspaceMember, DbWorkspaceMemberAction, DbWorkspaceMemberState, DesignCanvasChange, DesignCanvasNode, DesignCanvasViewport, DesignToolAction, DesignToolOption, DesignToolbarItem, FileStatus, FilterBarAlign, FilterBarSize, FilterBarVariant, FocusTrap, FocusTrapOptions, GradientScheme, GradientTone, UploadFile };