• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2021-2023 Huawei Device Co., Ltd.
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 *     http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16/**
17 * @file
18 * @kit ArkUI
19 */
20
21/**
22 * Defines the badge position property.
23 *
24 * @enum { number }
25 * @syscap SystemCapability.ArkUI.ArkUI.Full
26 * @since 7
27 */
28/**
29 * Defines the badge position property.
30 *
31 * @enum { number }
32 * @syscap SystemCapability.ArkUI.ArkUI.Full
33 * @form
34 * @since 9
35 */
36/**
37 * Defines the badge position property.
38 *
39 * @enum { number }
40 * @syscap SystemCapability.ArkUI.ArkUI.Full
41 * @crossplatform
42 * @form
43 * @since 10
44 */
45/**
46 * Defines the badge position property.
47 *
48 * @enum { number }
49 * @syscap SystemCapability.ArkUI.ArkUI.Full
50 * @crossplatform
51 * @form
52 * @atomicservice
53 * @since 11
54 */
55declare enum BadgePosition {
56  /**
57   * The dot is displayed vertically centered on the right.
58   *
59   * @syscap SystemCapability.ArkUI.ArkUI.Full
60   * @since 7
61   */
62  /**
63   * The dot is displayed vertically centered on the right.
64   *
65   * @syscap SystemCapability.ArkUI.ArkUI.Full
66   * @form
67   * @since 9
68   */
69  /**
70   * The dot is displayed vertically centered on the right.
71   *
72   * @syscap SystemCapability.ArkUI.ArkUI.Full
73   * @crossplatform
74   * @form
75   * @since 10
76   */
77  /**
78   * The dot is displayed vertically centered on the right.
79   *
80   * @syscap SystemCapability.ArkUI.ArkUI.Full
81   * @crossplatform
82   * @form
83   * @atomicservice
84   * @since 11
85   */
86  RightTop,
87
88  /**
89   * Dots are displayed in the upper right corner.
90   *
91   * @syscap SystemCapability.ArkUI.ArkUI.Full
92   * @since 7
93   */
94  /**
95   * Dots are displayed in the upper right corner.
96   *
97   * @syscap SystemCapability.ArkUI.ArkUI.Full
98   * @form
99   * @since 9
100   */
101  /**
102   * Dots are displayed in the upper right corner.
103   *
104   * @syscap SystemCapability.ArkUI.ArkUI.Full
105   * @crossplatform
106   * @form
107   * @since 10
108   */
109  /**
110   * Dots are displayed in the upper right corner.
111   *
112   * @syscap SystemCapability.ArkUI.ArkUI.Full
113   * @crossplatform
114   * @form
115   * @atomicservice
116   * @since 11
117   */
118  Right,
119
120  /**
121   * The dot is displayed in the left vertical center.
122   *
123   * @syscap SystemCapability.ArkUI.ArkUI.Full
124   * @since 7
125   */
126  /**
127   * The dot is displayed in the left vertical center.
128   *
129   * @syscap SystemCapability.ArkUI.ArkUI.Full
130   * @form
131   * @since 9
132   */
133  /**
134   * The dot is displayed in the left vertical center.
135   *
136   * @syscap SystemCapability.ArkUI.ArkUI.Full
137   * @crossplatform
138   * @form
139   * @since 10
140   */
141  /**
142   * The dot is displayed in the left vertical center.
143   *
144   * @syscap SystemCapability.ArkUI.ArkUI.Full
145   * @crossplatform
146   * @form
147   * @atomicservice
148   * @since 11
149   */
150  Left,
151}
152
153/**
154 * BadgeStyle object
155 *
156 * @interface BadgeStyle
157 * @syscap SystemCapability.ArkUI.ArkUI.Full
158 * @since 7
159 */
160/**
161 * BadgeStyle object
162 *
163 * @interface BadgeStyle
164 * @syscap SystemCapability.ArkUI.ArkUI.Full
165 * @form
166 * @since 9
167 */
168/**
169 * BadgeStyle object
170 *
171 * @interface BadgeStyle
172 * @syscap SystemCapability.ArkUI.ArkUI.Full
173 * @crossplatform
174 * @form
175 * @since 10
176 */
177/**
178 * BadgeStyle object
179 *
180 * @interface BadgeStyle
181 * @syscap SystemCapability.ArkUI.ArkUI.Full
182 * @crossplatform
183 * @form
184 * @atomicservice
185 * @since 11
186 */
187declare interface BadgeStyle {
188  /**
189   * Text Color
190   *
191   * @type { ?ResourceColor }
192   * @syscap SystemCapability.ArkUI.ArkUI.Full
193   * @since 7
194   */
195  /**
196   * Text Color
197   *
198   * @type { ?ResourceColor }
199   * @syscap SystemCapability.ArkUI.ArkUI.Full
200   * @form
201   * @since 9
202   */
203  /**
204   * Text Color
205   *
206   * @type { ?ResourceColor }
207   * @syscap SystemCapability.ArkUI.ArkUI.Full
208   * @crossplatform
209   * @form
210   * @since 10
211   */
212  /**
213   * Text Color
214   *
215   * @type { ?ResourceColor }
216   * @syscap SystemCapability.ArkUI.ArkUI.Full
217   * @crossplatform
218   * @form
219   * @atomicservice
220   * @since 11
221   */
222  color?: ResourceColor;
223
224  /**
225   * Text size.
226   *
227   * @type { ?(number | string) }
228   * @syscap SystemCapability.ArkUI.ArkUI.Full
229   * @since 7
230   */
231  /**
232   * Text size.
233   *
234   * @type { ?(number | string) }
235   * @syscap SystemCapability.ArkUI.ArkUI.Full
236   * @form
237   * @since 9
238   */
239  /**
240   * Text size.
241   *
242   * @type { ?(number | string) }
243   * @syscap SystemCapability.ArkUI.ArkUI.Full
244   * @crossplatform
245   * @form
246   * @since 10
247   */
248  /**
249   * Text size.
250   *
251   * @type { ?(number | string) }
252   * @syscap SystemCapability.ArkUI.ArkUI.Full
253   * @crossplatform
254   * @form
255   * @atomicservice
256   * @since 11
257   */
258  fontSize?: number | string;
259
260  /**
261   * Size of a badge.
262   *
263   * @type { ?(number | string) }
264   * @syscap SystemCapability.ArkUI.ArkUI.Full
265   * @since 7
266   */
267  /**
268   * Size of a badge.
269   *
270   * @type { ?(number | string) }
271   * @syscap SystemCapability.ArkUI.ArkUI.Full
272   * @form
273   * @since 9
274   */
275  /**
276   * Size of a badge.
277   *
278   * @type { ?(number | string) }
279   * @syscap SystemCapability.ArkUI.ArkUI.Full
280   * @crossplatform
281   * @form
282   * @since 10
283   */
284  /**
285   * Size of a badge.
286   *
287   * @type { ?(number | string) }
288   * @syscap SystemCapability.ArkUI.ArkUI.Full
289   * @crossplatform
290   * @form
291   * @atomicservice
292   * @since 11
293   */
294  badgeSize?: number | string;
295
296  /**
297   * Color of the badge.
298   *
299   * @type { ?ResourceColor }
300   * @syscap SystemCapability.ArkUI.ArkUI.Full
301   * @since 7
302   */
303  /**
304   * Color of the badge.
305   *
306   * @type { ?ResourceColor }
307   * @syscap SystemCapability.ArkUI.ArkUI.Full
308   * @form
309   * @since 9
310   */
311  /**
312   * Color of the badge.
313   *
314   * @type { ?ResourceColor }
315   * @syscap SystemCapability.ArkUI.ArkUI.Full
316   * @crossplatform
317   * @form
318   * @since 10
319   */
320  /**
321   * Color of the badge.
322   *
323   * @type { ?ResourceColor }
324   * @syscap SystemCapability.ArkUI.ArkUI.Full
325   * @crossplatform
326   * @form
327   * @atomicservice
328   * @since 11
329   */
330  badgeColor?: ResourceColor;
331
332  /**
333   * Define the border color of the badge.
334   *
335   * @type { ?ResourceColor }
336   * @syscap SystemCapability.ArkUI.ArkUI.Full
337   * @crossplatform
338   * @since 10
339   */
340  /**
341   * Define the border color of the badge.
342   *
343   * @type { ?ResourceColor }
344   * @syscap SystemCapability.ArkUI.ArkUI.Full
345   * @crossplatform
346   * @atomicservice
347   * @since 11
348   */
349  borderColor?: ResourceColor;
350
351  /**
352   * Define the border width of the badge.
353   *
354   * @type { ?Length }
355   * @syscap SystemCapability.ArkUI.ArkUI.Full
356   * @crossplatform
357   * @since 10
358   */
359  /**
360   * Define the border width of the badge.
361   *
362   * @type { ?Length }
363   * @syscap SystemCapability.ArkUI.ArkUI.Full
364   * @crossplatform
365   * @atomicservice
366   * @since 11
367   */
368  borderWidth?: Length;
369
370  /**
371   * Define the font weight of the badge.
372   *
373   * @type { ?(number | FontWeight | string) }
374   * @syscap SystemCapability.ArkUI.ArkUI.Full
375   * @crossplatform
376   * @since 10
377   */
378  /**
379   * Define the font weight of the badge.
380   *
381   * @type { ?(number | FontWeight | string) }
382   * @syscap SystemCapability.ArkUI.ArkUI.Full
383   * @crossplatform
384   * @atomicservice
385   * @since 11
386   */
387  fontWeight?: number | FontWeight | string;
388}
389
390/**
391 * Defines the base param of badge.
392 *
393 * @interface BadgeParam
394 * @syscap SystemCapability.ArkUI.ArkUI.Full
395 * @since 7
396 */
397/**
398 * Defines the base param of badge.
399 *
400 * @interface BadgeParam
401 * @syscap SystemCapability.ArkUI.ArkUI.Full
402 * @form
403 * @since 9
404 */
405/**
406 * Defines the base param of badge.
407 *
408 * @interface BadgeParam
409 * @syscap SystemCapability.ArkUI.ArkUI.Full
410 * @crossplatform
411 * @form
412 * @since 10
413 */
414/**
415 * Defines the base param of badge.
416 *
417 * @interface BadgeParam
418 * @syscap SystemCapability.ArkUI.ArkUI.Full
419 * @crossplatform
420 * @form
421 * @atomicservice
422 * @since 11
423 */
424declare interface BadgeParam {
425  /**
426   * Set the display position of the prompt point.
427   *
428   * @type { ?(BadgePosition) }
429   * @syscap SystemCapability.ArkUI.ArkUI.Full
430   * @since 7
431   */
432  /**
433   * Set the display position of the prompt point.
434   *
435   * @type { ?(BadgePosition) }
436   * @syscap SystemCapability.ArkUI.ArkUI.Full
437   * @form
438   * @since 9
439   */
440  /**
441   * Set the display position of the prompt point.
442   *
443   * @type { ?(BadgePosition | Position) }
444   * @syscap SystemCapability.ArkUI.ArkUI.Full
445   * @crossplatform
446   * @form
447   * @since 10
448   */
449  /**
450   * Set the display position of the prompt point.
451   *
452   * @type { ?(BadgePosition | Position) }
453   * @syscap SystemCapability.ArkUI.ArkUI.Full
454   * @crossplatform
455   * @form
456   * @atomicservice
457   * @since 11
458   */
459  position?: BadgePosition | Position;
460
461  /**
462   * Defines the style of the Badge component, including the text color, size, dot color, and size.
463   *
464   * @type { BadgeStyle }
465   * @syscap SystemCapability.ArkUI.ArkUI.Full
466   * @since 7
467   */
468  /**
469   * Defines the style of the Badge component, including the text color, size, dot color, and size.
470   *
471   * @type { BadgeStyle }
472   * @syscap SystemCapability.ArkUI.ArkUI.Full
473   * @form
474   * @since 9
475   */
476  /**
477   * Defines the style of the Badge component, including the text color, size, dot color, and size.
478   *
479   * @type { BadgeStyle }
480   * @syscap SystemCapability.ArkUI.ArkUI.Full
481   * @crossplatform
482   * @form
483   * @since 10
484   */
485  /**
486   * Defines the style of the Badge component, including the text color, size, dot color, and size.
487   *
488   * @type { BadgeStyle }
489   * @syscap SystemCapability.ArkUI.ArkUI.Full
490   * @crossplatform
491   * @form
492   * @atomicservice
493   * @since 11
494   */
495  style: BadgeStyle;
496}
497
498/**
499 * Defines the badge param with count and maxCount.
500 *
501 * @extends BadgeParam
502 * @interface BadgeParamWithNumber
503 * @syscap SystemCapability.ArkUI.ArkUI.Full
504 * @since 7
505 */
506/**
507 * Defines the badge param with count and maxCount.
508 *
509 * @extends BadgeParam
510 * @interface BadgeParamWithNumber
511 * @syscap SystemCapability.ArkUI.ArkUI.Full
512 * @form
513 * @since 9
514 */
515/**
516 * Defines the badge param with count and maxCount.
517 *
518 * @extends BadgeParam
519 * @interface BadgeParamWithNumber
520 * @syscap SystemCapability.ArkUI.ArkUI.Full
521 * @crossplatform
522 * @form
523 * @since 10
524 */
525/**
526 * Defines the badge param with count and maxCount.
527 *
528 * @extends BadgeParam
529 * @interface BadgeParamWithNumber
530 * @syscap SystemCapability.ArkUI.ArkUI.Full
531 * @crossplatform
532 * @form
533 * @atomicservice
534 * @since 11
535 */
536declare interface BadgeParamWithNumber extends BadgeParam {
537  /**
538   * Set the number of reminder messages.
539   *
540   * @type { number }
541   * @syscap SystemCapability.ArkUI.ArkUI.Full
542   * @since 7
543   */
544  /**
545   * Set the number of reminder messages.
546   *
547   * @type { number }
548   * @syscap SystemCapability.ArkUI.ArkUI.Full
549   * @form
550   * @since 9
551   */
552  /**
553   * Set the number of reminder messages.
554   *
555   * @type { number }
556   * @syscap SystemCapability.ArkUI.ArkUI.Full
557   * @crossplatform
558   * @form
559   * @since 10
560   */
561  /**
562   * Set the number of reminder messages.
563   *
564   * @type { number }
565   * @syscap SystemCapability.ArkUI.ArkUI.Full
566   * @crossplatform
567   * @form
568   * @atomicservice
569   * @since 11
570   */
571  count: number;
572
573  /**
574   * Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed.
575   *
576   * @type { ?number }
577   * @syscap SystemCapability.ArkUI.ArkUI.Full
578   * @since 7
579   */
580  /**
581   * Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed.
582   *
583   * @type { ?number }
584   * @syscap SystemCapability.ArkUI.ArkUI.Full
585   * @form
586   * @since 9
587   */
588  /**
589   * Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed.
590   *
591   * @type { ?number }
592   * @syscap SystemCapability.ArkUI.ArkUI.Full
593   * @crossplatform
594   * @form
595   * @since 10
596   */
597  /**
598   * Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed.
599   *
600   * @type { ?number }
601   * @syscap SystemCapability.ArkUI.ArkUI.Full
602   * @crossplatform
603   * @form
604   * @atomicservice
605   * @since 11
606   */
607  maxCount?: number;
608}
609
610/**
611 * Defines the badge param with string value.
612 *
613 * @extends BadgeParam
614 * @interface BadgeParamWithString
615 * @syscap SystemCapability.ArkUI.ArkUI.Full
616 * @since 7
617 */
618/**
619 * Defines the badge param with string value.
620 *
621 * @extends BadgeParam
622 * @interface BadgeParamWithString
623 * @syscap SystemCapability.ArkUI.ArkUI.Full
624 * @form
625 * @since 9
626 */
627/**
628 * Defines the badge param with string value.
629 *
630 * @extends BadgeParam
631 * @interface BadgeParamWithString
632 * @syscap SystemCapability.ArkUI.ArkUI.Full
633 * @crossplatform
634 * @form
635 * @since 10
636 */
637/**
638 * Defines the badge param with string value.
639 *
640 * @extends BadgeParam
641 * @interface BadgeParamWithString
642 * @syscap SystemCapability.ArkUI.ArkUI.Full
643 * @crossplatform
644 * @form
645 * @atomicservice
646 * @since 11
647 */
648declare interface BadgeParamWithString extends BadgeParam {
649  /**
650   * Text string of the prompt content.
651   *
652   * @type { string }
653   * @syscap SystemCapability.ArkUI.ArkUI.Full
654   * @since 7
655   */
656  /**
657   * Text string of the prompt content.
658   *
659   * @type { string }
660   * @syscap SystemCapability.ArkUI.ArkUI.Full
661   * @form
662   * @since 9
663   */
664  /**
665   * Text string of the prompt content.
666   *
667   * @type { string }
668   * @syscap SystemCapability.ArkUI.ArkUI.Full
669   * @crossplatform
670   * @form
671   * @since 10
672   */
673  /**
674   * Text string of the prompt content.
675   *
676   * @type { string }
677   * @syscap SystemCapability.ArkUI.ArkUI.Full
678   * @crossplatform
679   * @form
680   * @atomicservice
681   * @since 11
682   */
683  value: string;
684}
685
686/**
687 * Defines Badge Component.
688 *
689 * @interface BadgeInterface
690 * @syscap SystemCapability.ArkUI.ArkUI.Full
691 * @since 7
692 */
693/**
694 * Defines Badge Component.
695 *
696 * @interface BadgeInterface
697 * @syscap SystemCapability.ArkUI.ArkUI.Full
698 * @form
699 * @since 9
700 */
701/**
702 * Defines Badge Component.
703 *
704 * @interface BadgeInterface
705 * @syscap SystemCapability.ArkUI.ArkUI.Full
706 * @crossplatform
707 * @form
708 * @since 10
709 */
710/**
711 * Defines Badge Component.
712 *
713 * @interface BadgeInterface
714 * @syscap SystemCapability.ArkUI.ArkUI.Full
715 * @crossplatform
716 * @form
717 * @atomicservice
718 * @since 11
719 */
720interface BadgeInterface {
721  /**
722   * position: Set the display position of the prompt point.
723   * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed.
724   * count: Set the number of reminder messages.
725   * style: You can set the style of the Badge component, including the text color, size, dot color, and size.
726   *
727   * @param { BadgeParamWithNumber } value
728   * @returns { BadgeAttribute }
729   * @syscap SystemCapability.ArkUI.ArkUI.Full
730   * @since 7
731   */
732  /**
733   * position: Set the display position of the prompt point.
734   * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed.
735   * count: Set the number of reminder messages.
736   * style: You can set the style of the Badge component, including the text color, size, dot color, and size.
737   *
738   * @param { BadgeParamWithNumber } value
739   * @returns { BadgeAttribute }
740   * @syscap SystemCapability.ArkUI.ArkUI.Full
741   * @form
742   * @since 9
743   */
744  /**
745   * position: Set the display position of the prompt point.
746   * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed.
747   * count: Set the number of reminder messages.
748   * style: You can set the style of the Badge component, including the text color, size, dot color, and size.
749   *
750   * @param { BadgeParamWithNumber } value
751   * @returns { BadgeAttribute }
752   * @syscap SystemCapability.ArkUI.ArkUI.Full
753   * @crossplatform
754   * @form
755   * @since 10
756   */
757  /**
758   * position: Set the display position of the prompt point.
759   * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed.
760   * count: Set the number of reminder messages.
761   * style: You can set the style of the Badge component, including the text color, size, dot color, and size.
762   *
763   * @param { BadgeParamWithNumber } value
764   * @returns { BadgeAttribute }
765   * @syscap SystemCapability.ArkUI.ArkUI.Full
766   * @crossplatform
767   * @form
768   * @atomicservice
769   * @since 11
770   */
771  (value: BadgeParamWithNumber): BadgeAttribute;
772
773  /**
774   * value: Text string of the prompt content.
775   * position: Set the display position of the prompt point.
776   * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed.
777   * style: You can set the style of the Badge component, including the text color, size, dot color, and size.
778   *
779   * @param { BadgeParamWithString } value
780   * @returns { BadgeAttribute }
781   * @syscap SystemCapability.ArkUI.ArkUI.Full
782   * @since 7
783   */
784  /**
785   * value: Text string of the prompt content.
786   * position: Set the display position of the prompt point.
787   * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed.
788   * style: You can set the style of the Badge component, including the text color, size, dot color, and size.
789   *
790   * @param { BadgeParamWithString } value
791   * @returns { BadgeAttribute }
792   * @syscap SystemCapability.ArkUI.ArkUI.Full
793   * @form
794   * @since 9
795   */
796  /**
797   * value: Text string of the prompt content.
798   * position: Set the display position of the prompt point.
799   * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed.
800   * style: You can set the style of the Badge component, including the text color, size, dot color, and size.
801   *
802   * @param { BadgeParamWithString } value
803   * @returns { BadgeAttribute }
804   * @syscap SystemCapability.ArkUI.ArkUI.Full
805   * @crossplatform
806   * @form
807   * @since 10
808   */
809  /**
810   * value: Text string of the prompt content.
811   * position: Set the display position of the prompt point.
812   * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed.
813   * style: You can set the style of the Badge component, including the text color, size, dot color, and size.
814   *
815   * @param { BadgeParamWithString } value
816   * @returns { BadgeAttribute }
817   * @syscap SystemCapability.ArkUI.ArkUI.Full
818   * @crossplatform
819   * @form
820   * @atomicservice
821   * @since 11
822   */
823  (value: BadgeParamWithString): BadgeAttribute;
824}
825
826/**
827 * Defines Badge Component attribute.
828 *
829 * @extends CommonMethod<BadgeAttribute>
830 * @syscap SystemCapability.ArkUI.ArkUI.Full
831 * @since 7
832 */
833/**
834 * Defines Badge Component attribute.
835 *
836 * @extends CommonMethod<BadgeAttribute>
837 * @syscap SystemCapability.ArkUI.ArkUI.Full
838 * @form
839 * @since 9
840 */
841/**
842 * Defines Badge Component attribute.
843 *
844 * @extends CommonMethod<BadgeAttribute>
845 * @syscap SystemCapability.ArkUI.ArkUI.Full
846 * @crossplatform
847 * @form
848 * @since 10
849 */
850/**
851 * Defines Badge Component attribute.
852 *
853 * @extends CommonMethod<BadgeAttribute>
854 * @syscap SystemCapability.ArkUI.ArkUI.Full
855 * @crossplatform
856 * @form
857 * @atomicservice
858 * @since 11
859 */
860declare class BadgeAttribute extends CommonMethod<BadgeAttribute> {}
861
862/**
863 * Defines Badge Component.
864 *
865 * @syscap SystemCapability.ArkUI.ArkUI.Full
866 * @since 7
867 */
868/**
869 * Defines Badge Component.
870 *
871 * @syscap SystemCapability.ArkUI.ArkUI.Full
872 * @form
873 * @since 9
874 */
875/**
876 * Defines Badge Component.
877 *
878 * @syscap SystemCapability.ArkUI.ArkUI.Full
879 * @crossplatform
880 * @form
881 * @since 10
882 */
883/**
884 * Defines Badge Component.
885 *
886 * @syscap SystemCapability.ArkUI.ArkUI.Full
887 * @crossplatform
888 * @form
889 * @atomicservice
890 * @since 11
891 */
892declare const Badge: BadgeInterface;
893
894/**
895 * Defines Badge Component instance.
896 *
897 * @syscap SystemCapability.ArkUI.ArkUI.Full
898 * @since 7
899 */
900/**
901 * Defines Badge Component instance.
902 *
903 * @syscap SystemCapability.ArkUI.ArkUI.Full
904 * @form
905 * @since 9
906 */
907/**
908 * Defines Badge Component instance.
909 *
910 * @syscap SystemCapability.ArkUI.ArkUI.Full
911 * @crossplatform
912 * @form
913 * @since 10
914 */
915/**
916 * Defines Badge Component instance.
917 *
918 * @syscap SystemCapability.ArkUI.ArkUI.Full
919 * @crossplatform
920 * @form
921 * @atomicservice
922 * @since 11
923 */
924declare const BadgeInstance: BadgeAttribute;
925