• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 * The alignment of dialog,
23 *
24 * @enum { number }
25 * @syscap SystemCapability.ArkUI.ArkUI.Full
26 * @since 7
27 */
28/**
29 * The alignment of dialog,
30 *
31 * @enum { number }
32 * @syscap SystemCapability.ArkUI.ArkUI.Full
33 * @crossplatform
34 * @since 10
35 */
36/**
37 * The alignment of dialog,
38 *
39 * @enum { number }
40 * @syscap SystemCapability.ArkUI.ArkUI.Full
41 * @crossplatform
42 * @atomicservice
43 * @since 11
44 */
45declare enum DialogAlignment {
46  /**
47   * Vertical top alignment.
48   *
49   * @syscap SystemCapability.ArkUI.ArkUI.Full
50   * @since 7
51   */
52  /**
53   * Vertical top alignment.
54   *
55   * @syscap SystemCapability.ArkUI.ArkUI.Full
56   * @crossplatform
57   * @since 10
58   */
59  /**
60   * Vertical top alignment.
61   *
62   * @syscap SystemCapability.ArkUI.ArkUI.Full
63   * @crossplatform
64   * @atomicservice
65   * @since 11
66   */
67  Top,
68
69  /**
70   * Align vertically to the center.
71   *
72   * @syscap SystemCapability.ArkUI.ArkUI.Full
73   * @since 7
74   */
75  /**
76   * Align vertically to the center.
77   *
78   * @syscap SystemCapability.ArkUI.ArkUI.Full
79   * @crossplatform
80   * @since 10
81   */
82  /**
83   * Align vertically to the center.
84   *
85   * @syscap SystemCapability.ArkUI.ArkUI.Full
86   * @crossplatform
87   * @atomicservice
88   * @since 11
89   */
90  Center,
91
92  /**
93   * Vertical bottom alignment.
94   *
95   * @syscap SystemCapability.ArkUI.ArkUI.Full
96   * @since 7
97   */
98  /**
99   * Vertical bottom alignment.
100   *
101   * @syscap SystemCapability.ArkUI.ArkUI.Full
102   * @crossplatform
103   * @since 10
104   */
105  /**
106   * Vertical bottom alignment.
107   *
108   * @syscap SystemCapability.ArkUI.ArkUI.Full
109   * @crossplatform
110   * @atomicservice
111   * @since 11
112   */
113  Bottom,
114
115  /**
116   * Default alignment.
117   *
118   * @syscap SystemCapability.ArkUI.ArkUI.Full
119   * @since 7
120   */
121  /**
122   * Default alignment.
123   *
124   * @syscap SystemCapability.ArkUI.ArkUI.Full
125   * @crossplatform
126   * @since 10
127   */
128  /**
129   * Default alignment.
130   *
131   * @syscap SystemCapability.ArkUI.ArkUI.Full
132   * @crossplatform
133   * @atomicservice
134   * @since 11
135   */
136  Default,
137
138  /**
139   * Align the upper left corner.
140   *
141   * @syscap SystemCapability.ArkUI.ArkUI.Full
142   * @since 8
143   */
144  /**
145   * Align the upper left corner.
146   *
147   * @syscap SystemCapability.ArkUI.ArkUI.Full
148   * @crossplatform
149   * @since 10
150   */
151  /**
152   * Align the upper left corner.
153   *
154   * @syscap SystemCapability.ArkUI.ArkUI.Full
155   * @crossplatform
156   * @atomicservice
157   * @since 11
158   */
159  TopStart,
160
161  /**
162   * Align the upper right corner.
163   *
164   * @syscap SystemCapability.ArkUI.ArkUI.Full
165   * @since 8
166   */
167  /**
168   * Align the upper right corner.
169   *
170   * @syscap SystemCapability.ArkUI.ArkUI.Full
171   * @crossplatform
172   * @since 10
173   */
174  /**
175   * Align the upper right corner.
176   *
177   * @syscap SystemCapability.ArkUI.ArkUI.Full
178   * @crossplatform
179   * @atomicservice
180   * @since 11
181   */
182  TopEnd,
183
184  /**
185   * Left center alignment.
186   *
187   * @syscap SystemCapability.ArkUI.ArkUI.Full
188   * @since 8
189   */
190  /**
191   * Left center alignment.
192   *
193   * @syscap SystemCapability.ArkUI.ArkUI.Full
194   * @crossplatform
195   * @since 10
196   */
197  /**
198   * Left center alignment.
199   *
200   * @syscap SystemCapability.ArkUI.ArkUI.Full
201   * @crossplatform
202   * @atomicservice
203   * @since 11
204   */
205  CenterStart,
206
207  /**
208   * Right center alignment.
209   *
210   * @syscap SystemCapability.ArkUI.ArkUI.Full
211   * @since 8
212   */
213  /**
214   * Right center alignment.
215   *
216   * @syscap SystemCapability.ArkUI.ArkUI.Full
217   * @crossplatform
218   * @since 10
219   */
220  /**
221   * Right center alignment.
222   *
223   * @syscap SystemCapability.ArkUI.ArkUI.Full
224   * @crossplatform
225   * @atomicservice
226   * @since 11
227   */
228  CenterEnd,
229
230  /**
231   * Align the lower left corner.
232   *
233   * @syscap SystemCapability.ArkUI.ArkUI.Full
234   * @since 8
235   */
236  /**
237   * Align the lower left corner.
238   *
239   * @syscap SystemCapability.ArkUI.ArkUI.Full
240   * @crossplatform
241   * @since 10
242   */
243  /**
244   * Align the lower left corner.
245   *
246   * @syscap SystemCapability.ArkUI.ArkUI.Full
247   * @crossplatform
248   * @atomicservice
249   * @since 11
250   */
251  BottomStart,
252
253  /**
254   * Align the lower right corner.
255   *
256   * @syscap SystemCapability.ArkUI.ArkUI.Full
257   * @since 8
258   */
259  /**
260   * Align the lower right corner.
261   *
262   * @syscap SystemCapability.ArkUI.ArkUI.Full
263   * @crossplatform
264   * @since 10
265   */
266  /**
267   * Align the lower right corner.
268   *
269   * @syscap SystemCapability.ArkUI.ArkUI.Full
270   * @crossplatform
271   * @atomicservice
272   * @since 11
273   */
274  BottomEnd,
275}
276
277/**
278* The arrangement of buttons in dialog.
279*
280* @enum { number }
281* @syscap SystemCapability.ArkUI.ArkUI.Full
282* @crossplatform
283* @since 10
284*/
285/**
286* The arrangement of buttons in dialog.
287*
288* @enum { number }
289* @syscap SystemCapability.ArkUI.ArkUI.Full
290* @crossplatform
291* @atomicservice
292* @since 11
293*/
294declare enum DialogButtonDirection {
295  /**
296   * Two or fewer buttons are arranged horizontally,
297   * and two or more buttons are arranged vertically.
298   * @syscap SystemCapability.ArkUI.ArkUI.Full
299   * @crossplatform
300   * @since 10
301   */
302  /**
303   * Two or fewer buttons are arranged horizontally,
304   * and two or more buttons are arranged vertically.
305   * @syscap SystemCapability.ArkUI.ArkUI.Full
306   * @crossplatform
307   * @atomicservice
308   * @since 11
309   */
310  AUTO = 0,
311
312  /**
313   * Buttons are arranged horizontally.
314   *
315   * @syscap SystemCapability.ArkUI.ArkUI.Full
316   * @crossplatform
317   * @since 10
318   */
319  /**
320   * Buttons are arranged horizontally.
321   *
322   * @syscap SystemCapability.ArkUI.ArkUI.Full
323   * @crossplatform
324   * @atomicservice
325   * @since 11
326   */
327  HORIZONTAL = 1,
328
329  /**
330   * Buttons are arranged vertically.
331   *
332   * @syscap SystemCapability.ArkUI.ArkUI.Full
333   * @crossplatform
334   * @since 10
335   */
336  /**
337   * Buttons are arranged vertically.
338   *
339   * @syscap SystemCapability.ArkUI.ArkUI.Full
340   * @crossplatform
341   * @atomicservice
342   * @since 11
343   */
344  VERTICAL = 2,
345}
346
347/**
348 * Base button param used for AlertDialogParamWithOptions.
349 *
350 * @interface AlertDialogButtonOptions
351 * @syscap SystemCapability.ArkUI.ArkUI.Full
352 * @crossplatform
353 * @since 10
354 */
355/**
356 * Base button param used for AlertDialogParamWithOptions.
357 *
358 * @interface AlertDialogButtonOptions
359 * @syscap SystemCapability.ArkUI.ArkUI.Full
360 * @crossplatform
361 * @atomicservice
362 * @since 11
363 */
364declare interface AlertDialogButtonOptions {
365  /**
366   * Enable switch of button.
367   *
368   * @type { ?boolean }
369   * @default true
370   * @syscap SystemCapability.ArkUI.ArkUI.Full
371   * @crossplatform
372   * @since 10
373   */
374  /**
375   * Enable switch of button.
376   *
377   * @type { ?boolean }
378   * @default true
379   * @syscap SystemCapability.ArkUI.ArkUI.Full
380   * @crossplatform
381   * @atomicservice
382   * @since 11
383   */
384  enabled?: boolean;
385
386  /**
387   * Default focus switch of button.
388   *
389   * @type { ?boolean }
390   * @default false
391   * @syscap SystemCapability.ArkUI.ArkUI.Full
392   * @crossplatform
393   * @since 10
394   */
395  /**
396   * Default focus switch of button.
397   *
398   * @type { ?boolean }
399   * @default false
400   * @syscap SystemCapability.ArkUI.ArkUI.Full
401   * @crossplatform
402   * @atomicservice
403   * @since 11
404   */
405  defaultFocus?: boolean;
406
407  /**
408   * Style of button.
409   *
410   * @type { ?DialogButtonStyle }
411   * @default -
412   * @syscap SystemCapability.ArkUI.ArkUI.Full
413   * @crossplatform
414   * @since 10
415   */
416  /**
417   * Style of button.
418   *
419   * @type { ?DialogButtonStyle }
420   * @default -
421   * @syscap SystemCapability.ArkUI.ArkUI.Full
422   * @crossplatform
423   * @atomicservice
424   * @since 11
425   */
426  style?: DialogButtonStyle;
427
428  /**
429   * Text content of button.
430   *
431   * @type { ResourceStr }
432   * @syscap SystemCapability.ArkUI.ArkUI.Full
433   * @crossplatform
434   * @since 10
435   */
436  /**
437   * Text content of button.
438   *
439   * @type { ResourceStr }
440   * @syscap SystemCapability.ArkUI.ArkUI.Full
441   * @crossplatform
442   * @atomicservice
443   * @since 11
444   */
445  value: ResourceStr;
446
447  /**
448   * Text color of button.
449   *
450   * @type { ?ResourceColor }
451   * @syscap SystemCapability.ArkUI.ArkUI.Full
452   * @crossplatform
453   * @since 10
454   */
455  /**
456   * Text color of button.
457   *
458   * @type { ?ResourceColor }
459   * @syscap SystemCapability.ArkUI.ArkUI.Full
460   * @crossplatform
461   * @atomicservice
462   * @since 11
463   */
464  fontColor?: ResourceColor;
465
466  /**
467   * Background color of button.
468   *
469   * @type { ?ResourceColor }
470   * @syscap SystemCapability.ArkUI.ArkUI.Full
471   * @crossplatform
472   * @since 10
473   */
474  /**
475   * Background color of button.
476   *
477   * @type { ?ResourceColor }
478   * @syscap SystemCapability.ArkUI.ArkUI.Full
479   * @crossplatform
480   * @atomicservice
481   * @since 11
482   */
483  backgroundColor?: ResourceColor;
484
485  /**
486   * Method executed by the callback.
487   *
488   * @type { function }
489   * @syscap SystemCapability.ArkUI.ArkUI.Full
490   * @crossplatform
491   * @since 10
492   */
493  /**
494   * Method executed by the callback.
495   *
496   * @type { function }
497   * @syscap SystemCapability.ArkUI.ArkUI.Full
498   * @crossplatform
499   * @atomicservice
500   * @since 11
501   */
502  action: () => void;
503  /**
504   * Define whether the button responds to Enter/Space key by default.
505   *
506   * @type { ?boolean }
507   * @syscap SystemCapability.ArkUI.ArkUI.Full
508   * @crossplatform
509   * @atomicservice
510   * @since 12
511   */
512    primary?: boolean;
513}
514
515/**
516 * Defines TextStyle in the AlertDialog.
517 *
518 * @interface TextStyle
519 * @syscap SystemCapability.ArkUI.ArkUI.Full
520 * @crossplatform
521 * @atomicservice
522 * @since 12
523 */
524declare interface TextStyle {
525  /**
526   * Set the word break type.
527   *
528   * @type { ?WordBreak }
529   * @syscap SystemCapability.ArkUI.ArkUI.Full
530   * @crossplatform
531   * @atomicservice
532   * @since 12
533   */
534  wordBreak?: WordBreak;
535}
536
537/**
538 * Base param used for AlertDialog.show method.
539 *
540 * @interface AlertDialogParam
541 * @syscap SystemCapability.ArkUI.ArkUI.Full
542 * @since 7
543 */
544/**
545 * Base param used for AlertDialog.show method.
546 *
547 * @interface AlertDialogParam
548 * @syscap SystemCapability.ArkUI.ArkUI.Full
549 * @crossplatform
550 * @since 10
551 */
552/**
553 * Base param used for AlertDialog.show method.
554 *
555 * @interface AlertDialogParam
556 * @syscap SystemCapability.ArkUI.ArkUI.Full
557 * @crossplatform
558 * @atomicservice
559 * @since 11
560 */
561declare interface AlertDialogParam {
562  /**
563   * Title Properties
564   *
565   * @type { ?ResourceStr }
566   * @syscap SystemCapability.ArkUI.ArkUI.Full
567   * @since 7
568   */
569  /**
570   * Title Properties
571   *
572   * @type { ?ResourceStr }
573   * @syscap SystemCapability.ArkUI.ArkUI.Full
574   * @crossplatform
575   * @since 10
576   */
577  /**
578   * Title Properties
579   *
580   * @type { ?ResourceStr }
581   * @syscap SystemCapability.ArkUI.ArkUI.Full
582   * @crossplatform
583   * @atomicservice
584   * @since 11
585   */
586  title?: ResourceStr;
587
588  /**
589   * Subtitle Properties
590   * @type { ?ResourceStr }
591   * @syscap SystemCapability.ArkUI.ArkUI.Full
592   * @crossplatform
593   * @since 10
594   */
595  /**
596   * Subtitle Properties
597   * @type { ?ResourceStr }
598   * @syscap SystemCapability.ArkUI.ArkUI.Full
599   * @crossplatform
600   * @atomicservice
601   * @since 11
602   */
603  subtitle?: ResourceStr;
604
605  /**
606   * message Properties
607   *
608   * @type { ResourceStr }
609   * @syscap SystemCapability.ArkUI.ArkUI.Full
610   * @since 7
611   */
612  /**
613   * message Properties
614   *
615   * @type { ResourceStr }
616   * @syscap SystemCapability.ArkUI.ArkUI.Full
617   * @crossplatform
618   * @since 10
619   */
620  /**
621   * message Properties
622   *
623   * @type { ResourceStr }
624   * @syscap SystemCapability.ArkUI.ArkUI.Full
625   * @crossplatform
626   * @atomicservice
627   * @since 11
628   */
629  message: ResourceStr;
630
631  /**
632   * Allows users to click the mask layer to exit.
633   *
634   * @type { ?boolean }
635   * @syscap SystemCapability.ArkUI.ArkUI.Full
636   * @since 7
637   */
638  /**
639   * Allows users to click the mask layer to exit.
640   *
641   * @type { ?boolean }
642   * @syscap SystemCapability.ArkUI.ArkUI.Full
643   * @crossplatform
644   * @since 10
645   */
646  /**
647   * Allows users to click the mask layer to exit.
648   *
649   * @type { ?boolean }
650   * @syscap SystemCapability.ArkUI.ArkUI.Full
651   * @crossplatform
652   * @atomicservice
653   * @since 11
654   */
655  autoCancel?: boolean;
656
657  /**
658   * Execute Cancel Function.
659   *
660   * @type { ?function }
661   * @syscap SystemCapability.ArkUI.ArkUI.Full
662   * @since 7
663   */
664  /**
665   * Execute Cancel Function.
666   *
667   * @type { ?function }
668   * @syscap SystemCapability.ArkUI.ArkUI.Full
669   * @crossplatform
670   * @since 10
671   */
672  /**
673   * Execute Cancel Function.
674   *
675   * @type { ?function }
676   * @syscap SystemCapability.ArkUI.ArkUI.Full
677   * @crossplatform
678   * @atomicservice
679   * @since 11
680   */
681  cancel?: () => void;
682
683  /**
684   * Alignment in the vertical direction.
685   *
686   * @type { ?DialogAlignment }
687   * @syscap SystemCapability.ArkUI.ArkUI.Full
688   * @since 7
689   */
690  /**
691   * Alignment in the vertical direction.
692   *
693   * @type { ?DialogAlignment }
694   * @syscap SystemCapability.ArkUI.ArkUI.Full
695   * @crossplatform
696   * @since 10
697   */
698  /**
699   * Alignment in the vertical direction.
700   *
701   * @type { ?DialogAlignment }
702   * @syscap SystemCapability.ArkUI.ArkUI.Full
703   * @crossplatform
704   * @atomicservice
705   * @since 11
706   */
707  alignment?: DialogAlignment;
708
709  /**
710   * Offset of the pop-up window relative to the alignment position.
711   *
712   * @type { ?Offset }
713   * @syscap SystemCapability.ArkUI.ArkUI.Full
714   * @since 7
715   */
716  /**
717   * Offset of the pop-up window relative to the alignment position.
718   *
719   * @type { ?Offset }
720   * @syscap SystemCapability.ArkUI.ArkUI.Full
721   * @crossplatform
722   * @since 10
723   */
724  /**
725   * Offset of the pop-up window relative to the alignment position.
726   *
727   * @type { ?Offset }
728   * @syscap SystemCapability.ArkUI.ArkUI.Full
729   * @crossplatform
730   * @atomicservice
731   * @since 11
732   */
733  offset?: Offset;
734
735  /**
736   * Grid count of dialog.
737   *
738   * @type { ?number }
739   * @syscap SystemCapability.ArkUI.ArkUI.Full
740   * @since 7
741   */
742  /**
743   * Grid count of dialog.
744   *
745   * @type { ?number }
746   * @syscap SystemCapability.ArkUI.ArkUI.Full
747   * @crossplatform
748   * @since 10
749   */
750  /**
751   * Grid count of dialog.
752   *
753   * @type { ?number }
754   * @syscap SystemCapability.ArkUI.ArkUI.Full
755   * @crossplatform
756   * @atomicservice
757   * @since 11
758   */
759  gridCount?: number;
760
761  /**
762   * Mask Region of dialog. The size cannot exceed the main window.
763   *
764   * @type { ?Rectangle }
765   * @syscap SystemCapability.ArkUI.ArkUI.Full
766   * @crossplatform
767   * @since 10
768   */
769  /**
770   * Mask Region of dialog. The size cannot exceed the main window.
771   *
772   * @type { ?Rectangle }
773   * @syscap SystemCapability.ArkUI.ArkUI.Full
774   * @crossplatform
775   * @atomicservice
776   * @since 11
777   */
778  maskRect?: Rectangle;
779
780  /**
781   * Whether to display in the sub window.
782   *
783   * @type { ?boolean }
784   * @default false
785   * @syscap SystemCapability.ArkUI.ArkUI.Full
786   * @crossplatform
787   * @since 11
788   */
789  /**
790   * Whether to display in the sub window.
791   *
792   * @type { ?boolean }
793   * @default false
794   * @syscap SystemCapability.ArkUI.ArkUI.Full
795   * @crossplatform
796   * @atomicservice
797   * @since 12
798   */
799  showInSubWindow?: boolean;
800
801  /**
802   * Whether it is a modal dialog
803   * @type { ?boolean }
804   * @default true
805   * @syscap SystemCapability.ArkUI.ArkUI.Full
806   * @crossplatform
807   * @since 11
808   */
809  /**
810   * Whether it is a modal dialog
811   * @type { ?boolean }
812   * @default true
813   * @syscap SystemCapability.ArkUI.ArkUI.Full
814   * @crossplatform
815   * @atomicservice
816   * @since 12
817   */
818  isModal?: boolean;
819
820  /**
821   * Defines the alertDialog's background color
822   *
823   * @type { ?ResourceColor }
824   * @default Color.Transparent
825   * @syscap SystemCapability.ArkUI.ArkUI.Full
826   * @crossplatform
827   * @since 11
828   */
829  /**
830   * Defines the alertDialog's background color
831   *
832   * @type { ?ResourceColor }
833   * @default Color.Transparent
834   * @syscap SystemCapability.ArkUI.ArkUI.Full
835   * @crossplatform
836   * @atomicservice
837   * @since 12
838   */
839  backgroundColor?: ResourceColor;
840
841  /**
842   * Defines the alertDialog's background blur Style
843   *
844   * @type { ?BlurStyle }
845   * @default BlurStyle.COMPONENT_ULTRA_THICK
846   * @syscap SystemCapability.ArkUI.ArkUI.Full
847   * @crossplatform
848   * @since 11
849   */
850  /**
851   * Defines the alertDialog's background blur Style
852   *
853   * @type { ?BlurStyle }
854   * @default BlurStyle.COMPONENT_ULTRA_THICK
855   * @syscap SystemCapability.ArkUI.ArkUI.Full
856   * @crossplatform
857   * @atomicservice
858   * @since 12
859   */
860  backgroundBlurStyle?: BlurStyle;
861
862    /**
863   * Callback function when the dialog interactive dismiss
864   *
865   * @type { ?Callback<DismissDialogAction> }
866   * @syscap SystemCapability.ArkUI.ArkUI.Full
867   * @crossplatform
868   * @atomicservice
869   * @since 12
870   */
871  onWillDismiss?: Callback<DismissDialogAction>;
872
873  /**
874   * Transition parameters of opening/closing AlertDialog.
875   *
876   * @type { ?TransitionEffect }
877   * @syscap SystemCapability.ArkUI.ArkUI.Full
878   * @crossplatform
879   * @atomicservice
880   * @since 12
881   */
882  transition?: TransitionEffect;
883
884  /**
885   * Defines the alertDialog's corner radius.
886   *
887   * @type { ?(Dimension | BorderRadiuses | LocalizedBorderRadiuses) }
888   * @syscap SystemCapability.ArkUI.ArkUI.Full
889   * @crossplatform
890   * @atomicservice
891   * @since 12
892   */
893  cornerRadius?: Dimension | BorderRadiuses | LocalizedBorderRadiuses;
894
895  /**
896   * Defines the alertDialog's width.
897   *
898   * @type { ?Dimension }
899   * @syscap SystemCapability.ArkUI.ArkUI.Full
900   * @crossplatform
901   * @atomicservice
902   * @since 12
903   */
904  width?: Dimension;
905
906  /**
907   * Defines the alertDialog's height.
908   *
909   * @type { ?Dimension }
910   * @syscap SystemCapability.ArkUI.ArkUI.Full
911   * @crossplatform
912   * @atomicservice
913   * @since 12
914   */
915  height?: Dimension;
916
917  /**
918   * Defines the alertDialog's border width.
919   *
920   * @type { ?(Dimension | EdgeWidths | LocalizedEdgeWidths) }
921   * @syscap SystemCapability.ArkUI.ArkUI.Full
922   * @crossplatform
923   * @atomicservice
924   * @since 12
925   */
926  borderWidth?: Dimension | EdgeWidths | LocalizedEdgeWidths;
927
928  /**
929   * Defines the alertDialog's border color.
930   *
931   * @type { ?(ResourceColor | EdgeColors | LocalizedEdgeColors) }
932   * @syscap SystemCapability.ArkUI.ArkUI.Full
933   * @crossplatform
934   * @atomicservice
935   * @since 12
936   */
937  borderColor?: ResourceColor | EdgeColors | LocalizedEdgeColors;
938
939  /**
940   * Defines the alertDialog's border style.
941   *
942   * @type { ?(BorderStyle | EdgeStyles) }
943   * @syscap SystemCapability.ArkUI.ArkUI.Full
944   * @crossplatform
945   * @atomicservice
946   * @since 12
947   */
948  borderStyle?: BorderStyle | EdgeStyles;
949
950  /**
951   * Defines the alertDialog's shadow.
952   *
953   * @type { ?(ShadowOptions | ShadowStyle) }
954   * @syscap SystemCapability.ArkUI.ArkUI.Full
955   * @crossplatform
956   * @atomicservice
957   * @since 12
958   */
959  shadow?: ShadowOptions | ShadowStyle;
960
961  /**
962   * Set the alertDialog's textStyle.
963   *
964   * @type { ?TextStyle }
965   * @syscap SystemCapability.ArkUI.ArkUI.Full
966   * @crossplatform
967   * @atomicservice
968   * @since 12
969   */
970  textStyle?: TextStyle;
971
972  /**
973   * Defines whether to respond to the hover mode.
974   *
975   * @type { ?boolean }
976   * @default false
977   * @syscap SystemCapability.ArkUI.ArkUI.Full
978   * @crossplatform
979   * @atomicservice
980   * @since 14
981   */
982  enableHoverMode?: boolean;
983
984  /**
985   * Defines the alertDialog's display area in hover mode.
986   *
987   * @type { ?HoverModeAreaType }
988   * @default HoverModeAreaType.BOTTOM_SCREEN
989   * @syscap SystemCapability.ArkUI.ArkUI.Full
990   * @crossplatform
991   * @atomicservice
992   * @since 14
993   */
994  hoverModeArea?: HoverModeAreaType;
995
996  /**
997   * Determine the display level of the dialog.
998   *
999   * @type { ?LevelMode }
1000   * @default LevelMode.OVERLAY
1001   * @syscap SystemCapability.ArkUI.ArkUI.Full
1002   * @crossplatform
1003   * @atomicservice
1004   * @since 15
1005   */
1006  levelMode?: LevelMode;
1007
1008  /**
1009   * The uniqueId of any node in the router or navigation page.
1010   *
1011   * @type { ?number }
1012   * @syscap SystemCapability.ArkUI.ArkUI.Full
1013   * @crossplatform
1014   * @atomicservice
1015   * @since 15
1016   */
1017  levelUniqueId?: number;
1018
1019  /**
1020   * Determine the immersive mode of the dialog.
1021   *
1022   * @type { ?ImmersiveMode }
1023   * @default ImmersiveMode.DEFAULT
1024   * @syscap SystemCapability.ArkUI.ArkUI.Full
1025   * @crossplatform
1026   * @atomicservice
1027   * @since 15
1028   */
1029  immersiveMode?: ImmersiveMode;
1030}
1031
1032/**
1033 * Defines the AlertDialog with confirm button.
1034 *
1035 * @interface AlertDialogParamWithConfirm
1036 * @syscap SystemCapability.ArkUI.ArkUI.Full
1037 * @since 7
1038 */
1039/**
1040 * Defines the AlertDialog with confirm button.
1041 *
1042 * @interface AlertDialogParamWithConfirm
1043 * @syscap SystemCapability.ArkUI.ArkUI.Full
1044 * @crossplatform
1045 * @since 10
1046 */
1047/**
1048 * Defines the AlertDialog with confirm button.
1049 *
1050 * @interface AlertDialogParamWithConfirm
1051 * @syscap SystemCapability.ArkUI.ArkUI.Full
1052 * @crossplatform
1053 * @atomicservice
1054 * @since 11
1055 */
1056declare interface AlertDialogParamWithConfirm extends AlertDialogParam {
1057  /**
1058   * Invoke the commit function.
1059   *
1060   * @type { ?object }
1061   * @syscap SystemCapability.ArkUI.ArkUI.Full
1062   * @since 7
1063   */
1064  /**
1065   * Invoke the commit function.
1066   *
1067   * @type { ?object }
1068   * @syscap SystemCapability.ArkUI.ArkUI.Full
1069   * @crossplatform
1070   * @since 10
1071   */
1072  /**
1073   * Invoke the commit function.
1074   *
1075   * @type { ?object }
1076   * @syscap SystemCapability.ArkUI.ArkUI.Full
1077   * @crossplatform
1078   * @atomicservice
1079   * @since 11
1080   */
1081  confirm?: {
1082    /**
1083     * Enable switch of confirmation button
1084     * @type { ?boolean }
1085     * @default true
1086     * @syscap SystemCapability.ArkUI.ArkUI.Full
1087     * @crossplatform
1088     * @since 10
1089     */
1090    /**
1091     * Enable switch of confirmation button
1092     * @type { ?boolean }
1093     * @default true
1094     * @syscap SystemCapability.ArkUI.ArkUI.Full
1095     * @crossplatform
1096     * @atomicservice
1097     * @since 11
1098     */
1099    enabled?: boolean;
1100
1101    /**
1102     * Default focus switch of confirmation button
1103     * @type { ?boolean }
1104     * @default false
1105     * @syscap SystemCapability.ArkUI.ArkUI.Full
1106     * @crossplatform
1107     * @since 10
1108     */
1109    /**
1110     * Default focus switch of confirmation button
1111     * @type { ?boolean }
1112     * @default false
1113     * @syscap SystemCapability.ArkUI.ArkUI.Full
1114     * @crossplatform
1115     * @atomicservice
1116     * @since 11
1117     */
1118    defaultFocus?: boolean;
1119
1120    /**
1121     * Style of confirmation button.
1122     * @type { ?DialogButtonStyle }
1123     * @default DialogButtonStyle.DEFAULT
1124     * @syscap SystemCapability.ArkUI.ArkUI.Full
1125     * @crossplatform
1126     * @since 10
1127     */
1128    /**
1129     * Style of confirmation button.
1130     * @type { ?DialogButtonStyle }
1131     * @default DialogButtonStyle.DEFAULT
1132     * @syscap SystemCapability.ArkUI.ArkUI.Full
1133     * @crossplatform
1134     * @atomicservice
1135     * @since 11
1136     */
1137    style?: DialogButtonStyle;
1138
1139    /**
1140     * Text content of the confirmation button.
1141     *
1142     * @type { ResourceStr }
1143     * @syscap SystemCapability.ArkUI.ArkUI.Full
1144     * @since 7
1145     */
1146    /**
1147     * Text content of the confirmation button.
1148     *
1149     * @type { ResourceStr }
1150     * @syscap SystemCapability.ArkUI.ArkUI.Full
1151     * @crossplatform
1152     * @since 10
1153     */
1154    /**
1155     * Text content of the confirmation button.
1156     *
1157     * @type { ResourceStr }
1158     * @syscap SystemCapability.ArkUI.ArkUI.Full
1159     * @crossplatform
1160     * @atomicservice
1161     * @since 11
1162     */
1163    value: ResourceStr;
1164
1165    /**
1166     * Text color of the confirmation button.
1167     *
1168     * @type { ?ResourceColor }
1169     * @syscap SystemCapability.ArkUI.ArkUI.Full
1170     * @since 7
1171     */
1172    /**
1173     * Text color of the confirmation button.
1174     *
1175     * @type { ?ResourceColor }
1176     * @syscap SystemCapability.ArkUI.ArkUI.Full
1177     * @crossplatform
1178     * @since 10
1179     */
1180    /**
1181     * Text color of the confirmation button.
1182     *
1183     * @type { ?ResourceColor }
1184     * @syscap SystemCapability.ArkUI.ArkUI.Full
1185     * @crossplatform
1186     * @atomicservice
1187     * @since 11
1188     */
1189    fontColor?: ResourceColor;
1190
1191    /**
1192     * Background color of the confirmation button.
1193     *
1194     * @type { ?ResourceColor }
1195     * @syscap SystemCapability.ArkUI.ArkUI.Full
1196     * @since 7
1197     */
1198    /**
1199     * Background color of the confirmation button.
1200     *
1201     * @type { ?ResourceColor }
1202     * @syscap SystemCapability.ArkUI.ArkUI.Full
1203     * @crossplatform
1204     * @since 10
1205     */
1206    /**
1207     * Background color of the confirmation button.
1208     *
1209     * @type { ?ResourceColor }
1210     * @syscap SystemCapability.ArkUI.ArkUI.Full
1211     * @crossplatform
1212     * @atomicservice
1213     * @since 11
1214     */
1215    backgroundColor?: ResourceColor;
1216
1217    /**
1218     * Method executed by the callback.
1219     *
1220     * @type { function }
1221     * @syscap SystemCapability.ArkUI.ArkUI.Full
1222     * @since 7
1223     */
1224    /**
1225     * Method executed by the callback.
1226     *
1227     * @type { function }
1228     * @syscap SystemCapability.ArkUI.ArkUI.Full
1229     * @crossplatform
1230     * @since 10
1231     */
1232    /**
1233     * Method executed by the callback.
1234     *
1235     * @type { function }
1236     * @syscap SystemCapability.ArkUI.ArkUI.Full
1237     * @crossplatform
1238     * @atomicservice
1239     * @since 11
1240     */
1241    action: () => void;
1242  };
1243}
1244
1245/**
1246 * Component dialog dismiss action.
1247 *
1248 * @interface DismissDialogAction
1249 * @syscap SystemCapability.ArkUI.ArkUI.Full
1250 * @crossplatform
1251 * @atomicservice
1252 * @since 12
1253 */
1254declare interface DismissDialogAction {
1255  /**
1256   * Defines dialog dismiss function.
1257   *
1258   * @type { Callback<void> }
1259   * @syscap SystemCapability.ArkUI.ArkUI.Full
1260   * @crossplatform
1261   * @atomicservice
1262   * @since 12
1263   */
1264  dismiss: Callback<void>;
1265
1266  /**
1267   * Dismiss reason type.
1268   *
1269   * @type { DismissReason }
1270   * @syscap SystemCapability.ArkUI.ArkUI.Full
1271   * @crossplatform
1272   * @atomicservice
1273   * @since 12
1274   */
1275  reason: DismissReason;
1276}
1277
1278/**
1279 * Defines the dialog param with buttons.
1280 *
1281 * @interface AlertDialogParamWithButtons
1282 * @syscap SystemCapability.ArkUI.ArkUI.Full
1283 * @since 7
1284 */
1285/**
1286 * Defines the dialog param with buttons.
1287 *
1288 * @interface AlertDialogParamWithButtons
1289 * @syscap SystemCapability.ArkUI.ArkUI.Full
1290 * @crossplatform
1291 * @since 10
1292 */
1293/**
1294 * Defines the dialog param with buttons.
1295 *
1296 * @interface AlertDialogParamWithButtons
1297 * @syscap SystemCapability.ArkUI.ArkUI.Full
1298 * @crossplatform
1299 * @atomicservice
1300 * @since 11
1301 */
1302declare interface AlertDialogParamWithButtons extends AlertDialogParam {
1303  /**
1304   * First button.
1305   *
1306   * @type { object }
1307   * @syscap SystemCapability.ArkUI.ArkUI.Full
1308   * @since 7
1309   */
1310  /**
1311   * First button.
1312   *
1313   * @type { object }
1314   * @syscap SystemCapability.ArkUI.ArkUI.Full
1315   * @crossplatform
1316   * @since 10
1317   */
1318  /**
1319   * First button.
1320   *
1321   * @type { object }
1322   * @syscap SystemCapability.ArkUI.ArkUI.Full
1323   * @crossplatform
1324   * @atomicservice
1325   * @since 11
1326   */
1327  primaryButton: {
1328    /**
1329     * Enable switch of primaryButton
1330     * @type { ?boolean }
1331     * @default true
1332     * @syscap SystemCapability.ArkUI.ArkUI.Full
1333     * @crossplatform
1334     * @since 10
1335     */
1336    /**
1337     * Enable switch of primaryButton
1338     * @type { ?boolean }
1339     * @default true
1340     * @syscap SystemCapability.ArkUI.ArkUI.Full
1341     * @crossplatform
1342     * @atomicservice
1343     * @since 11
1344     */
1345    enabled?: boolean;
1346
1347    /**
1348     * Default focus switch of primaryButton button
1349     * @type { ?boolean }
1350     * @default false
1351     * @syscap SystemCapability.ArkUI.ArkUI.Full
1352     * @crossplatform
1353     * @since 10
1354     */
1355    /**
1356     * Default focus switch of primaryButton button
1357     * @type { ?boolean }
1358     * @default false
1359     * @syscap SystemCapability.ArkUI.ArkUI.Full
1360     * @crossplatform
1361     * @atomicservice
1362     * @since 11
1363     */
1364    defaultFocus?: boolean;
1365
1366    /**
1367     * Style of primaryButton button.
1368     * @type { ?DialogButtonStyle }
1369     * @default DialogButtonStyle.DEFAULT
1370     * @syscap SystemCapability.ArkUI.ArkUI.Full
1371     * @crossplatform
1372     * @since 10
1373     */
1374    /**
1375     * Style of primaryButton button.
1376     * @type { ?DialogButtonStyle }
1377     * @default DialogButtonStyle.DEFAULT
1378     * @syscap SystemCapability.ArkUI.ArkUI.Full
1379     * @crossplatform
1380     * @atomicservice
1381     * @since 11
1382     */
1383    style?: DialogButtonStyle;
1384
1385    /**
1386     * Text content of the confirmation button.
1387     *
1388     * @type { ResourceStr }
1389     * @syscap SystemCapability.ArkUI.ArkUI.Full
1390     * @since 7
1391     */
1392    /**
1393     * Text content of the confirmation button.
1394     *
1395     * @type { ResourceStr }
1396     * @syscap SystemCapability.ArkUI.ArkUI.Full
1397     * @crossplatform
1398     * @since 10
1399     */
1400    /**
1401     * Text content of the confirmation button.
1402     *
1403     * @type { ResourceStr }
1404     * @syscap SystemCapability.ArkUI.ArkUI.Full
1405     * @crossplatform
1406     * @atomicservice
1407     * @since 11
1408     */
1409    value: ResourceStr;
1410
1411    /**
1412     * Text color of the confirmation button.
1413     *
1414     * @type { ?ResourceColor }
1415     * @syscap SystemCapability.ArkUI.ArkUI.Full
1416     * @since 7
1417     */
1418    /**
1419     * Text color of the confirmation button.
1420     *
1421     * @type { ?ResourceColor }
1422     * @syscap SystemCapability.ArkUI.ArkUI.Full
1423     * @crossplatform
1424     * @since 10
1425     */
1426    /**
1427     * Text color of the confirmation button.
1428     *
1429     * @type { ?ResourceColor }
1430     * @syscap SystemCapability.ArkUI.ArkUI.Full
1431     * @crossplatform
1432     * @atomicservice
1433     * @since 11
1434     */
1435    fontColor?: ResourceColor;
1436
1437    /**
1438     * Background color of the confirmation button.
1439     *
1440     * @type { ?ResourceColor }
1441     * @syscap SystemCapability.ArkUI.ArkUI.Full
1442     * @since 7
1443     */
1444    /**
1445     * Background color of the confirmation button.
1446     *
1447     * @type { ?ResourceColor }
1448     * @syscap SystemCapability.ArkUI.ArkUI.Full
1449     * @crossplatform
1450     * @since 10
1451     */
1452    /**
1453     * Background color of the confirmation button.
1454     *
1455     * @type { ?ResourceColor }
1456     * @syscap SystemCapability.ArkUI.ArkUI.Full
1457     * @crossplatform
1458     * @atomicservice
1459     * @since 11
1460     */
1461    backgroundColor?: ResourceColor;
1462
1463    /**
1464     * Method executed by the callback.
1465     *
1466     * @type { function }
1467     * @syscap SystemCapability.ArkUI.ArkUI.Full
1468     * @since 7
1469     */
1470    /**
1471     * Method executed by the callback.
1472     *
1473     * @type { function }
1474     * @syscap SystemCapability.ArkUI.ArkUI.Full
1475     * @crossplatform
1476     * @since 10
1477     */
1478    /**
1479     * Method executed by the callback.
1480     *
1481     * @type { function }
1482     * @syscap SystemCapability.ArkUI.ArkUI.Full
1483     * @crossplatform
1484     * @atomicservice
1485     * @since 11
1486     */
1487    action: () => void;
1488  };
1489
1490  /**
1491   * Second button.
1492   *
1493   * @type { object }
1494   * @syscap SystemCapability.ArkUI.ArkUI.Full
1495   * @since 7
1496   */
1497  /**
1498   * Second button.
1499   *
1500   * @type { object }
1501   * @syscap SystemCapability.ArkUI.ArkUI.Full
1502   * @crossplatform
1503   * @since 10
1504   */
1505  /**
1506   * Second button.
1507   *
1508   * @type { object }
1509   * @syscap SystemCapability.ArkUI.ArkUI.Full
1510   * @crossplatform
1511   * @atomicservice
1512   * @since 11
1513   */
1514  secondaryButton: {
1515    /**
1516     * Enable switch of secondaryButton
1517     * @type { ?boolean }
1518     * @default true
1519     * @syscap SystemCapability.ArkUI.ArkUI.Full
1520     * @crossplatform
1521     * @since 10
1522     */
1523    /**
1524     * Enable switch of secondaryButton
1525     * @type { ?boolean }
1526     * @default true
1527     * @syscap SystemCapability.ArkUI.ArkUI.Full
1528     * @crossplatform
1529     * @atomicservice
1530     * @since 11
1531     */
1532    enabled?: boolean;
1533
1534    /**
1535     * Default focus switch of secondaryButton button
1536     * @type { ?boolean }
1537     * @default false
1538     * @syscap SystemCapability.ArkUI.ArkUI.Full
1539     * @crossplatform
1540     * @since 10
1541     */
1542    /**
1543     * Default focus switch of secondaryButton button
1544     * @type { ?boolean }
1545     * @default false
1546     * @syscap SystemCapability.ArkUI.ArkUI.Full
1547     * @crossplatform
1548     * @atomicservice
1549     * @since 11
1550     */
1551    defaultFocus?: boolean;
1552
1553    /**
1554     * Style of secondaryButton button.
1555     * @type { ?DialogButtonStyle }
1556     * @default DialogButtonStyle.DEFAULT
1557     * @syscap SystemCapability.ArkUI.ArkUI.Full
1558     * @crossplatform
1559     * @since 10
1560     */
1561    /**
1562     * Style of secondaryButton button.
1563     * @type { ?DialogButtonStyle }
1564     * @default DialogButtonStyle.DEFAULT
1565     * @syscap SystemCapability.ArkUI.ArkUI.Full
1566     * @crossplatform
1567     * @atomicservice
1568     * @since 11
1569     */
1570    style?: DialogButtonStyle;
1571
1572    /**
1573     * Text content of the confirmation button.
1574     *
1575     * @type { ResourceStr }
1576     * @syscap SystemCapability.ArkUI.ArkUI.Full
1577     * @since 7
1578     */
1579    /**
1580     * Text content of the confirmation button.
1581     *
1582     * @type { ResourceStr }
1583     * @syscap SystemCapability.ArkUI.ArkUI.Full
1584     * @crossplatform
1585     * @since 10
1586     */
1587    /**
1588     * Text content of the confirmation button.
1589     *
1590     * @type { ResourceStr }
1591     * @syscap SystemCapability.ArkUI.ArkUI.Full
1592     * @crossplatform
1593     * @atomicservice
1594     * @since 11
1595     */
1596    value: ResourceStr;
1597
1598    /**
1599     * Text color of the confirmation button.
1600     *
1601     * @type { ?ResourceColor }
1602     * @syscap SystemCapability.ArkUI.ArkUI.Full
1603     * @since 7
1604     */
1605    /**
1606     * Text color of the confirmation button.
1607     *
1608     * @type { ?ResourceColor }
1609     * @syscap SystemCapability.ArkUI.ArkUI.Full
1610     * @crossplatform
1611     * @since 10
1612     */
1613    /**
1614     * Text color of the confirmation button.
1615     *
1616     * @type { ?ResourceColor }
1617     * @syscap SystemCapability.ArkUI.ArkUI.Full
1618     * @crossplatform
1619     * @atomicservice
1620     * @since 11
1621     */
1622    fontColor?: ResourceColor;
1623
1624    /**
1625     * Background color of the confirmation button.
1626     *
1627     * @type { ?ResourceColor }
1628     * @syscap SystemCapability.ArkUI.ArkUI.Full
1629     * @since 7
1630     */
1631    /**
1632     * Background color of the confirmation button.
1633     *
1634     * @type { ?ResourceColor }
1635     * @syscap SystemCapability.ArkUI.ArkUI.Full
1636     * @crossplatform
1637     * @since 10
1638     */
1639    /**
1640     * Background color of the confirmation button.
1641     *
1642     * @type { ?ResourceColor }
1643     * @syscap SystemCapability.ArkUI.ArkUI.Full
1644     * @crossplatform
1645     * @atomicservice
1646     * @since 11
1647     */
1648    backgroundColor?: ResourceColor;
1649
1650    /**
1651     * Method executed by the callback.
1652     *
1653     * @type { function }
1654     * @syscap SystemCapability.ArkUI.ArkUI.Full
1655     * @since 7
1656     */
1657    /**
1658     * Method executed by the callback.
1659     *
1660     * @type { function }
1661     * @syscap SystemCapability.ArkUI.ArkUI.Full
1662     * @crossplatform
1663     * @since 10
1664     */
1665    /**
1666     * Method executed by the callback.
1667     *
1668     * @type { function }
1669     * @syscap SystemCapability.ArkUI.ArkUI.Full
1670     * @crossplatform
1671     * @atomicservice
1672     * @since 11
1673     */
1674    action: () => void;
1675  };
1676}
1677
1678/**
1679 * Defines the dialog param with options.
1680 *
1681 * @interface AlertDialogParamWithOptions
1682 * @syscap SystemCapability.ArkUI.ArkUI.Full
1683 * @crossplatform
1684 * @since 10
1685 */
1686/**
1687 * Defines the dialog param with options.
1688 *
1689 * @interface AlertDialogParamWithOptions
1690 * @syscap SystemCapability.ArkUI.ArkUI.Full
1691 * @crossplatform
1692 * @atomicservice
1693 * @since 11
1694 */
1695declare interface AlertDialogParamWithOptions extends AlertDialogParam {
1696  /**
1697   * The array of buttons.
1698   * @type { Array<AlertDialogButtonOptions> }
1699   * @syscap SystemCapability.ArkUI.ArkUI.Full
1700   * @crossplatform
1701   * @since 10
1702   */
1703  /**
1704   * The array of buttons.
1705   * @type { Array<AlertDialogButtonOptions> }
1706   * @syscap SystemCapability.ArkUI.ArkUI.Full
1707   * @crossplatform
1708   * @atomicservice
1709   * @since 11
1710   */
1711  buttons: Array<AlertDialogButtonOptions>;
1712
1713  /**
1714   * The arrangement of buttons.
1715   * @type { ?DialogButtonDirection }
1716   * @default DialogButtonDirection.AUTO
1717   * @syscap SystemCapability.ArkUI.ArkUI.Full
1718   * @crossplatform
1719   * @since 10
1720   */
1721  /**
1722   * The arrangement of buttons.
1723   * @type { ?DialogButtonDirection }
1724   * @default DialogButtonDirection.AUTO
1725   * @syscap SystemCapability.ArkUI.ArkUI.Full
1726   * @crossplatform
1727   * @atomicservice
1728   * @since 11
1729   */
1730  buttonDirection?: DialogButtonDirection;
1731}
1732
1733/**
1734 * Defines AlertDialog which uses show method to show alert dialog.
1735 *
1736 * @syscap SystemCapability.ArkUI.ArkUI.Full
1737 * @since 7
1738 */
1739/**
1740 * Defines AlertDialog which uses show method to show alert dialog.
1741 *
1742 * @syscap SystemCapability.ArkUI.ArkUI.Full
1743 * @crossplatform
1744 * @since 10
1745 */
1746/**
1747 * Defines AlertDialog which uses show method to show alert dialog.
1748 *
1749 * @syscap SystemCapability.ArkUI.ArkUI.Full
1750 * @crossplatform
1751 * @atomicservice
1752 * @since 11
1753 */
1754declare class AlertDialog {
1755  /**
1756   * Invoking method display.
1757   *
1758   * @param { AlertDialogParamWithConfirm | AlertDialogParamWithButtons } value
1759   * @syscap SystemCapability.ArkUI.ArkUI.Full
1760   * @since 7
1761   */
1762  /**
1763   * Invoking method display.
1764   *
1765   * @param { AlertDialogParamWithConfirm | AlertDialogParamWithButtons | AlertDialogParamWithOptions} value
1766   * @syscap SystemCapability.ArkUI.ArkUI.Full
1767   * @crossplatform
1768   * @since 10
1769   */
1770  /**
1771   * Invoking method display.
1772   *
1773   * @param { AlertDialogParamWithConfirm | AlertDialogParamWithButtons | AlertDialogParamWithOptions} value
1774   * @syscap SystemCapability.ArkUI.ArkUI.Full
1775   * @crossplatform
1776   * @atomicservice
1777   * @since 11
1778   */
1779  static show(value: AlertDialogParamWithConfirm | AlertDialogParamWithButtons | AlertDialogParamWithOptions);
1780}
1781
1782