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 * @interface BadgeParamWithNumber 502 * @syscap SystemCapability.ArkUI.ArkUI.Full 503 * @since 7 504 */ 505/** 506 * Defines the badge param with count and maxCount. 507 * 508 * @interface BadgeParamWithNumber 509 * @syscap SystemCapability.ArkUI.ArkUI.Full 510 * @form 511 * @since 9 512 */ 513/** 514 * Defines the badge param with count and maxCount. 515 * 516 * @interface BadgeParamWithNumber 517 * @syscap SystemCapability.ArkUI.ArkUI.Full 518 * @crossplatform 519 * @form 520 * @since 10 521 */ 522/** 523 * Defines the badge param with count and maxCount. 524 * 525 * @interface BadgeParamWithNumber 526 * @syscap SystemCapability.ArkUI.ArkUI.Full 527 * @crossplatform 528 * @form 529 * @atomicservice 530 * @since 11 531 */ 532declare interface BadgeParamWithNumber extends BadgeParam { 533 /** 534 * Set the number of reminder messages. 535 * 536 * @type { number } 537 * @syscap SystemCapability.ArkUI.ArkUI.Full 538 * @since 7 539 */ 540 /** 541 * Set the number of reminder messages. 542 * 543 * @type { number } 544 * @syscap SystemCapability.ArkUI.ArkUI.Full 545 * @form 546 * @since 9 547 */ 548 /** 549 * Set the number of reminder messages. 550 * 551 * @type { number } 552 * @syscap SystemCapability.ArkUI.ArkUI.Full 553 * @crossplatform 554 * @form 555 * @since 10 556 */ 557 /** 558 * Set the number of reminder messages. 559 * 560 * @type { number } 561 * @syscap SystemCapability.ArkUI.ArkUI.Full 562 * @crossplatform 563 * @form 564 * @atomicservice 565 * @since 11 566 */ 567 count: number; 568 569 /** 570 * Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 571 * 572 * @type { ?number } 573 * @syscap SystemCapability.ArkUI.ArkUI.Full 574 * @since 7 575 */ 576 /** 577 * Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 578 * 579 * @type { ?number } 580 * @syscap SystemCapability.ArkUI.ArkUI.Full 581 * @form 582 * @since 9 583 */ 584 /** 585 * Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 586 * 587 * @type { ?number } 588 * @syscap SystemCapability.ArkUI.ArkUI.Full 589 * @crossplatform 590 * @form 591 * @since 10 592 */ 593 /** 594 * Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 595 * 596 * @type { ?number } 597 * @syscap SystemCapability.ArkUI.ArkUI.Full 598 * @crossplatform 599 * @form 600 * @atomicservice 601 * @since 11 602 */ 603 maxCount?: number; 604} 605 606/** 607 * Defines the badge param with string value. 608 * 609 * @interface BadgeParamWithString 610 * @syscap SystemCapability.ArkUI.ArkUI.Full 611 * @since 7 612 */ 613/** 614 * Defines the badge param with string value. 615 * 616 * @interface BadgeParamWithString 617 * @syscap SystemCapability.ArkUI.ArkUI.Full 618 * @form 619 * @since 9 620 */ 621/** 622 * Defines the badge param with string value. 623 * 624 * @interface BadgeParamWithString 625 * @syscap SystemCapability.ArkUI.ArkUI.Full 626 * @crossplatform 627 * @form 628 * @since 10 629 */ 630/** 631 * Defines the badge param with string value. 632 * 633 * @interface BadgeParamWithString 634 * @syscap SystemCapability.ArkUI.ArkUI.Full 635 * @crossplatform 636 * @form 637 * @atomicservice 638 * @since 11 639 */ 640declare interface BadgeParamWithString extends BadgeParam { 641 /** 642 * Text string of the prompt content. 643 * 644 * @type { string } 645 * @syscap SystemCapability.ArkUI.ArkUI.Full 646 * @since 7 647 */ 648 /** 649 * Text string of the prompt content. 650 * 651 * @type { string } 652 * @syscap SystemCapability.ArkUI.ArkUI.Full 653 * @form 654 * @since 9 655 */ 656 /** 657 * Text string of the prompt content. 658 * 659 * @type { string } 660 * @syscap SystemCapability.ArkUI.ArkUI.Full 661 * @crossplatform 662 * @form 663 * @since 10 664 */ 665 /** 666 * Text string of the prompt content. 667 * 668 * @type { string } 669 * @syscap SystemCapability.ArkUI.ArkUI.Full 670 * @crossplatform 671 * @form 672 * @atomicservice 673 * @since 11 674 */ 675 value: string; 676} 677 678/** 679 * Defines Badge Component. 680 * 681 * @interface BadgeInterface 682 * @syscap SystemCapability.ArkUI.ArkUI.Full 683 * @since 7 684 */ 685/** 686 * Defines Badge Component. 687 * 688 * @interface BadgeInterface 689 * @syscap SystemCapability.ArkUI.ArkUI.Full 690 * @form 691 * @since 9 692 */ 693/** 694 * Defines Badge Component. 695 * 696 * @interface BadgeInterface 697 * @syscap SystemCapability.ArkUI.ArkUI.Full 698 * @crossplatform 699 * @form 700 * @since 10 701 */ 702/** 703 * Defines Badge Component. 704 * 705 * @interface BadgeInterface 706 * @syscap SystemCapability.ArkUI.ArkUI.Full 707 * @crossplatform 708 * @form 709 * @atomicservice 710 * @since 11 711 */ 712interface BadgeInterface { 713 /** 714 * position: Set the display position of the prompt point. 715 * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 716 * count: Set the number of reminder messages. 717 * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 718 * 719 * @param { BadgeParamWithNumber } value 720 * @returns { BadgeAttribute } 721 * @syscap SystemCapability.ArkUI.ArkUI.Full 722 * @since 7 723 */ 724 /** 725 * position: Set the display position of the prompt point. 726 * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 727 * count: Set the number of reminder messages. 728 * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 729 * 730 * @param { BadgeParamWithNumber } value 731 * @returns { BadgeAttribute } 732 * @syscap SystemCapability.ArkUI.ArkUI.Full 733 * @form 734 * @since 9 735 */ 736 /** 737 * position: Set the display position of the prompt point. 738 * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 739 * count: Set the number of reminder messages. 740 * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 741 * 742 * @param { BadgeParamWithNumber } value 743 * @returns { BadgeAttribute } 744 * @syscap SystemCapability.ArkUI.ArkUI.Full 745 * @crossplatform 746 * @form 747 * @since 10 748 */ 749 /** 750 * position: Set the display position of the prompt point. 751 * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 752 * count: Set the number of reminder messages. 753 * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 754 * 755 * @param { BadgeParamWithNumber } value 756 * @returns { BadgeAttribute } 757 * @syscap SystemCapability.ArkUI.ArkUI.Full 758 * @crossplatform 759 * @form 760 * @atomicservice 761 * @since 11 762 */ 763 (value: BadgeParamWithNumber): BadgeAttribute; 764 765 /** 766 * value: Text string of the prompt content. 767 * position: Set the display position of the prompt point. 768 * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 769 * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 770 * 771 * @param { BadgeParamWithString } value 772 * @returns { BadgeAttribute } 773 * @syscap SystemCapability.ArkUI.ArkUI.Full 774 * @since 7 775 */ 776 /** 777 * value: Text string of the prompt content. 778 * position: Set the display position of the prompt point. 779 * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 780 * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 781 * 782 * @param { BadgeParamWithString } value 783 * @returns { BadgeAttribute } 784 * @syscap SystemCapability.ArkUI.ArkUI.Full 785 * @form 786 * @since 9 787 */ 788 /** 789 * value: Text string of the prompt content. 790 * position: Set the display position of the prompt point. 791 * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 792 * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 793 * 794 * @param { BadgeParamWithString } value 795 * @returns { BadgeAttribute } 796 * @syscap SystemCapability.ArkUI.ArkUI.Full 797 * @crossplatform 798 * @form 799 * @since 10 800 */ 801 /** 802 * value: Text string of the prompt content. 803 * position: Set the display position of the prompt point. 804 * maxCount: Maximum number of messages. If the number of messages exceeds the maximum, only maxCount+ is displayed. 805 * style: You can set the style of the Badge component, including the text color, size, dot color, and size. 806 * 807 * @param { BadgeParamWithString } value 808 * @returns { BadgeAttribute } 809 * @syscap SystemCapability.ArkUI.ArkUI.Full 810 * @crossplatform 811 * @form 812 * @atomicservice 813 * @since 11 814 */ 815 (value: BadgeParamWithString): BadgeAttribute; 816} 817 818/** 819 * Defines Badge Component attribute. 820 * 821 * @extends CommonMethod<BadgeAttribute> 822 * @syscap SystemCapability.ArkUI.ArkUI.Full 823 * @since 7 824 */ 825/** 826 * Defines Badge Component attribute. 827 * 828 * @extends CommonMethod<BadgeAttribute> 829 * @syscap SystemCapability.ArkUI.ArkUI.Full 830 * @form 831 * @since 9 832 */ 833/** 834 * Defines Badge Component attribute. 835 * 836 * @extends CommonMethod<BadgeAttribute> 837 * @syscap SystemCapability.ArkUI.ArkUI.Full 838 * @crossplatform 839 * @form 840 * @since 10 841 */ 842/** 843 * Defines Badge Component attribute. 844 * 845 * @extends CommonMethod<BadgeAttribute> 846 * @syscap SystemCapability.ArkUI.ArkUI.Full 847 * @crossplatform 848 * @form 849 * @atomicservice 850 * @since 11 851 */ 852declare class BadgeAttribute extends CommonMethod<BadgeAttribute> {} 853 854/** 855 * Defines Badge Component. 856 * 857 * @syscap SystemCapability.ArkUI.ArkUI.Full 858 * @since 7 859 */ 860/** 861 * Defines Badge Component. 862 * 863 * @syscap SystemCapability.ArkUI.ArkUI.Full 864 * @form 865 * @since 9 866 */ 867/** 868 * Defines Badge Component. 869 * 870 * @syscap SystemCapability.ArkUI.ArkUI.Full 871 * @crossplatform 872 * @form 873 * @since 10 874 */ 875/** 876 * Defines Badge Component. 877 * 878 * @syscap SystemCapability.ArkUI.ArkUI.Full 879 * @crossplatform 880 * @form 881 * @atomicservice 882 * @since 11 883 */ 884declare const Badge: BadgeInterface; 885 886/** 887 * Defines Badge Component instance. 888 * 889 * @syscap SystemCapability.ArkUI.ArkUI.Full 890 * @since 7 891 */ 892/** 893 * Defines Badge Component instance. 894 * 895 * @syscap SystemCapability.ArkUI.ArkUI.Full 896 * @form 897 * @since 9 898 */ 899/** 900 * Defines Badge Component instance. 901 * 902 * @syscap SystemCapability.ArkUI.ArkUI.Full 903 * @crossplatform 904 * @form 905 * @since 10 906 */ 907/** 908 * Defines Badge Component instance. 909 * 910 * @syscap SystemCapability.ArkUI.ArkUI.Full 911 * @crossplatform 912 * @form 913 * @atomicservice 914 * @since 11 915 */ 916declare const BadgeInstance: BadgeAttribute; 917