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 * Declare item ceiling attribute. 23 * 24 * @enum { number } 25 * @syscap SystemCapability.ArkUI.ArkUI.Full 26 * @since 7 27 * @deprecated since 9 28 * @useinstead list/StickyStyle 29 */ 30declare enum Sticky { 31 /** 32 * No sticky. 33 * 34 * @syscap SystemCapability.ArkUI.ArkUI.Full 35 * @since 7 36 * @deprecated since 9 37 */ 38 None, 39 40 /** 41 * Normal mode 42 * 43 * @syscap SystemCapability.ArkUI.ArkUI.Full 44 * @since 7 45 * @deprecated since 9 46 */ 47 Normal, 48 49 /** 50 * Set opacity. 51 * 52 * @syscap SystemCapability.ArkUI.ArkUI.Full 53 * @since 7 54 * @deprecated since 9 55 */ 56 Opacity, 57} 58 59/** 60 * Declare whether the ListItem element is editable. 61 * 62 * @enum { number } 63 * @syscap SystemCapability.ArkUI.ArkUI.Full 64 * @since 7 65 * @deprecated since 9 66 */ 67declare enum EditMode { 68 /** 69 * Unrestricted operations. 70 * 71 * @syscap SystemCapability.ArkUI.ArkUI.Full 72 * @since 7 73 * @deprecated since 9 74 */ 75 None, 76 77 /** 78 * Deletable. 79 * 80 * @syscap SystemCapability.ArkUI.ArkUI.Full 81 * @since 7 82 * @deprecated since 9 83 */ 84 Deletable, 85 86 /** 87 * Movable. 88 * 89 * @syscap SystemCapability.ArkUI.ArkUI.Full 90 * @since 7 91 * @deprecated since 9 92 */ 93 Movable, 94} 95 96/** 97 * Sliding effect 98 * 99 * @enum { number } 100 * @syscap SystemCapability.ArkUI.ArkUI.Full 101 * @since 9 102 */ 103/** 104 * Sliding effect 105 * 106 * @enum { number } 107 * @syscap SystemCapability.ArkUI.ArkUI.Full 108 * @crossplatform 109 * @since 10 110 */ 111/** 112 * Sliding effect 113 * 114 * @enum { number } 115 * @syscap SystemCapability.ArkUI.ArkUI.Full 116 * @crossplatform 117 * @atomicservice 118 * @since 11 119 */ 120declare enum SwipeEdgeEffect { 121 /** 122 * Elastic physical action, sliding to the edge can continue to slide for a distance based on the initial speed or touch event, and spring back when released. 123 * 124 * @syscap SystemCapability.ArkUI.ArkUI.Full 125 * @since 9 126 */ 127 /** 128 * Elastic physical action, sliding to the edge can continue to slide for a distance based on the initial speed or touch event, and spring back when released. 129 * 130 * @syscap SystemCapability.ArkUI.ArkUI.Full 131 * @crossplatform 132 * @since 10 133 */ 134 /** 135 * Elastic physical action, sliding to the edge can continue to slide for a distance based on the initial speed or touch event, and spring back when released. 136 * 137 * @syscap SystemCapability.ArkUI.ArkUI.Full 138 * @crossplatform 139 * @atomicservice 140 * @since 11 141 */ 142 Spring, 143 144 /** 145 * Sliding to the edge has no effect. 146 * 147 * @syscap SystemCapability.ArkUI.ArkUI.Full 148 * @since 9 149 */ 150 /** 151 * Sliding to the edge has no effect. 152 * 153 * @syscap SystemCapability.ArkUI.ArkUI.Full 154 * @crossplatform 155 * @since 10 156 */ 157 /** 158 * Sliding to the edge has no effect. 159 * 160 * @syscap SystemCapability.ArkUI.ArkUI.Full 161 * @crossplatform 162 * @atomicservice 163 * @since 11 164 */ 165 None, 166} 167 168/** 169 * Declare enum SwipeActionState. 170 * 171 * @enum { number } 172 * @syscap SystemCapability.ArkUI.ArkUI.Full 173 * @crossplatform 174 * @since 11 175 */ 176/** 177 * Declare enum SwipeActionState. 178 * 179 * @enum { number } 180 * @syscap SystemCapability.ArkUI.ArkUI.Full 181 * @crossplatform 182 * @atomicservice 183 * @since 12 184 */ 185declare enum SwipeActionState { 186 /** 187 * Collapsed type. 188 * 189 * @syscap SystemCapability.ArkUI.ArkUI.Full 190 * @since 11 191 */ 192 /** 193 * Collapsed type. 194 * 195 * @syscap SystemCapability.ArkUI.ArkUI.Full 196 * @atomicservice 197 * @since 12 198 */ 199 COLLAPSED, 200 201 /** 202 * EXPANDED type. 203 * 204 * @syscap SystemCapability.ArkUI.ArkUI.Full 205 * @since 11 206 */ 207 /** 208 * EXPANDED type. 209 * 210 * @syscap SystemCapability.ArkUI.ArkUI.Full 211 * @atomicservice 212 * @since 12 213 */ 214 EXPANDED, 215 216 /** 217 * Action type. 218 * 219 * @syscap SystemCapability.ArkUI.ArkUI.Full 220 * @since 11 221 */ 222 /** 223 * Action type. 224 * 225 * @syscap SystemCapability.ArkUI.ArkUI.Full 226 * @atomicservice 227 * @since 12 228 */ 229 ACTIONING, 230} 231 232/** 233 * Defines the swipe action item for SwipeActionOptions. 234 * 235 * @interface SwipeActionItem 236 * @syscap SystemCapability.ArkUI.ArkUI.Full 237 * @since 10 238 */ 239/** 240 * Defines the swipe action item for SwipeActionOptions. 241 * 242 * @interface SwipeActionItem 243 * @syscap SystemCapability.ArkUI.ArkUI.Full 244 * @crossplatform 245 * @atomicservice 246 * @since 11 247 */ 248declare interface SwipeActionItem { 249 /** 250 * An action item that appears when a list item slides right (when list direction is Vertical) or 251 * slides down (when list direction Horizontal). 252 * 253 * @type { ?CustomBuilder } 254 * @syscap SystemCapability.ArkUI.ArkUI.Full 255 * @since 10 256 */ 257 /** 258 * An action item that appears when a list item slides right (when list direction is Vertical) or 259 * slides down (when list direction Horizontal). 260 * 261 * @type { ?CustomBuilder } 262 * @syscap SystemCapability.ArkUI.ArkUI.Full 263 * @crossplatform 264 * @atomicservice 265 * @since 11 266 */ 267 builder?: CustomBuilder; 268 269 /** 270 * Defines distance for the delete area. 271 * 272 * @type { ?Length } 273 * @default 56vp 274 * @syscap SystemCapability.ArkUI.ArkUI.Full 275 * @since 10 276 */ 277 /** 278 * Defines distance for the delete area. 279 * 280 * @type { ?Length } 281 * @default 56vp 282 * @syscap SystemCapability.ArkUI.ArkUI.Full 283 * @crossplatform 284 * @atomicservice 285 * @since 11 286 */ 287 actionAreaDistance?: Length; 288 289 /** 290 * Called when ListItem need to be deleted. 291 * 292 * @type { ?function } 293 * @syscap SystemCapability.ArkUI.ArkUI.Full 294 * @since 10 295 */ 296 /** 297 * Called when ListItem need to be deleted. 298 * 299 * @type { ?function } 300 * @syscap SystemCapability.ArkUI.ArkUI.Full 301 * @crossplatform 302 * @atomicservice 303 * @since 11 304 */ 305 onAction?: () => void; 306 307 /** 308 * Called when swipe entry delete area. 309 * 310 * @type { ?function } 311 * @syscap SystemCapability.ArkUI.ArkUI.Full 312 * @since 10 313 */ 314 /** 315 * Called when swipe entry delete area. 316 * 317 * @type { ?function } 318 * @syscap SystemCapability.ArkUI.ArkUI.Full 319 * @crossplatform 320 * @atomicservice 321 * @since 11 322 */ 323 onEnterActionArea?: () => void; 324 325 /** 326 * Called when swipe exit delete area. 327 * 328 * @type { ?function } 329 * @syscap SystemCapability.ArkUI.ArkUI.Full 330 * @since 10 331 */ 332 /** 333 * Called when swipe exit delete area. 334 * 335 * @type { ?function } 336 * @syscap SystemCapability.ArkUI.ArkUI.Full 337 * @crossplatform 338 * @atomicservice 339 * @since 11 340 */ 341 onExitActionArea?: () => void; 342 343 /** 344 * Called when component swipe action state changed. 345 * 346 * @type { ?function } 347 * @syscap SystemCapability.ArkUI.ArkUI.Full 348 * @crossplatform 349 * @since 11 350 */ 351 /** 352 * Called when component swipe action state changed. 353 * 354 * @type { ?function } 355 * @syscap SystemCapability.ArkUI.ArkUI.Full 356 * @crossplatform 357 * @atomicservice 358 * @since 12 359 */ 360 onStateChange?: (state: SwipeActionState) => void; 361} 362 363/** 364 * Defines the SwipeActionOption of swipeAction attribute method. 365 * 366 * @interface SwipeActionOptions 367 * @syscap SystemCapability.ArkUI.ArkUI.Full 368 * @since 9 369 */ 370/** 371 * Defines the SwipeActionOption of swipeAction attribute method. 372 * 373 * @interface SwipeActionOptions 374 * @syscap SystemCapability.ArkUI.ArkUI.Full 375 * @crossplatform 376 * @since 10 377 */ 378/** 379 * Defines the SwipeActionOption of swipeAction attribute method. 380 * 381 * @interface SwipeActionOptions 382 * @syscap SystemCapability.ArkUI.ArkUI.Full 383 * @crossplatform 384 * @atomicservice 385 * @since 11 386 */ 387declare interface SwipeActionOptions { 388 /** 389 * An action item that appears when a list item slides right (when list direction is Vertical) or 390 * slides down (when list direction Horizontal). 391 * 392 * @type { ?(CustomBuilder | SwipeActionItem) } 393 * @syscap SystemCapability.ArkUI.ArkUI.Full 394 * @since 9 395 */ 396 /** 397 * An action item that appears when a list item slides right (when list direction is Vertical) or 398 * slides down (when list direction Horizontal). 399 * 400 * @type { ?(CustomBuilder | SwipeActionItem) } 401 * @syscap SystemCapability.ArkUI.ArkUI.Full 402 * @crossplatform 403 * @since 10 404 */ 405 /** 406 * An action item that appears when a list item slides right (when list direction is Vertical) or 407 * slides down (when list direction Horizontal). 408 * 409 * @type { ?(CustomBuilder | SwipeActionItem) } 410 * @syscap SystemCapability.ArkUI.ArkUI.Full 411 * @crossplatform 412 * @atomicservice 413 * @since 11 414 */ 415 start?: CustomBuilder | SwipeActionItem; 416 417 /** 418 * An action item that appears when a list item slides left (when list direction is Vertical) or 419 * slides up (when list direction Horizontal). 420 * 421 * @type { ?(CustomBuilder | SwipeActionItem) } 422 * @syscap SystemCapability.ArkUI.ArkUI.Full 423 * @since 9 424 */ 425 /** 426 * An action item that appears when a list item slides left (when list direction is Vertical) or 427 * slides up (when list direction Horizontal). 428 * 429 * @type { ?(CustomBuilder | SwipeActionItem) } 430 * @syscap SystemCapability.ArkUI.ArkUI.Full 431 * @crossplatform 432 * @since 10 433 */ 434 /** 435 * An action item that appears when a list item slides left (when list direction is Vertical) or 436 * slides up (when list direction Horizontal). 437 * 438 * @type { ?(CustomBuilder | SwipeActionItem) } 439 * @syscap SystemCapability.ArkUI.ArkUI.Full 440 * @crossplatform 441 * @atomicservice 442 * @since 11 443 */ 444 end?: CustomBuilder | SwipeActionItem; 445 446 /** 447 * Sets whether sliding to a boundary has a spring effect. 448 * 449 * @type { ?SwipeEdgeEffect } 450 * @syscap SystemCapability.ArkUI.ArkUI.Full 451 * @since 9 452 */ 453 /** 454 * Sets whether sliding to a boundary has a spring effect. 455 * 456 * @type { ?SwipeEdgeEffect } 457 * @syscap SystemCapability.ArkUI.ArkUI.Full 458 * @crossplatform 459 * @since 10 460 */ 461 /** 462 * Sets whether sliding to a boundary has a spring effect. 463 * 464 * @type { ?SwipeEdgeEffect } 465 * @syscap SystemCapability.ArkUI.ArkUI.Full 466 * @crossplatform 467 * @atomicservice 468 * @since 11 469 */ 470 edgeEffect?: SwipeEdgeEffect; 471 472 /** 473 * Called when swipe action offset changed. 474 * 475 * @type { ?function } 476 * @syscap SystemCapability.ArkUI.ArkUI.Full 477 * @crossplatform 478 * @since 11 479 */ 480 /** 481 * Called when swipe action offset changed. 482 * 483 * @type { ?function } 484 * @syscap SystemCapability.ArkUI.ArkUI.Full 485 * @crossplatform 486 * @atomicservice 487 * @since 12 488 */ 489 onOffsetChange?: (offset: number) => void; 490} 491 492/** 493 * Defines the list item style. 494 * 495 * @enum { number } 496 * @syscap SystemCapability.ArkUI.ArkUI.Full 497 * @since 10 498 */ 499/** 500 * Defines the list item style. 501 * 502 * @enum { number } 503 * @syscap SystemCapability.ArkUI.ArkUI.Full 504 * @crossplatform 505 * @atomicservice 506 * @since 11 507 */ 508declare enum ListItemStyle { 509 /** 510 * Show custom style. 511 * 512 * @syscap SystemCapability.ArkUI.ArkUI.Full 513 * @since 10 514 */ 515 /** 516 * Show custom style. 517 * 518 * @syscap SystemCapability.ArkUI.ArkUI.Full 519 * @crossplatform 520 * @atomicservice 521 * @since 11 522 */ 523 NONE = 0, 524 525 /** 526 * Show default style. 527 * 528 * @syscap SystemCapability.ArkUI.ArkUI.Full 529 * @since 10 530 */ 531 /** 532 * Show default style. 533 * 534 * @syscap SystemCapability.ArkUI.ArkUI.Full 535 * @crossplatform 536 * @atomicservice 537 * @since 11 538 */ 539 CARD = 1, 540} 541 542/** 543 * Defines the list item options. 544 * 545 * @interface ListItemOptions 546 * @syscap SystemCapability.ArkUI.ArkUI.Full 547 * @since 10 548 */ 549/** 550 * Defines the list item options. 551 * 552 * @interface ListItemOptions 553 * @syscap SystemCapability.ArkUI.ArkUI.Full 554 * @crossplatform 555 * @atomicservice 556 * @since 11 557 */ 558declare interface ListItemOptions { 559 /** 560 * Describes the ListItem style. 561 * 562 * @type { ?ListItemStyle } 563 * @syscap SystemCapability.ArkUI.ArkUI.Full 564 * @since 10 565 */ 566 /** 567 * Describes the ListItem style. 568 * 569 * @type { ?ListItemStyle } 570 * @syscap SystemCapability.ArkUI.ArkUI.Full 571 * @crossplatform 572 * @atomicservice 573 * @since 11 574 */ 575 style?: ListItemStyle; 576} 577 578/** 579 * Values in the list 580 * 581 * @interface ListItemInterface 582 * @syscap SystemCapability.ArkUI.ArkUI.Full 583 * @since 7 584 */ 585/** 586 * Values in the list 587 * 588 * @interface ListItemInterface 589 * @syscap SystemCapability.ArkUI.ArkUI.Full 590 * @form 591 * @since 9 592 */ 593/** 594 * Values in the list 595 * 596 * @interface ListItemInterface 597 * @syscap SystemCapability.ArkUI.ArkUI.Full 598 * @crossplatform 599 * @form 600 * @since 10 601 */ 602/** 603 * Values in the list 604 * 605 * @interface ListItemInterface 606 * @syscap SystemCapability.ArkUI.ArkUI.Full 607 * @crossplatform 608 * @form 609 * @atomicservice 610 * @since 11 611 */ 612interface ListItemInterface { 613 /** 614 * Called when an interface is used. 615 * 616 * @param { ListItemOptions } value 617 * @returns { ListItemAttribute } 618 * @syscap SystemCapability.ArkUI.ArkUI.Full 619 * @crossplatform 620 * @form 621 * @since 10 622 */ 623 /** 624 * Called when an interface is used. 625 * 626 * @param { ListItemOptions } value 627 * @returns { ListItemAttribute } 628 * @syscap SystemCapability.ArkUI.ArkUI.Full 629 * @crossplatform 630 * @form 631 * @atomicservice 632 * @since 11 633 */ 634 (value?: ListItemOptions): ListItemAttribute; 635 636 /** 637 * Called when an interface is used. 638 * 639 * @param { string } value 640 * @returns { ListItemAttribute } 641 * @syscap SystemCapability.ArkUI.ArkUI.Full 642 * @since 7 643 */ 644 /** 645 * Called when an interface is used. 646 * 647 * @param { string } value 648 * @returns { ListItemAttribute } 649 * @syscap SystemCapability.ArkUI.ArkUI.Full 650 * @form 651 * @since 9 652 * @deprecated since 10 653 * @useinstead listItem/ListItemInterface 654 */ 655 (value?: string): ListItemAttribute; 656} 657 658/** 659 * @extends CommonMethod<ListItemAttribute> 660 * @syscap SystemCapability.ArkUI.ArkUI.Full 661 * @since 7 662 */ 663/** 664 * @extends CommonMethod<ListItemAttribute> 665 * @syscap SystemCapability.ArkUI.ArkUI.Full 666 * @form 667 * @since 9 668 */ 669/** 670 * @extends CommonMethod<ListItemAttribute> 671 * @syscap SystemCapability.ArkUI.ArkUI.Full 672 * @crossplatform 673 * @form 674 * @since 10 675 */ 676/** 677 * @extends CommonMethod<ListItemAttribute> 678 * @syscap SystemCapability.ArkUI.ArkUI.Full 679 * @crossplatform 680 * @form 681 * @atomicservice 682 * @since 11 683 */ 684declare class ListItemAttribute extends CommonMethod<ListItemAttribute> { 685 /** 686 * Called when setting whether item is ceiling effect. 687 * 688 * @param { Sticky } value 689 * @returns { ListItemAttribute } 690 * @syscap SystemCapability.ArkUI.ArkUI.Full 691 * @since 7 692 * @deprecated since 9 693 * @useinstead list/List#sticky 694 */ 695 sticky(value: Sticky): ListItemAttribute; 696 697 /** 698 * Called when judging whether it is editable. 699 * 700 * @param { boolean | EditMode } value 701 * @returns { ListItemAttribute } 702 * @syscap SystemCapability.ArkUI.ArkUI.Full 703 * @since 7 704 * @deprecated since 9 705 */ 706 editable(value: boolean | EditMode): ListItemAttribute; 707 708 /** 709 * Called when judging whether it is selectable. 710 * 711 * @param { boolean } value 712 * @returns { ListItemAttribute } 713 * @syscap SystemCapability.ArkUI.ArkUI.Full 714 * @since 8 715 */ 716 /** 717 * Called when judging whether it is selectable. 718 * 719 * @param { boolean } value 720 * @returns { ListItemAttribute } 721 * @syscap SystemCapability.ArkUI.ArkUI.Full 722 * @form 723 * @since 9 724 */ 725 /** 726 * Called when judging whether it is selectable. 727 * 728 * @param { boolean } value 729 * @returns { ListItemAttribute } 730 * @syscap SystemCapability.ArkUI.ArkUI.Full 731 * @crossplatform 732 * @form 733 * @since 10 734 */ 735 /** 736 * Called when judging whether it is selectable. 737 * 738 * @param { boolean } value 739 * @returns { ListItemAttribute } 740 * @syscap SystemCapability.ArkUI.ArkUI.Full 741 * @crossplatform 742 * @form 743 * @atomicservice 744 * @since 11 745 */ 746 selectable(value: boolean): ListItemAttribute; 747 748 /** 749 * Called when judging whether it is selected. 750 * This parameter supports $$ for two-way binding of variables. 751 * 752 * @param { boolean } value - if the listItem is selected. 753 * @returns { ListItemAttribute } the attribute of the listItem. 754 * @syscap SystemCapability.ArkUI.ArkUI.Full 755 * @crossplatform 756 * @form 757 * @since 10 758 */ 759 /** 760 * Called when judging whether it is selected. 761 * This parameter supports $$ for two-way binding of variables. 762 * 763 * @param { boolean } value - if the listItem is selected. 764 * @returns { ListItemAttribute } the attribute of the listItem. 765 * @syscap SystemCapability.ArkUI.ArkUI.Full 766 * @crossplatform 767 * @form 768 * @atomicservice 769 * @since 11 770 */ 771 selected(value: boolean): ListItemAttribute; 772 773 /** 774 * Sets the action item that appears when the list item slides in the cross axis direction of the list. 775 * 776 * @param { SwipeActionOptions } value - items defines in the SwipeActionOption. 777 * @returns { ListItemAttribute } 778 * @syscap SystemCapability.ArkUI.ArkUI.Full 779 * @since 9 780 */ 781 /** 782 * Sets the action item that appears when the list item slides in the cross axis direction of the list. 783 * 784 * @param { SwipeActionOptions } value - items defines in the SwipeActionOption. 785 * @returns { ListItemAttribute } 786 * @syscap SystemCapability.ArkUI.ArkUI.Full 787 * @crossplatform 788 * @since 10 789 */ 790 /** 791 * Sets the action item that appears when the list item slides in the cross axis direction of the list. 792 * 793 * @param { SwipeActionOptions } value - items defines in the SwipeActionOption. 794 * @returns { ListItemAttribute } 795 * @syscap SystemCapability.ArkUI.ArkUI.Full 796 * @crossplatform 797 * @atomicservice 798 * @since 11 799 */ 800 swipeAction(value: SwipeActionOptions): ListItemAttribute; 801 802 /** 803 * Called when the listItem is selected. 804 * 805 * @param { function } event 806 * @returns { ListItemAttribute } 807 * @syscap SystemCapability.ArkUI.ArkUI.Full 808 * @since 8 809 */ 810 /** 811 * Called when the listItem is selected. 812 * 813 * @param { function } event 814 * @returns { ListItemAttribute } 815 * @syscap SystemCapability.ArkUI.ArkUI.Full 816 * @form 817 * @since 9 818 */ 819 /** 820 * Called when the listItem is selected. 821 * 822 * @param { function } event 823 * @returns { ListItemAttribute } 824 * @syscap SystemCapability.ArkUI.ArkUI.Full 825 * @crossplatform 826 * @form 827 * @since 10 828 */ 829 /** 830 * Called when the listItem is selected. 831 * 832 * @param { function } event 833 * @returns { ListItemAttribute } 834 * @syscap SystemCapability.ArkUI.ArkUI.Full 835 * @crossplatform 836 * @form 837 * @atomicservice 838 * @since 11 839 */ 840 onSelect(event: (isSelected: boolean) => void): ListItemAttribute; 841} 842 843/** 844 * Defines ListItem Component instance. 845 * 846 * @syscap SystemCapability.ArkUI.ArkUI.Full 847 * @since 7 848 */ 849/** 850 * Defines ListItem Component instance. 851 * 852 * @syscap SystemCapability.ArkUI.ArkUI.Full 853 * @form 854 * @since 9 855 */ 856/** 857 * Defines ListItem Component instance. 858 * 859 * @syscap SystemCapability.ArkUI.ArkUI.Full 860 * @crossplatform 861 * @form 862 * @since 10 863 */ 864/** 865 * Defines ListItem Component instance. 866 * 867 * @syscap SystemCapability.ArkUI.ArkUI.Full 868 * @crossplatform 869 * @form 870 * @atomicservice 871 * @since 11 872 */ 873declare const ListItemInstance: ListItemAttribute; 874 875/** 876 * Defines ListItem Component. 877 * 878 * @syscap SystemCapability.ArkUI.ArkUI.Full 879 * @since 7 880 */ 881/** 882 * Defines ListItem Component. 883 * 884 * @syscap SystemCapability.ArkUI.ArkUI.Full 885 * @form 886 * @since 9 887 */ 888/** 889 * Defines ListItem Component. 890 * 891 * @syscap SystemCapability.ArkUI.ArkUI.Full 892 * @crossplatform 893 * @form 894 * @since 10 895 */ 896/** 897 * Defines ListItem Component. 898 * 899 * @syscap SystemCapability.ArkUI.ArkUI.Full 900 * @crossplatform 901 * @form 902 * @atomicservice 903 * @since 11 904 */ 905declare const ListItem: ListItemInterface; 906 907