/* * Copyright (c) 2021-2023 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * Declare scroll status * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Declare scroll status * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Declare scroll status * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum ScrollState { /** * Not activated. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Not activated. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Not activated. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Idle, /** * Scrolling status. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Scrolling status. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Scrolling status. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Scroll, /** * Drag status. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Drag status. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Drag status. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Fling, } /** * Declare list item alignment status * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Declare list item alignment status * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum ListItemAlign { /** * Start position in the direction of cross axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Start position in the direction of cross axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Start, /** * Center position in the direction of cross axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Center position in the direction of cross axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Center, /** * End position in the direction of cross axis * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * End position in the direction of cross axis * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ End, } /** * Declare item group sticky style. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Declare item group sticky style. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum StickyStyle { /** * The header and footer of each item group will not be pinned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * The header and footer of each item group will not be pinned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ None = 0, /** * The header of each item group will be pinned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * The header of each item group will be pinned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Header = 1, /** * The footer of each item group will be pinned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * The footer of each item group will be pinned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Footer = 2, } /** * Declare edge effect of chain animation. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 10 */ declare enum ChainEdgeEffect { /** * Default edge effect. Compress the space in the drag direction * and stretch the space in the opposite drag direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 10 */ DEFAULT, /** * Stretch all space. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 10 */ STRETCH, } /** * Declare limited position when scroll end. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ declare enum ScrollSnapAlign { /** * Default no item scroll snap alignment effect. When scroll end, * list item will stop without limit. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ NONE, /** * The first item in view will be aligned at the start of list. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ START, /** * The middle item in view will be aligned at the center of list. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ CENTER, /** * The last item in view will be aligned at the end of list. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ END, } /** * Defines the chain animation options. * * @interface ChainAnimationOptions * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 10 */ declare interface ChainAnimationOptions { /** * Minimum space for chain animation. * * @type { Length } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 10 */ minSpace: Length; /** * Maximum space for chain animation. * * @type { Length } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 10 */ maxSpace: Length; /** * Conductivity of chain animation. * * @type { ?number } * @default 0.7 * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 10 */ conductivity?: number; /** * Intensity of chain animation. * * @type { ?number } * @default 0.3 * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 10 */ intensity?: number; /** * Edge effect of chain animation. * * @type { ?ChainEdgeEffect } * @default ChainEdgeEffect.DEFAULT * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 10 */ edgeEffect?: ChainEdgeEffect; /** * Stiffness of chain spring. * * @type { ?number } * @default 228 * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 10 */ stiffness?: number; /** * Damping of chain spring. * * @type { ?number } * @default 30 * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 10 */ damping?: number; } /** * The list interface is extended. * * @interface ListInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The list interface is extended. * * @interface ListInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * The list interface is extended. * * @interface ListInterface * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ interface ListInterface { /** * Called when interface data is called. * * @param { object } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Called when interface data is called. * * @param { object } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when interface data is called. * * @param { object } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ (value?: { initialIndex?: number; space?: number | string; scroller?: Scroller }): ListAttribute; } /** * @extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * @extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * @extends CommonMethod * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare class ListAttribute extends CommonMethod { /** * Called when need to decide how much lanes the list will show. * * @param { number | LengthConstrain } value * @param { Dimension } gutter * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when need to decide how much lanes the list will show. * * @param { number | LengthConstrain } value * @param { Dimension } gutter * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ lanes(value: number | LengthConstrain, gutter?: Dimension): ListAttribute; /** * Called when need to decide how to align lanes in the direction of the cross axis. * * @param { ListItemAlign } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when need to decide how to align lanes in the direction of the cross axis. * * @param { ListItemAlign } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ alignListItem(value: ListItemAlign): ListAttribute; /** * Called when the arrangement direction of the list component is set. * * @param { Axis } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Called when the arrangement direction of the list component is set. * * @param { Axis } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when the arrangement direction of the list component is set. * * @param { Axis } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ listDirection(value: Axis): ListAttribute; /** * Called when the display mode of the side slider is set. * * @param { BarState } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Called when the display mode of the side slider is set. * * @param { BarState } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when the display mode of the side slider is set. * * @param { BarState } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ scrollBar(value: BarState): ListAttribute; /** * Called when the sliding effect is set. * * @param { EdgeEffect } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Called when the sliding effect is set. * * @param { EdgeEffect } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when the sliding effect is set. * * @param { EdgeEffect } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ edgeEffect(value: EdgeEffect): ListAttribute; /** * Called when the ListItem split line style is set. * * @param { object | null } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Called when the ListItem split line style is set. * * @param { {strokeWidth: Length;color?: ResourceColor;startMargin?: Length;endMargin?: Length;} | null } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when the ListItem split line style is set. * * @param { {strokeWidth: Length;color?: ResourceColor;startMargin?: Length;endMargin?: Length;} | null } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ divider( value: { strokeWidth: Length; color?: ResourceColor; startMargin?: Length; endMargin?: Length; } | null, ): ListAttribute; /** * Called when judging whether it is in editable mode. * * @param { boolean } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 * @deprecated since 9 */ editMode(value: boolean): ListAttribute; /** * Called when judging whether it is multiSelectable. * * @param { boolean } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Called when judging whether it is multiSelectable. * * @param { boolean } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when judging whether it is multiSelectable. * * @param { boolean } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ multiSelectable(value: boolean): ListAttribute; /** * Called when the minimum number of list item caches is set for long list deferred loading. * * @param { number } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Called when the minimum number of list item caches is set for long list deferred loading. * * @param { number } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when the minimum number of list item caches is set for long list deferred loading. * * @param { number } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ cachedCount(value: number): ListAttribute; /** * Called when setting whether to enable chain linkage dynamic effect. * * @param { boolean } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Called when setting whether to enable chain linkage dynamic effect. * * @param { boolean } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when setting whether to enable chain linkage dynamic effect. * * @param { boolean } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ chainAnimation(value: boolean): ListAttribute; /** * Called to setting chain linkage dynamic effect options. * * @param { ChainAnimationOptions } value - options of the chain animation. * @returns { ListAttribute } the attribute of the list. * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since 10 */ chainAnimationOptions(value: ChainAnimationOptions): ListAttribute; /** * Called when header or footer of item group will be pinned. * * @param { StickyStyle } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when header or footer of item group will be pinned. * * @param { StickyStyle } value * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ sticky(value: StickyStyle): ListAttribute; /** * Called to set list item scroll end alignment effect. * * @param { ScrollSnapAlign } value - options of the list alignment effect. * @returns { ListAttribute } the attribute of the list. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ scrollSnapAlign(value: ScrollSnapAlign): ListAttribute; /** * Called to setting the nested scroll options. * * @param { NestedScrollOptions } value - options for nested scrolling. * @returns { ListAttribute } the attribute of the list. * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ nestedScroll(value: NestedScrollOptions): ListAttribute; /** * Called when setting whether to enable scroll by gesture or mouse. * * @param { boolean } value * @returns { ListAttribute } The attribute of the list * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ enableScrollInteraction(value: boolean): ListAttribute; /** * Called to setting the friction. * * @param { number | Resource } value - options for scrolling friction. * @returns { ListAttribute } the attribute of the list. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ friction(value: number | Resource): ListAttribute; /** * Called when the offset and status callback of the slide are set. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Called when the offset and status callback of the slide are set. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when the offset and status callback of the slide are set. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ onScroll(event: (scrollOffset: number, scrollState: ScrollState) => void): ListAttribute; /** * Called when the start and end positions of the display change. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Called when the start and end positions of the display change. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when the start and end positions of the display change. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ onScrollIndex(event: (start: number, end: number, center: number) => void): ListAttribute; /** * Called when the list begins to arrive. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Called when the list begins to arrive. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when the list begins to arrive. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ onReachStart(event: () => void): ListAttribute; /** * Called when the list reaches the end. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Called when the list reaches the end. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when the list reaches the end. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ onReachEnd(event: () => void): ListAttribute; /** * Called when the slider start. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when the slider start. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ onScrollStart(event: () => void): ListAttribute; /** * Called when the slider stops. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Called when the slider stops. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when the slider stops. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ onScrollStop(event: () => void): ListAttribute; /** * Called when a list item is deleted. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 * @deprecated since 9 */ onItemDelete(event: (index: number) => boolean): ListAttribute; /** * Called when a list item is moved. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Called when a list item is moved. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ onItemMove(event: (from: number, to: number) => boolean): ListAttribute; /** * After a listener is bound, the component can be dragged. After the drag occurs, a callback is triggered. * (To be triggered, press and hold for 170 milliseconds (ms)) * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * After a listener is bound, the component can be dragged. After the drag occurs, a callback is triggered. * (To be triggered, press and hold for 170 milliseconds (ms)) * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ onItemDragStart(event: (event: ItemDragInfo, itemIndex: number) => ((() => any) | void)): ListAttribute; /** * After binding, a callback is triggered when the component is dragged to the range of the component. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * After binding, a callback is triggered when the component is dragged to the range of the component. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ onItemDragEnter(event: (event: ItemDragInfo) => void): ListAttribute; /** * After binding, a callback is triggered when the drag moves within the range of a placeable component. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * After binding, a callback is triggered when the drag moves within the range of a placeable component. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ onItemDragMove(event: (event: ItemDragInfo, itemIndex: number, insertIndex: number) => void): ListAttribute; /** * After binding, a callback is triggered when the component is dragged out of the component range. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * After binding, a callback is triggered when the component is dragged out of the component range. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ onItemDragLeave(event: (event: ItemDragInfo, itemIndex: number) => void): ListAttribute; /** * The component bound to this event can be used as the drag release target. * This callback is triggered when the drag behavior is stopped within the scope of the component. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * The component bound to this event can be used as the drag release target. * This callback is triggered when the drag behavior is stopped within the scope of the component. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ onItemDrop(event: (event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void): ListAttribute; /** * Called when scrolling begin each frame. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Called when scrolling begin each frame. * * @param { function } event * @returns { ListAttribute } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ onScrollFrameBegin(event: (offset: number, state: ScrollState) => { offsetRemain: number }): ListAttribute; } /** * Defines List Component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Defines List Component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Defines List Component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare const List: ListInterface; /** * Defines List Component instance. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Defines List Component instance. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Defines List Component instance. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare const ListInstance: ListAttribute;