• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 2022-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/*** if arkts 1.2 */
22import { ItemAlign } from './enums';
23import { CommonMethod } from './common';
24import { Length } from './units';
25/*** endif */
26
27/**
28 * Defines the option in length unit of grid-row component.
29 *
30 * @interface GridRowSizeOption
31 * @syscap SystemCapability.ArkUI.ArkUI.Full
32 * @form
33 * @since 9
34 */
35/**
36 * Defines the option in length unit of grid-row component.
37 *
38 * @interface GridRowSizeOption
39 * @syscap SystemCapability.ArkUI.ArkUI.Full
40 * @crossplatform
41 * @form
42 * @since 10
43 */
44/**
45 * Defines the option in length unit of grid-row component.
46 *
47 * @interface GridRowSizeOption
48 * @syscap SystemCapability.ArkUI.ArkUI.Full
49 * @crossplatform
50 * @form
51 * @atomicservice
52 * @since arkts {'1.1':'11','1.2':'20'}
53 * @arkts 1.1&1.2
54 */
55declare interface GridRowSizeOption {
56  /**
57   * Grid Row Size Option xs, select xs gutter size based on gridRow current breakpoint
58   *
59   * @type { ?Length }
60   * @syscap SystemCapability.ArkUI.ArkUI.Full
61   * @form
62   * @since 9
63   */
64  /**
65   * Grid Row Size Option xs, select xs gutter size based on gridRow current breakpoint
66   *
67   * @type { ?Length }
68   * @syscap SystemCapability.ArkUI.ArkUI.Full
69   * @crossplatform
70   * @form
71   * @since 10
72   */
73  /**
74   * Grid Row Size Option xs, select xs gutter size based on gridRow current breakpoint
75   *
76   * @type { ?Length }
77   * @syscap SystemCapability.ArkUI.ArkUI.Full
78   * @crossplatform
79   * @form
80   * @atomicservice
81   * @since arkts {'1.1':'11','1.2':'20'}
82   * @arkts 1.1&1.2
83   */
84  xs?: Length,
85
86  /**
87   * Grid Row Size Option sm, select sm gutter size based on gridRow current breakpoint
88   *
89   * @type { ?Length }
90   * @syscap SystemCapability.ArkUI.ArkUI.Full
91   * @form
92   * @since 9
93   */
94  /**
95   * Grid Row Size Option sm, select sm gutter size based on gridRow current breakpoint
96   *
97   * @type { ?Length }
98   * @syscap SystemCapability.ArkUI.ArkUI.Full
99   * @crossplatform
100   * @form
101   * @since 10
102   */
103  /**
104   * Grid Row Size Option sm, select sm gutter size based on gridRow current breakpoint
105   *
106   * @type { ?Length }
107   * @syscap SystemCapability.ArkUI.ArkUI.Full
108   * @crossplatform
109   * @form
110   * @atomicservice
111   * @since arkts {'1.1':'11','1.2':'20'}
112   * @arkts 1.1&1.2
113   */
114  sm?: Length,
115
116  /**
117   * Grid Row Size Option md, select md gutter size based on gridRow current breakpoint
118   *
119   * @type { ?Length }
120   * @syscap SystemCapability.ArkUI.ArkUI.Full
121   * @form
122   * @since 9
123   */
124  /**
125   * Grid Row Size Option md, select md gutter size based on gridRow current breakpoint
126   *
127   * @type { ?Length }
128   * @syscap SystemCapability.ArkUI.ArkUI.Full
129   * @crossplatform
130   * @form
131   * @since 10
132   */
133  /**
134   * Grid Row Size Option md, select md gutter size based on gridRow current breakpoint
135   *
136   * @type { ?Length }
137   * @syscap SystemCapability.ArkUI.ArkUI.Full
138   * @crossplatform
139   * @form
140   * @atomicservice
141   * @since arkts {'1.1':'11','1.2':'20'}
142   * @arkts 1.1&1.2
143   */
144  md?: Length,
145
146  /**
147   * Grid Row Size Option lg, select lg gutter size based on gridRow current breakpoint
148   *
149   * @type { ?Length }
150   * @syscap SystemCapability.ArkUI.ArkUI.Full
151   * @form
152   * @since 9
153   */
154  /**
155   * Grid Row Size Option lg, select lg gutter size based on gridRow current breakpoint
156   *
157   * @type { ?Length }
158   * @syscap SystemCapability.ArkUI.ArkUI.Full
159   * @crossplatform
160   * @form
161   * @since 10
162   */
163  /**
164   * Grid Row Size Option lg, select lg gutter size based on gridRow current breakpoint
165   *
166   * @type { ?Length }
167   * @syscap SystemCapability.ArkUI.ArkUI.Full
168   * @crossplatform
169   * @form
170   * @atomicservice
171   * @since arkts {'1.1':'11','1.2':'20'}
172   * @arkts 1.1&1.2
173   */
174  lg?: Length,
175
176  /**
177   * Grid Row Size Option xl, select xl gutter size based on gridRow current breakpoint
178   *
179   * @type { ?Length }
180   * @syscap SystemCapability.ArkUI.ArkUI.Full
181   * @form
182   * @since 9
183   */
184  /**
185   * Grid Row Size Option xl, select xl gutter size based on gridRow current breakpoint
186   *
187   * @type { ?Length }
188   * @syscap SystemCapability.ArkUI.ArkUI.Full
189   * @crossplatform
190   * @form
191   * @since 10
192   */
193  /**
194   * Grid Row Size Option xl, select xl gutter size based on gridRow current breakpoint
195   *
196   * @type { ?Length }
197   * @syscap SystemCapability.ArkUI.ArkUI.Full
198   * @crossplatform
199   * @form
200   * @atomicservice
201   * @since arkts {'1.1':'11','1.2':'20'}
202   * @arkts 1.1&1.2
203   */
204  xl?: Length,
205
206  /**
207   * Grid Row Size Option xxl, select xxl gutter size based on gridRow current breakpoint
208   *
209   * @type { ?Length }
210   * @syscap SystemCapability.ArkUI.ArkUI.Full
211   * @form
212   * @since 9
213   */
214  /**
215   * Grid Row Size Option xxl, select xxl gutter size based on gridRow current breakpoint
216   *
217   * @type { ?Length }
218   * @syscap SystemCapability.ArkUI.ArkUI.Full
219   * @crossplatform
220   * @form
221   * @since 10
222   */
223  /**
224   * Grid Row Size Option xxl, select xxl gutter size based on gridRow current breakpoint
225   *
226   * @type { ?Length }
227   * @syscap SystemCapability.ArkUI.ArkUI.Full
228   * @crossplatform
229   * @form
230   * @atomicservice
231   * @since arkts {'1.1':'11','1.2':'20'}
232   * @arkts 1.1&1.2
233   */
234  xxl?: Length,
235}
236
237/**
238 * Defines the option in number unit of grid-container component.
239 *
240 * @interface GridRowColumnOption
241 * @syscap SystemCapability.ArkUI.ArkUI.Full
242 * @form
243 * @since 9
244 */
245/**
246 * Defines the option in number unit of grid-container component.
247 *
248 * @interface GridRowColumnOption
249 * @syscap SystemCapability.ArkUI.ArkUI.Full
250 * @crossplatform
251 * @form
252 * @since 10
253 */
254/**
255 * Defines the option in number unit of grid-container component.
256 *
257 * @interface GridRowColumnOption
258 * @syscap SystemCapability.ArkUI.ArkUI.Full
259 * @crossplatform
260 * @form
261 * @atomicservice
262 * @since arkts {'1.1':'11','1.2':'20'}
263 * @arkts 1.1&1.2
264 */
265declare interface GridRowColumnOption {
266  /**
267   * Grid Row Column Option xs, select xs column num based on gridRow current breakpoint
268   *
269   * @type { ?number }
270   * @syscap SystemCapability.ArkUI.ArkUI.Full
271   * @form
272   * @since 9
273   */
274  /**
275   * Grid Row Column Option xs, select xs column num based on gridRow current breakpoint
276   *
277   * @type { ?number }
278   * @syscap SystemCapability.ArkUI.ArkUI.Full
279   * @crossplatform
280   * @form
281   * @since 10
282   */
283  /**
284   * Grid Row Column Option xs, select xs column num based on gridRow current breakpoint
285   *
286   * @type { ?number }
287   * @syscap SystemCapability.ArkUI.ArkUI.Full
288   * @crossplatform
289   * @form
290   * @atomicservice
291   * @since arkts {'1.1':'11','1.2':'20'}
292   * @arkts 1.1&1.2
293   */
294  xs?: number,
295
296  /**
297   * Grid Row Column Option sm, select sm column num based on gridRow current breakpoint
298   *
299   * @type { ?number }
300   * @syscap SystemCapability.ArkUI.ArkUI.Full
301   * @form
302   * @since 9
303   */
304  /**
305   * Grid Row Column Option sm, select sm column num based on gridRow current breakpoint
306   *
307   * @type { ?number }
308   * @syscap SystemCapability.ArkUI.ArkUI.Full
309   * @crossplatform
310   * @form
311   * @since 10
312   */
313  /**
314   * Grid Row Column Option sm, select sm column num based on gridRow current breakpoint
315   *
316   * @type { ?number }
317   * @syscap SystemCapability.ArkUI.ArkUI.Full
318   * @crossplatform
319   * @form
320   * @atomicservice
321   * @since arkts {'1.1':'11','1.2':'20'}
322   * @arkts 1.1&1.2
323   */
324  sm?: number,
325
326  /**
327   * Grid Row Column Option md, select md column num based on gridRow current breakpoint
328   *
329   * @type { ?number }
330   * @syscap SystemCapability.ArkUI.ArkUI.Full
331   * @form
332   * @since 9
333   */
334  /**
335   * Grid Row Column Option md, select md column num based on gridRow current breakpoint
336   *
337   * @type { ?number }
338   * @syscap SystemCapability.ArkUI.ArkUI.Full
339   * @crossplatform
340   * @form
341   * @since 10
342   */
343  /**
344   * Grid Row Column Option md
345   *
346   * @type { ?number }
347   * @syscap SystemCapability.ArkUI.ArkUI.Full
348   * @crossplatform
349   * @form
350   * @atomicservice
351   * @since arkts {'1.1':'11','1.2':'20'}
352   * @arkts 1.1&1.2
353   */
354  md?: number,
355
356  /**
357   * Grid Row Column Option lg, select lg column num based on gridRow current breakpoint
358   *
359   * @type { ?number }
360   * @syscap SystemCapability.ArkUI.ArkUI.Full
361   * @form
362   * @since 9
363   */
364  /**
365   * Grid Row Column Option lg, select lg column num based on gridRow current breakpoint
366   *
367   * @type { ?number }
368   * @syscap SystemCapability.ArkUI.ArkUI.Full
369   * @crossplatform
370   * @form
371   * @since 10
372   */
373  /**
374   * Grid Row Column Option lg, select lg column num based on gridRow current breakpoint
375   *
376   * @type { ?number }
377   * @syscap SystemCapability.ArkUI.ArkUI.Full
378   * @crossplatform
379   * @form
380   * @atomicservice
381   * @since arkts {'1.1':'11','1.2':'20'}
382   * @arkts 1.1&1.2
383   */
384  lg?: number,
385
386  /**
387   * Grid Row Column Option xl, select xl column num based on gridRow current breakpoint
388   *
389   * @type { ?number }
390   * @syscap SystemCapability.ArkUI.ArkUI.Full
391   * @form
392   * @since 9
393   */
394  /**
395   * Grid Row Column Option xl, select xl column num based on gridRow current breakpoint
396   *
397   * @type { ?number }
398   * @syscap SystemCapability.ArkUI.ArkUI.Full
399   * @crossplatform
400   * @form
401   * @since 10
402   */
403  /**
404   * Grid Row Column Option xl, select xl column num based on gridRow current breakpoint
405   *
406   * @type { ?number }
407   * @syscap SystemCapability.ArkUI.ArkUI.Full
408   * @crossplatform
409   * @form
410   * @atomicservice
411   * @since arkts {'1.1':'11','1.2':'20'}
412   * @arkts 1.1&1.2
413   */
414  xl?: number,
415
416  /**
417   * Grid Row Column Option xxl, select xxl column num based on gridRow current breakpoint
418   *
419   * @type { ?number }
420   * @syscap SystemCapability.ArkUI.ArkUI.Full
421   * @form
422   * @since 9
423   */
424  /**
425   * Grid Row Column Option xxl, select xxl column num based on gridRow current breakpoint
426   *
427   * @type { ?number }
428   * @syscap SystemCapability.ArkUI.ArkUI.Full
429   * @crossplatform
430   * @form
431   * @since 10
432   */
433  /**
434   * Grid Row Column Option xxl, select xxl column num based on gridRow current breakpoint
435   *
436   * @type { ?number }
437   * @syscap SystemCapability.ArkUI.ArkUI.Full
438   * @crossplatform
439   * @form
440   * @atomicservice
441   * @since arkts {'1.1':'11','1.2':'20'}
442   * @arkts 1.1&1.2
443   */
444  xxl?: number,
445}
446
447/**
448 * Defines the gutter of grid-row component.
449 *
450 * @interface GutterOption
451 * @syscap SystemCapability.ArkUI.ArkUI.Full
452 * @form
453 * @since 9
454 */
455/**
456 * Defines the gutter of grid-row component.
457 *
458 * @interface GutterOption
459 * @syscap SystemCapability.ArkUI.ArkUI.Full
460 * @crossplatform
461 * @form
462 * @since 10
463 */
464/**
465 * Defines the gutter of grid-row component.
466 *
467 * @interface GutterOption
468 * @syscap SystemCapability.ArkUI.ArkUI.Full
469 * @crossplatform
470 * @form
471 * @atomicservice
472 * @since arkts {'1.1':'11','1.2':'20'}
473 * @arkts 1.1&1.2
474 */
475declare interface GutterOption {
476  /**
477   * Define x in GutterOption
478   *
479   * @type { ?(Length | GridRowSizeOption) }
480   * @syscap SystemCapability.ArkUI.ArkUI.Full
481   * @form
482   * @since 9
483   */
484  /**
485   * Define x in GutterOption
486   *
487   * @type { ?(Length | GridRowSizeOption) }
488   * @syscap SystemCapability.ArkUI.ArkUI.Full
489   * @crossplatform
490   * @form
491   * @since 10
492   */
493  /**
494   * Define x in GutterOption
495   *
496   * @type { ?(Length | GridRowSizeOption) }
497   * @syscap SystemCapability.ArkUI.ArkUI.Full
498   * @crossplatform
499   * @form
500   * @atomicservice
501   * @since arkts {'1.1':'11','1.2':'20'}
502   * @arkts 1.1&1.2
503   */
504  x?: Length | GridRowSizeOption,
505
506  /**
507   * Define y in GutterOption
508   *
509   * @type { ?(Length | GridRowSizeOption) }
510   * @syscap SystemCapability.ArkUI.ArkUI.Full
511   * @form
512   * @since 9
513   */
514  /**
515   * Define y in GutterOption
516   *
517   * @type { ?(Length | GridRowSizeOption) }
518   * @syscap SystemCapability.ArkUI.ArkUI.Full
519   * @crossplatform
520   * @form
521   * @since 10
522   */
523  /**
524   * Define y in GutterOption
525   *
526   * @type { ?(Length | GridRowSizeOption) }
527   * @syscap SystemCapability.ArkUI.ArkUI.Full
528   * @crossplatform
529   * @form
530   * @atomicservice
531   * @since arkts {'1.1':'11','1.2':'20'}
532   * @arkts 1.1&1.2
533   */
534  y?: Length | GridRowSizeOption
535}
536
537/**
538 * Defines the breakpoint reference of grid-container component.
539 *
540 * @enum { number }
541 * @syscap SystemCapability.ArkUI.ArkUI.Full
542 * @form
543 * @since 9
544 */
545/**
546 * Defines the breakpoint reference of grid-container component.
547 *
548 * @enum { number }
549 * @syscap SystemCapability.ArkUI.ArkUI.Full
550 * @crossplatform
551 * @form
552 * @since 10
553 */
554/**
555 * Defines the breakpoint reference of grid-container component.
556 *
557 * @enum { number }
558 * @syscap SystemCapability.ArkUI.ArkUI.Full
559 * @crossplatform
560 * @form
561 * @atomicservice
562 * @since arkts {'1.1':'11','1.2':'20'}
563 * @arkts 1.1&1.2
564 */
565declare enum BreakpointsReference {
566  /**
567   * Respond to breakpoint changes according to window width
568   *
569   * @syscap SystemCapability.ArkUI.ArkUI.Full
570   * @form
571   * @since 9
572   */
573  /**
574   * Respond to breakpoint changes according to window width
575   *
576   * @syscap SystemCapability.ArkUI.ArkUI.Full
577   * @crossplatform
578   * @form
579   * @since 10
580   */
581  /**
582   * Respond to breakpoint changes according to window width
583   *
584   * @syscap SystemCapability.ArkUI.ArkUI.Full
585   * @crossplatform
586   * @form
587   * @atomicservice
588   * @since arkts {'1.1':'11','1.2':'20'}
589   * @arkts 1.1&1.2
590   */
591  WindowSize,
592
593  /**
594   * Respond to breakpoint changes according to component width
595   *
596   * @syscap SystemCapability.ArkUI.ArkUI.Full
597   * @form
598   * @since 9
599   */
600  /**
601   * Respond to breakpoint changes according to component width
602   *
603   * @syscap SystemCapability.ArkUI.ArkUI.Full
604   * @crossplatform
605   * @form
606   * @since 10
607   */
608  /**
609   * Respond to breakpoint changes according to component width
610   *
611   * @syscap SystemCapability.ArkUI.ArkUI.Full
612   * @crossplatform
613   * @form
614   * @atomicservice
615   * @since arkts {'1.1':'11','1.2':'20'}
616   * @arkts 1.1&1.2
617   */
618  ComponentSize,
619}
620
621/**
622 * Defines the direction of grid-container component.
623 *
624 * @enum { number }
625 * @syscap SystemCapability.ArkUI.ArkUI.Full
626 * @form
627 * @since 9
628 */
629/**
630 * Defines the direction of grid-container component.
631 *
632 * @enum { number }
633 * @syscap SystemCapability.ArkUI.ArkUI.Full
634 * @crossplatform
635 * @form
636 * @since 10
637 */
638/**
639 * Defines the direction of grid-container component.
640 *
641 * @enum { number }
642 * @syscap SystemCapability.ArkUI.ArkUI.Full
643 * @crossplatform
644 * @form
645 * @atomicservice
646 * @since arkts {'1.1':'11','1.2':'20'}
647 * @arkts 1.1&1.2
648 */
649declare enum GridRowDirection {
650  /**
651   * The elements in the grid component are arranged in rows
652   *
653   * @syscap SystemCapability.ArkUI.ArkUI.Full
654   * @form
655   * @since 9
656   */
657  /**
658   * The elements in the grid component are arranged in rows
659   *
660   * @syscap SystemCapability.ArkUI.ArkUI.Full
661   * @crossplatform
662   * @form
663   * @since 10
664   */
665  /**
666   * The elements in the grid component are arranged in rows
667   *
668   * @syscap SystemCapability.ArkUI.ArkUI.Full
669   * @crossplatform
670   * @form
671   * @atomicservice
672   * @since arkts {'1.1':'11','1.2':'20'}
673   * @arkts 1.1&1.2
674   */
675  Row,
676
677  /**
678   * The elements in the grid component are arranged in reverse order of rows
679   *
680   * @syscap SystemCapability.ArkUI.ArkUI.Full
681   * @form
682   * @since 9
683   */
684  /**
685   * The elements in the grid component are arranged in reverse order of rows
686   *
687   * @syscap SystemCapability.ArkUI.ArkUI.Full
688   * @crossplatform
689   * @form
690   * @since 10
691   */
692  /**
693   * The elements in the grid component are arranged in reverse order of rows
694   *
695   * @syscap SystemCapability.ArkUI.ArkUI.Full
696   * @crossplatform
697   * @form
698   * @atomicservice
699   * @since arkts {'1.1':'11','1.2':'20'}
700   * @arkts 1.1&1.2
701   */
702  RowReverse,
703}
704
705/**
706 * Defines the breakpoints of grid-row component.
707 *
708 * @interface BreakPoints
709 * @syscap SystemCapability.ArkUI.ArkUI.Full
710 * @form
711 * @since 9
712 */
713/**
714 * Defines the breakpoints of grid-row component.
715 *
716 * @interface BreakPoints
717 * @syscap SystemCapability.ArkUI.ArkUI.Full
718 * @crossplatform
719 * @form
720 * @since 10
721 */
722/**
723 * Defines the breakpoints of grid-row component.
724 *
725 * @interface BreakPoints
726 * @syscap SystemCapability.ArkUI.ArkUI.Full
727 * @crossplatform
728 * @form
729 * @atomicservice
730 * @since arkts {'1.1':'11','1.2':'20'}
731 * @arkts 1.1&1.2
732 */
733declare interface BreakPoints {
734  /**
735   * Breakpoint array
736   *
737   * @type { ?Array<string> }
738   * @syscap SystemCapability.ArkUI.ArkUI.Full
739   * @form
740   * @since 9
741   */
742  /**
743   * Breakpoint array
744   *
745   * @type { ?Array<string> }
746   * @syscap SystemCapability.ArkUI.ArkUI.Full
747   * @crossplatform
748   * @form
749   * @since 10
750   */
751  /**
752   * Breakpoint array
753   *
754   * @type { ?Array<string> }
755   * @syscap SystemCapability.ArkUI.ArkUI.Full
756   * @crossplatform
757   * @form
758   * @atomicservice
759   * @since arkts {'1.1':'11','1.2':'20'}
760   * @arkts 1.1&1.2
761   */
762  value?: Array<string>,
763
764  /**
765   * Set breakpoint reference
766   *
767   * @type { ?BreakpointsReference }
768   * @syscap SystemCapability.ArkUI.ArkUI.Full
769   * @form
770   * @since 9
771   */
772  /**
773   * Set breakpoint reference
774   *
775   * @type { ?BreakpointsReference }
776   * @syscap SystemCapability.ArkUI.ArkUI.Full
777   * @crossplatform
778   * @form
779   * @since 10
780   */
781  /**
782   * Set breakpoint reference
783   *
784   * @type { ?BreakpointsReference }
785   * @syscap SystemCapability.ArkUI.ArkUI.Full
786   * @crossplatform
787   * @form
788   * @atomicservice
789   * @since arkts {'1.1':'11','1.2':'20'}
790   * @arkts 1.1&1.2
791   */
792  reference?: BreakpointsReference,
793}
794
795/**
796 * Defines the options of grid-row component.
797 *
798 * @interface GridRowOptions
799 * @syscap SystemCapability.ArkUI.ArkUI.Full
800 * @form
801 * @since 9
802 */
803/**
804 * Defines the options of grid-row component.
805 *
806 * @interface GridRowOptions
807 * @syscap SystemCapability.ArkUI.ArkUI.Full
808 * @crossplatform
809 * @form
810 * @since 10
811 */
812/**
813 * Defines the options of grid-row component.
814 *
815 * @interface GridRowOptions
816 * @syscap SystemCapability.ArkUI.ArkUI.Full
817 * @crossplatform
818 * @form
819 * @atomicservice
820 * @since arkts {'1.1':'11','1.2':'20'}
821 * @arkts 1.1&1.2
822 */
823declare interface GridRowOptions {
824  /**
825   * layout spacing between sub-components
826   *
827   * @type { ?(Length | GutterOption) }
828   * @syscap SystemCapability.ArkUI.ArkUI.Full
829   * @form
830   * @since 9
831   */
832  /**
833   * layout spacing between sub-components
834   *
835   * @type { ?(Length | GutterOption) }
836   * @syscap SystemCapability.ArkUI.ArkUI.Full
837   * @crossplatform
838   * @form
839   * @since 10
840   */
841  /**
842   * layout spacing between sub-components
843   *
844   * @type { ?(Length | GutterOption) }
845   * @syscap SystemCapability.ArkUI.ArkUI.Full
846   * @crossplatform
847   * @form
848   * @atomicservice
849   * @since arkts {'1.1':'11','1.2':'20'}
850   * @arkts 1.1&1.2
851   */
852  gutter?: Length | GutterOption;
853
854  /**
855   * Sets the total number of columns in the current layout.
856   *
857   * @type { ?(number | GridRowColumnOption) }
858   * @syscap SystemCapability.ArkUI.ArkUI.Full
859   * @form
860   * @since 9
861   */
862  /**
863   * Sets the total number of columns in the current layout.
864   *
865   * @type { ?(number | GridRowColumnOption) }
866   * @syscap SystemCapability.ArkUI.ArkUI.Full
867   * @crossplatform
868   * @form
869   * @since 10
870   */
871  /**
872   * Sets the total number of columns in the current layout.
873   *
874   * @type { ?(number | GridRowColumnOption) }
875   * @syscap SystemCapability.ArkUI.ArkUI.Full
876   * @crossplatform
877   * @form
878   * @atomicservice
879   * @since arkts {'1.1':'11','1.2':'20'}
880   * @arkts 1.1&1.2
881   */
882  columns?: number | GridRowColumnOption;
883
884  /**
885   * grid-row layout breakpoints.
886   *
887   * @type { ?BreakPoints }
888   * @syscap SystemCapability.ArkUI.ArkUI.Full
889   * @form
890   * @since 9
891   */
892  /**
893   * grid-row layout breakpoints.
894   *
895   * @type { ?BreakPoints }
896   * @syscap SystemCapability.ArkUI.ArkUI.Full
897   * @crossplatform
898   * @form
899   * @since 10
900   */
901  /**
902   * grid-row layout breakpoints.
903   *
904   * @type { ?BreakPoints }
905   * @syscap SystemCapability.ArkUI.ArkUI.Full
906   * @crossplatform
907   * @form
908   * @atomicservice
909   * @since arkts {'1.1':'11','1.2':'20'}
910   * @arkts 1.1&1.2
911   */
912  breakpoints?: BreakPoints;
913
914  /**
915   * grid-row layout direction.
916   *
917   * @type { ?GridRowDirection }
918   * @syscap SystemCapability.ArkUI.ArkUI.Full
919   * @form
920   * @since 9
921   */
922  /**
923   * grid-row layout direction.
924   *
925   * @type { ?GridRowDirection }
926   * @syscap SystemCapability.ArkUI.ArkUI.Full
927   * @crossplatform
928   * @form
929   * @since 10
930   */
931  /**
932   * grid-row layout direction.
933   *
934   * @type { ?GridRowDirection }
935   * @syscap SystemCapability.ArkUI.ArkUI.Full
936   * @crossplatform
937   * @form
938   * @atomicservice
939   * @since arkts {'1.1':'11','1.2':'20'}
940   * @arkts 1.1&1.2
941   */
942  direction?: GridRowDirection;
943}
944
945/**
946 * Defines the the new version of grid-container component.
947 *
948 * @interface GridRowInterface
949 * @syscap SystemCapability.ArkUI.ArkUI.Full
950 * @form
951 * @since 9
952 */
953/**
954 * Defines the the new version of grid-container component.
955 *
956 * @interface GridRowInterface
957 * @syscap SystemCapability.ArkUI.ArkUI.Full
958 * @crossplatform
959 * @form
960 * @since 10
961 */
962/**
963 * Defines the the new version of grid-container component.
964 *
965 * @interface GridRowInterface
966 * @syscap SystemCapability.ArkUI.ArkUI.Full
967 * @crossplatform
968 * @form
969 * @atomicservice
970 * @since arkts {'1.1':'11','1.2':'20'}
971 * @arkts 1.1&1.2
972 */
973interface GridRowInterface {
974  /**
975   * Defines the constructor of GridRow.
976   *
977   * @param { GridRowOptions } option
978   * @returns { GridRowAttribute }
979   * @syscap SystemCapability.ArkUI.ArkUI.Full
980   * @form
981   * @since 9
982   */
983  /**
984   * Defines the constructor of GridRow.
985   *
986   * @param { GridRowOptions } option
987   * @returns { GridRowAttribute }
988   * @syscap SystemCapability.ArkUI.ArkUI.Full
989   * @crossplatform
990   * @form
991   * @since 10
992   */
993  /**
994   * Defines the constructor of GridRow.
995   *
996   * @param { GridRowOptions } option
997   * @returns { GridRowAttribute }
998   * @syscap SystemCapability.ArkUI.ArkUI.Full
999   * @crossplatform
1000   * @form
1001   * @atomicservice
1002   * @since arkts {'1.1':'11','1.2':'20'}
1003   * @arkts 1.1&1.2
1004   */
1005  (option?: GridRowOptions): GridRowAttribute;
1006}
1007
1008/**
1009 * Defines the GridRow attribute functions.
1010 *
1011 * @extends CommonMethod<GridRowAttribute>
1012 * @syscap SystemCapability.ArkUI.ArkUI.Full
1013 * @form
1014 * @since 9
1015 */
1016/**
1017 * Defines the GridRow attribute functions.
1018 *
1019 * @extends CommonMethod<GridRowAttribute>
1020 * @syscap SystemCapability.ArkUI.ArkUI.Full
1021 * @crossplatform
1022 * @form
1023 * @since 10
1024 */
1025/**
1026 * Defines the GridRow attribute functions.
1027 *
1028 * @extends CommonMethod<GridRowAttribute>
1029 * @syscap SystemCapability.ArkUI.ArkUI.Full
1030 * @crossplatform
1031 * @form
1032 * @atomicservice
1033 * @since arkts {'1.1':'11','1.2':'20'}
1034 * @arkts 1.1&1.2
1035 */
1036declare class GridRowAttribute extends CommonMethod<GridRowAttribute> {
1037  /**
1038   * Callback triggered when the breakpoint changes, breakpoints value can be xs, sm, md, lg, xl, xxl
1039   *
1040   * @param { function } callback
1041   * @returns { GridRowAttribute }
1042   * @syscap SystemCapability.ArkUI.ArkUI.Full
1043   * @form
1044   * @since 9
1045   */
1046  /**
1047   * Callback triggered when the breakpoint changes, breakpoints value can be xs, sm, md, lg, xl, xxl
1048   *
1049   * @param { function } callback
1050   * @returns { GridRowAttribute }
1051   * @syscap SystemCapability.ArkUI.ArkUI.Full
1052   * @crossplatform
1053   * @form
1054   * @since 10
1055   */
1056  /**
1057   * Callback triggered when the breakpoint changes, breakpoints value can be xs, sm, md, lg, xl, xxl
1058   *
1059   * @param { function } callback
1060   * @returns { GridRowAttribute }
1061   * @syscap SystemCapability.ArkUI.ArkUI.Full
1062   * @crossplatform
1063   * @form
1064   * @atomicservice
1065   * @since arkts {'1.1':'11','1.2':'20'}
1066   * @arkts 1.1&1.2
1067   */
1068  onBreakpointChange(callback: (breakpoints: string) => void): GridRowAttribute;
1069
1070  /**
1071   * Cross axis alignment of each line in GridRow.
1072   *
1073   * @param { ItemAlign } value - element alignment
1074   * @returns { GridRowAttribute }
1075   * @syscap SystemCapability.ArkUI.ArkUI.Full
1076   * @crossplatform
1077   * @form
1078   * @since 10
1079   */
1080  /**
1081   * Cross axis alignment of each line in GridRow.
1082   *
1083   * @param { ItemAlign } value - element alignment
1084   * @returns { GridRowAttribute }
1085   * @syscap SystemCapability.ArkUI.ArkUI.Full
1086   * @crossplatform
1087   * @form
1088   * @atomicservice
1089   * @since arkts {'1.1':'11','1.2':'20'}
1090   * @arkts 1.1&1.2
1091   */
1092  alignItems(value: ItemAlign): GridRowAttribute;
1093}
1094
1095/**
1096 * Defines GridRow Component.
1097 *
1098 * @syscap SystemCapability.ArkUI.ArkUI.Full
1099 * @form
1100 * @since 9
1101 */
1102/**
1103 * Defines GridRow Component.
1104 *
1105 * @syscap SystemCapability.ArkUI.ArkUI.Full
1106 * @crossplatform
1107 * @form
1108 * @since 10
1109 */
1110/**
1111 * Defines GridRow Component.
1112 *
1113 * @syscap SystemCapability.ArkUI.ArkUI.Full
1114 * @crossplatform
1115 * @form
1116 * @atomicservice
1117 * @since 11
1118 */
1119declare const GridRow: GridRowInterface;
1120
1121/**
1122 * Defines GridRow Component instance.
1123 *
1124 * @syscap SystemCapability.ArkUI.ArkUI.Full
1125 * @form
1126 * @since 9
1127 */
1128/**
1129 * Defines GridRow Component instance.
1130 *
1131 * @syscap SystemCapability.ArkUI.ArkUI.Full
1132 * @crossplatform
1133 * @form
1134 * @since 10
1135 */
1136/**
1137 * Defines GridRow Component instance.
1138 *
1139 * @syscap SystemCapability.ArkUI.ArkUI.Full
1140 * @crossplatform
1141 * @form
1142 * @atomicservice
1143 * @since 11
1144 */
1145declare const GridRowInstance: GridRowAttribute;
1146