• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2022-2024 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 * function that returns item main size by index.
23 *
24 * @typedef { function } GetItemMainSizeByIndex
25 * @param { number } index - the index of FlowItem
26 * @returns { number } main size of the FlowItem at index
27 * @syscap SystemCapability.ArkUI.ArkUI.Full
28 * @crossplatform
29 * @atomicservice
30 * @since 12
31 */
32declare type GetItemMainSizeByIndex = (index: number) => number;
33
34/**
35 * Defines the water flow section options.
36 *
37 * @syscap SystemCapability.ArkUI.ArkUI.Full
38 * @crossplatform
39 * @atomicservice
40 * @since 12
41*/
42declare class SectionOptions {
43  /**
44   * The number of FlowItems in this section.
45   *
46   * @type { number } itemsCount - the number of FlowItems in this section
47   * @syscap SystemCapability.ArkUI.ArkUI.Full
48   * @crossplatform
49   * @atomicservice
50   * @since 12
51   */
52  itemsCount: number;
53
54  /**
55   * The columns of this section in vertical layout, or rows in horizontal layout.
56   *
57   * @type { ?number } crossCount - cross count of this section
58   * @default 1 one column in vertical layout, or one row in horizontal layout
59   * @syscap SystemCapability.ArkUI.ArkUI.Full
60   * @crossplatform
61   * @atomicservice
62   * @since 12
63   */
64  crossCount?: number;
65
66  /**
67   * Asks the developer for the main size in vp of the flow item with the specified index.
68   * The water flow layout uses the size measured after the flow item is created if not set.
69   *
70   * @type { ?GetItemMainSizeByIndex } onGetItemMainSizeByIndex - function that returns item main size by index
71   * @syscap SystemCapability.ArkUI.ArkUI.Full
72   * @crossplatform
73   * @atomicservice
74   * @since 12
75   */
76  onGetItemMainSizeByIndex?: GetItemMainSizeByIndex;
77
78  /**
79   * Set the spacing between columns of this section.
80   *
81   * @type { ?Dimension } columnsGap - column gap of this section
82   * same with columnsGap of WaterFlow if not set
83   * @syscap SystemCapability.ArkUI.ArkUI.Full
84   * @crossplatform
85   * @atomicservice
86   * @since 12
87   */
88  columnsGap?: Dimension;
89
90  /**
91   * Set the spacing between rows of this section.
92   *
93   * @type { ?Dimension } rowsGap - row gap of this section
94   * same with rowsGap of WaterFlow if not set
95   * @syscap SystemCapability.ArkUI.ArkUI.Full
96   * @crossplatform
97   * @atomicservice
98   * @since 12
99   */
100  rowsGap?: Dimension;
101
102  /**
103   * Outer margin of this section.
104   *
105   * @type { ?(Margin | Dimension) } margin - outer margin of this section
106   * @default {top: 0, right: 0, bottom: 0, left: 0}
107   * @syscap SystemCapability.ArkUI.ArkUI.Full
108   * @crossplatform
109   * @atomicservice
110   * @since 12
111   */
112  margin?: Margin | Dimension;
113}
114
115/**
116 * Indicates the sections of WaterFlow.
117 *
118 * @syscap SystemCapability.ArkUI.ArkUI.Full
119 * @crossplatform
120 * @atomicservice
121 * @since 12
122 */
123declare class WaterFlowSections {
124  /**
125   * Creates an instance of WaterFlowSections.
126   *
127   * @syscap SystemCapability.ArkUI.ArkUI.Full
128   * @crossplatform
129   * @atomicservice
130   * @since 12
131   */
132  constructor();
133
134  /**
135   * Changes sections in the WaterFlow by removing or replacing existing elements and/or adding new elements in place.
136   *
137   * @param { number } start - Zero-based index at which to start changing the sections.
138   * @param { number } [deleteCount] - Indicating the number of sections in the WaterFlow to remove from start.
139   * @param { Array<SectionOptions> } [sections] - The new sections to add to the WaterFlow, beginning from start.
140   * @returns { boolean } Whether the splice was successful.
141   * @syscap SystemCapability.ArkUI.ArkUI.Full
142   * @crossplatform
143   * @atomicservice
144   * @since 12
145   */
146  splice(start: number, deleteCount?: number, sections?: Array<SectionOptions>): boolean;
147
148  /**
149   * Pushes a new section to the end of WaterFlow.
150   *
151   * @param { SectionOptions } section - new section options.
152   * @returns { boolean } Whether the push was successful.
153   * @syscap SystemCapability.ArkUI.ArkUI.Full
154   * @crossplatform
155   * @atomicservice
156   * @since 12
157   */
158  push(section: SectionOptions): boolean;
159
160  /**
161   * Updates section at specified section index.
162   *
163   * @param { number } sectionIndex - index of section to be updated.
164   * @param { SectionOptions } section - new section options.
165   * @returns { boolean } Whether the update was successful.
166   * @syscap SystemCapability.ArkUI.ArkUI.Full
167   * @crossplatform
168   * @atomicservice
169   * @since 12
170   */
171  update(sectionIndex:number, section: SectionOptions): boolean;
172
173  /**
174   * Obtains all the section options in the WaterFlow.
175   *
176   * @returns { Array<SectionOptions> } Returns all the section options in the WaterFlow.
177   * @syscap SystemCapability.ArkUI.ArkUI.Full
178   * @crossplatform
179   * @atomicservice
180   * @since 12
181   */
182  values(): Array<SectionOptions>;
183
184  /**
185   * Obtains the section counts in the WaterFlow.
186   *
187   * @returns { number } Returns section counts in the WaterFlow.
188   * @syscap SystemCapability.ArkUI.ArkUI.Full
189   * @crossplatform
190   * @atomicservice
191   * @since 12
192   */
193  length(): number;
194}
195
196/**
197 * Declare layout modes of WaterFlow.
198 *
199 * @enum { number }
200 * @syscap SystemCapability.ArkUI.ArkUI.Full
201 * @crossplatform
202 * @atomicservice
203 * @since 12
204 */
205declare enum WaterFlowLayoutMode {
206  /**
207   * Top-down Layout mode. Positions of new items depend on items above.
208   *
209   * @syscap SystemCapability.ArkUI.ArkUI.Full
210   * @crossplatform
211   * @atomicservice
212   * @since 12
213   */
214  ALWAYS_TOP_DOWN = 0,
215
216  /**
217   * Sliding window mode. Only maintains layout information of items currently in viewport.
218   *
219   * @syscap SystemCapability.ArkUI.ArkUI.Full
220   * @crossplatform
221   * @atomicservice
222   * @since 12
223   */
224  SLIDING_WINDOW = 1,
225}
226
227/**
228 * Defines the water flow options.
229 *
230 * @interface WaterFlowOptions
231 * @syscap SystemCapability.ArkUI.ArkUI.Full
232 * @since 9
233 */
234/**
235 * Defines the water flow options.
236 *
237 * @interface WaterFlowOptions
238 * @syscap SystemCapability.ArkUI.ArkUI.Full
239 * @crossplatform
240 * @since 10
241 */
242/**
243 * Defines the water flow options.
244 *
245 * @interface WaterFlowOptions
246 * @syscap SystemCapability.ArkUI.ArkUI.Full
247 * @crossplatform
248 * @atomicservice
249 * @since 11
250 */
251declare interface WaterFlowOptions {
252  /**
253   * Describes the water flow footer.
254   *
255   * @type { ?CustomBuilder }
256   * @syscap SystemCapability.ArkUI.ArkUI.Full
257   * @since 9
258   */
259  /**
260   * Describes the water flow footer.
261   *
262   * @type { ?CustomBuilder }
263   * @syscap SystemCapability.ArkUI.ArkUI.Full
264   * @crossplatform
265   * @since 10
266   */
267  /**
268   * Describes the water flow footer.
269   *
270   * @type { ?CustomBuilder }
271   * @syscap SystemCapability.ArkUI.ArkUI.Full
272   * @crossplatform
273   * @atomicservice
274   * @since 11
275   */
276  footer?: CustomBuilder;
277
278  /**
279   * Describes the water flow footer.
280   *
281   * @type { ?ComponentContent }
282   * @syscap SystemCapability.ArkUI.ArkUI.Full
283   * @crossplatform
284   * @atomicservice
285   * @since 18
286   */
287  footerContent?: ComponentContent;
288
289  /**
290   * Describes the water flow scroller.
291   *
292   * @type { ?Scroller }
293   * @syscap SystemCapability.ArkUI.ArkUI.Full
294   * @since 9
295   */
296  /**
297   * Describes the water flow scroller.
298   *
299   * @type { ?Scroller }
300   * @syscap SystemCapability.ArkUI.ArkUI.Full
301   * @crossplatform
302   * @since 10
303   */
304  /**
305   * Describes the water flow scroller.
306   *
307   * @type { ?Scroller }
308   * @syscap SystemCapability.ArkUI.ArkUI.Full
309   * @crossplatform
310   * @atomicservice
311   * @since 11
312   */
313  scroller?: Scroller;
314
315  /**
316   * Describes the sections with different cross count that compose the water flow.
317   *
318   * @type { ?WaterFlowSections } sections - sections with different cross count
319   * @syscap SystemCapability.ArkUI.ArkUI.Full
320   * @crossplatform
321   * @atomicservice
322   * @since 12
323   */
324  sections?: WaterFlowSections;
325
326  /**
327   * Describes the layout mode.
328   *
329   * @type { ?WaterFlowLayoutMode }
330   * @syscap SystemCapability.ArkUI.ArkUI.Full
331   * @crossplatform
332   * @atomicservice
333   * @since 12
334   */
335  layoutMode?: WaterFlowLayoutMode;
336}
337
338/**
339 * Defines the water flow interface.
340 *
341 * @interface WaterFlowInterface
342 * @syscap SystemCapability.ArkUI.ArkUI.Full
343 * @since 9
344 */
345/**
346 * Defines the water flow interface.
347 *
348 * @interface WaterFlowInterface
349 * @syscap SystemCapability.ArkUI.ArkUI.Full
350 * @crossplatform
351 * @since 10
352 */
353/**
354 * Defines the water flow interface.
355 *
356 * @interface WaterFlowInterface
357 * @syscap SystemCapability.ArkUI.ArkUI.Full
358 * @crossplatform
359 * @atomicservice
360 * @since 11
361 */
362interface WaterFlowInterface {
363  /**
364   * WaterFlow is returned when the parameter is transferred. Only support api: scrollToIndex
365   *
366   * @param { WaterFlowOptions } options
367   * @returns { WaterFlowAttribute }
368   * @syscap SystemCapability.ArkUI.ArkUI.Full
369   * @since 9
370   */
371  /**
372   * WaterFlow is returned when the parameter is transferred. Only support api: scrollToIndex
373   *
374   * @param { WaterFlowOptions } options
375   * @returns { WaterFlowAttribute }
376   * @syscap SystemCapability.ArkUI.ArkUI.Full
377   * @crossplatform
378   * @since 10
379   */
380  /**
381   * WaterFlow is returned when the parameter is transferred. Only support api: scrollToIndex
382   *
383   * @param { WaterFlowOptions } options
384   * @returns { WaterFlowAttribute }
385   * @syscap SystemCapability.ArkUI.ArkUI.Full
386   * @crossplatform
387   * @atomicservice
388   * @since 11
389   */
390  (options?: WaterFlowOptions): WaterFlowAttribute;
391}
392
393/**
394 * Defines the water flow attribute.
395 *
396 * @extends CommonMethod<WaterFlowAttribute>
397 * @syscap SystemCapability.ArkUI.ArkUI.Full
398 * @since 9
399 */
400/**
401 * Defines the water flow attribute.
402 *
403 * @extends CommonMethod<WaterFlowAttribute>
404 * @syscap SystemCapability.ArkUI.ArkUI.Full
405 * @crossplatform
406 * @since 10
407 */
408/**
409 * Defines the water flow attribute.
410 *
411 * @extends ScrollableCommonMethod<WaterFlowAttribute>
412 * @syscap SystemCapability.ArkUI.ArkUI.Full
413 * @crossplatform
414 * @atomicservice
415 * @since 11
416 */
417declare class WaterFlowAttribute extends ScrollableCommonMethod<WaterFlowAttribute> {
418  /**
419   * This parameter specifies the number of columns in the current waterflow.
420   *
421   * @param { string } value
422   * @returns { WaterFlowAttribute }
423   * @syscap SystemCapability.ArkUI.ArkUI.Full
424   * @since 9
425   */
426  /**
427   * This parameter specifies the number of columns in the current waterflow.
428   *
429   * @param { string } value
430   * @returns { WaterFlowAttribute }
431   * @syscap SystemCapability.ArkUI.ArkUI.Full
432   * @crossplatform
433   * @since 10
434   */
435  /**
436   * This parameter specifies the number of columns in the current waterflow.
437   *
438   * @param { string } value
439   * @returns { WaterFlowAttribute }
440   * @syscap SystemCapability.ArkUI.ArkUI.Full
441   * @crossplatform
442   * @atomicservice
443   * @since 11
444   */
445  columnsTemplate(value: string): WaterFlowAttribute;
446
447  /**
448   * This parameter specifies the min or max size of each item.
449   *
450   * @param { ConstraintSizeOptions } value
451   * @returns { WaterFlowAttribute }
452   * @syscap SystemCapability.ArkUI.ArkUI.Full
453   * @since 9
454   */
455  /**
456   * This parameter specifies the min or max size of each item.
457   *
458   * @param { ConstraintSizeOptions } value
459   * @returns { WaterFlowAttribute }
460   * @syscap SystemCapability.ArkUI.ArkUI.Full
461   * @crossplatform
462   * @since 10
463   */
464  /**
465   * This parameter specifies the min or max size of each item.
466   *
467   * @param { ConstraintSizeOptions } value
468   * @returns { WaterFlowAttribute }
469   * @syscap SystemCapability.ArkUI.ArkUI.Full
470   * @crossplatform
471   * @atomicservice
472   * @since 11
473   */
474  itemConstraintSize(value: ConstraintSizeOptions): WaterFlowAttribute;
475
476  /**
477   * Set the number of rows in the current waterflow.
478   *
479   * @param { string } value
480   * @returns { WaterFlowAttribute }
481   * @syscap SystemCapability.ArkUI.ArkUI.Full
482   * @since 9
483   */
484  /**
485   * Set the number of rows in the current waterflow.
486   *
487   * @param { string } value
488   * @returns { WaterFlowAttribute }
489   * @syscap SystemCapability.ArkUI.ArkUI.Full
490   * @crossplatform
491   * @since 10
492   */
493  /**
494   * Set the number of rows in the current waterflow.
495   *
496   * @param { string } value
497   * @returns { WaterFlowAttribute }
498   * @syscap SystemCapability.ArkUI.ArkUI.Full
499   * @crossplatform
500   * @atomicservice
501   * @since 11
502   */
503  rowsTemplate(value: string): WaterFlowAttribute;
504
505  /**
506   * Set the spacing between columns.
507   *
508   * @param { Length } value
509   * @returns { WaterFlowAttribute }
510   * @syscap SystemCapability.ArkUI.ArkUI.Full
511   * @since 9
512   */
513  /**
514   * Set the spacing between columns.
515   *
516   * @param { Length } value
517   * @returns { WaterFlowAttribute }
518   * @syscap SystemCapability.ArkUI.ArkUI.Full
519   * @crossplatform
520   * @since 10
521   */
522  /**
523   * Set the spacing between columns.
524   *
525   * @param { Length } value
526   * @returns { WaterFlowAttribute }
527   * @syscap SystemCapability.ArkUI.ArkUI.Full
528   * @crossplatform
529   * @atomicservice
530   * @since 11
531   */
532  columnsGap(value: Length): WaterFlowAttribute;
533
534  /**
535   * Set the spacing between rows.
536   *
537   * @param { Length } value
538   * @returns { WaterFlowAttribute }
539   * @syscap SystemCapability.ArkUI.ArkUI.Full
540   * @since 9
541   */
542  /**
543   * Set the spacing between rows.
544   *
545   * @param { Length } value
546   * @returns { WaterFlowAttribute }
547   * @syscap SystemCapability.ArkUI.ArkUI.Full
548   * @crossplatform
549   * @since 10
550   */
551  /**
552   * Set the spacing between rows.
553   *
554   * @param { Length } value
555   * @returns { WaterFlowAttribute }
556   * @syscap SystemCapability.ArkUI.ArkUI.Full
557   * @crossplatform
558   * @atomicservice
559   * @since 11
560   */
561  rowsGap(value: Length): WaterFlowAttribute;
562
563  /**
564   * Control layout direction of the WaterFlow.
565   *
566   * @param { FlexDirection } value
567   * @returns { WaterFlowAttribute }
568   * @syscap SystemCapability.ArkUI.ArkUI.Full
569   * @since 9
570   */
571  /**
572   * Control layout direction of the WaterFlow.
573   *
574   * @param { FlexDirection } value
575   * @returns { WaterFlowAttribute }
576   * @syscap SystemCapability.ArkUI.ArkUI.Full
577   * @crossplatform
578   * @since 10
579   */
580  /**
581   * Control layout direction of the WaterFlow.
582   *
583   * @param { FlexDirection } value
584   * @returns { WaterFlowAttribute }
585   * @syscap SystemCapability.ArkUI.ArkUI.Full
586   * @crossplatform
587   * @atomicservice
588   * @since 11
589   */
590  layoutDirection(value: FlexDirection): WaterFlowAttribute;
591
592  /**
593   * Called to setting the nested scroll options.
594   *
595   * @param { NestedScrollOptions } value - options for nested scrolling.
596   * @returns { WaterFlowAttribute } the attribute of the water flow.
597   * @syscap SystemCapability.ArkUI.ArkUI.Full
598   * @since 10
599   */
600  /**
601   * Called to setting the nested scroll options.
602   *
603   * @param { NestedScrollOptions } value - options for nested scrolling.
604   * @returns { WaterFlowAttribute } the attribute of the water flow.
605   * @syscap SystemCapability.ArkUI.ArkUI.Full
606   * @crossplatform
607   * @atomicservice
608   * @since 11
609   */
610  nestedScroll(value: NestedScrollOptions): WaterFlowAttribute;
611
612  /**
613   * Called when setting whether to enable scroll by gesture or mouse.
614   * @param { boolean } value
615   * @returns { WaterFlowAttribute } The attribute of the waterflow
616   * @syscap SystemCapability.ArkUI.ArkUI.Full
617   * @crossplatform
618   * @since 10
619   */
620  /**
621   * Called when setting whether to enable scroll by gesture or mouse.
622   * @param { boolean } value
623   * @returns { WaterFlowAttribute } The attribute of the waterflow
624   * @syscap SystemCapability.ArkUI.ArkUI.Full
625   * @crossplatform
626   * @atomicservice
627   * @since 11
628   */
629  enableScrollInteraction(value: boolean): WaterFlowAttribute;
630
631  /**
632   * Called to setting the friction.
633   * @param { number | Resource } value - options for scrolling friction.
634   * @returns { WaterFlowAttribute } the attribute of the water flow.
635   * @syscap SystemCapability.ArkUI.ArkUI.Full
636   * @crossplatform
637   * @since 10
638   */
639  /**
640   * Called to setting the friction.
641   * @param { number | Resource } value - options for scrolling friction.
642   * @returns { WaterFlowAttribute } the attribute of the water flow.
643   * @syscap SystemCapability.ArkUI.ArkUI.Full
644   * @crossplatform
645   * @atomicservice
646   * @since 11
647   */
648  friction(value: number | Resource): WaterFlowAttribute;
649
650  /**
651   * Called to set number of flow items to be preloaded (cached) in LazyForEach.
652   * @param { number } value - number of flow items to be preloaded (cached).
653   * @returns { WaterFlowAttribute } the attribute of the water flow.
654   * @syscap SystemCapability.ArkUI.ArkUI.Full
655   * @crossplatform
656   * @since 11
657   */
658  /**
659   * Called to set number of flow items to be preloaded (cached) in LazyForEach.
660   * @param { number } value - number of flow items to be preloaded (cached).
661   * @returns { WaterFlowAttribute } the attribute of the water flow.
662   * @syscap SystemCapability.ArkUI.ArkUI.Full
663   * @crossplatform
664   * @atomicservice
665   * @since 12
666   */
667  cachedCount(value: number): WaterFlowAttribute;
668
669  /**
670   * Called to set number of flow items to be preloaded (cached) in LazyForEach / Repeat.
671   * @param { number } count - number of flow items to be preloaded (cached).
672   * @param { boolean } show - if true, cached items are displayed when clip is disabled.
673   * @returns { WaterFlowAttribute } the attribute of the water flow.
674   * @syscap SystemCapability.ArkUI.ArkUI.Full
675   * @crossplatform
676   * @atomicservice
677   * @since 14
678   */
679  cachedCount(count: number, show: boolean): WaterFlowAttribute;
680
681  /**
682   * Called when the water flow begins to arrive.
683   *
684   * @param { function } event
685   * @returns { WaterFlowAttribute }
686   * @syscap SystemCapability.ArkUI.ArkUI.Full
687   * @since 9
688   */
689  /**
690   * Called when the water flow begins to arrive.
691   *
692   * @param { function } event
693   * @returns { WaterFlowAttribute }
694   * @syscap SystemCapability.ArkUI.ArkUI.Full
695   * @crossplatform
696   * @since 10
697   */
698  /**
699   * Called when the water flow begins to arrive.
700   *
701   * @param { function } event
702   * @returns { WaterFlowAttribute }
703   * @syscap SystemCapability.ArkUI.ArkUI.Full
704   * @crossplatform
705   * @atomicservice
706   * @since 11
707   */
708  onReachStart(event: () => void): WaterFlowAttribute;
709
710  /**
711   * Called when the water flow reaches the end.
712   *
713   * @param { function } event
714   * @returns { WaterFlowAttribute }
715   * @syscap SystemCapability.ArkUI.ArkUI.Full
716   * @since 9
717   */
718  /**
719   * Called when the water flow reaches the end.
720   *
721   * @param { function } event
722   * @returns { WaterFlowAttribute }
723   * @syscap SystemCapability.ArkUI.ArkUI.Full
724   * @crossplatform
725   * @since 10
726   */
727  /**
728   * Called when the water flow reaches the end.
729   *
730   * @param { function } event
731   * @returns { WaterFlowAttribute }
732   * @syscap SystemCapability.ArkUI.ArkUI.Full
733   * @crossplatform
734   * @atomicservice
735   * @since 11
736   */
737  onReachEnd(event: () => void): WaterFlowAttribute;
738
739  /**
740   * Called when scrolling begin each frame.
741   *
742   * @param { function } event
743   * @returns { WaterFlowAttribute } the attribute of the water flow.
744   * @syscap SystemCapability.ArkUI.ArkUI.Full
745   * @crossplatform
746   * @since 10
747   */
748  /**
749   * Called when scrolling begin each frame.
750   *
751   * @param { function } event
752   * @returns { WaterFlowAttribute } the attribute of the water flow.
753   * @syscap SystemCapability.ArkUI.ArkUI.Full
754   * @crossplatform
755   * @atomicservice
756   * @since 11
757   */
758  onScrollFrameBegin(event: (offset: number, state: ScrollState) => { offsetRemain: number }): WaterFlowAttribute;
759
760  /**
761   * Called when the first or last item displayed in the waterflow changes.
762   *
763   * @param { function } event - Callback function, triggered when the first or last item
764   * displayed in the waterflow changes.
765   * "first": the index of the first item displayed in the waterflow,
766   * "last": the index of the last item displayed in the waterflow.
767   * @returns { WaterFlowAttribute } the attribute of the water flow.
768   * @syscap SystemCapability.ArkUI.ArkUI.Full
769   * @crossplatform
770   * @atomicservice
771   * @since 11
772   */
773  onScrollIndex(event: (first: number, last: number) => void): WaterFlowAttribute;
774}
775
776/**
777 * Defines WaterFlow Component.
778 *
779 * @syscap SystemCapability.ArkUI.ArkUI.Full
780 * @since 9
781 */
782/**
783 * Defines WaterFlow Component.
784 *
785 * @syscap SystemCapability.ArkUI.ArkUI.Full
786 * @crossplatform
787 * @since 10
788 */
789/**
790 * Defines WaterFlow Component.
791 *
792 * @syscap SystemCapability.ArkUI.ArkUI.Full
793 * @crossplatform
794 * @atomicservice
795 * @since 11
796 */
797declare const WaterFlow: WaterFlowInterface;
798
799/**
800 * Defines WaterFlow Component instance.
801 *
802 * @syscap SystemCapability.ArkUI.ArkUI.Full
803 * @since 9
804 */
805/**
806 * Defines WaterFlow Component instance.
807 *
808 * @syscap SystemCapability.ArkUI.ArkUI.Full
809 * @crossplatform
810 * @since 10
811 */
812/**
813 * Defines WaterFlow Component instance.
814 *
815 * @syscap SystemCapability.ArkUI.ArkUI.Full
816 * @crossplatform
817 * @atomicservice
818 * @since 11
819 */
820declare const WaterFlowInstance: WaterFlowAttribute;
821