• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2* Copyright (C) 2023-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
23
24import { Theme, CustomTheme } from '@ohos.arkui.theme';
25
26/**
27 * Declare ButtonOptions
28 * @syscap SystemCapability.ArkUI.ArkUI.Full
29 * @since 10
30 */
31
32
33/**
34 * Declare ButtonOptions
35 * @syscap SystemCapability.ArkUI.ArkUI.Full
36 * @atomicservice
37 * @since 11
38 */
39/**
40 * Declare ButtonOptions
41 * @syscap SystemCapability.ArkUI.ArkUI.Full
42 * @crossplatform
43 * @atomicservice
44 * @since 18
45 */
46export declare class ButtonOptions {
47  /**
48   * Sets the Display Content of a Button.
49   * @type { ResourceStr }.
50   * @syscap SystemCapability.ArkUI.ArkUI.Full
51   * @since 10
52   */
53  /**
54   * Sets the Display Content of a Button.
55   * @type { ResourceStr }.
56   * @syscap SystemCapability.ArkUI.ArkUI.Full
57   * @atomicservice
58   * @since 11
59   */
60  /**
61   * Sets the Display Content of a Button.
62   * @type { ResourceStr }.
63   * @syscap SystemCapability.ArkUI.ArkUI.Full
64   * @crossplatform
65   * @atomicservice
66   * @since 18
67   */
68  value: ResourceStr;
69  /**
70   * Sets the Button Callback.
71   * @type { ?() => void }.
72   * @syscap SystemCapability.ArkUI.ArkUI.Full
73   * @since 10
74   */
75  /**
76   * Sets the Button Callback.
77   * @type { ?() => void }.
78   * @syscap SystemCapability.ArkUI.ArkUI.Full
79   * @atomicservice
80   * @since 11
81   */
82  /**
83   * Sets the Button Callback.
84   * @type { ?() => void }.
85   * @syscap SystemCapability.ArkUI.ArkUI.Full
86   * @crossplatform
87   * @atomicservice
88   * @since 18
89   */
90  action?: () => void;
91  /**
92   * Sets the background color of a button.
93   * @type { ?ResourceStr }.
94   * @syscap SystemCapability.ArkUI.ArkUI.Full
95   * @since 10
96   */
97  /**
98   * Sets the background color of a button.
99   * @type { ?ResourceStr }.
100   * @syscap SystemCapability.ArkUI.ArkUI.Full
101   * @atomicservice
102   * @since 11
103   */
104  /**
105   * Sets the background color of a button.
106   * @type { ?ResourceStr }.
107   * @syscap SystemCapability.ArkUI.ArkUI.Full
108   * @crossplatform
109   * @atomicservice
110   * @since 18
111   */
112  background?: ResourceColor;
113  /**
114   * Sets the Button Text Color.
115   * @type { ?ResourceStr }.
116   * @syscap SystemCapability.ArkUI.ArkUI.Full
117   * @since 10
118   */
119  /**
120   * Sets the Button Text Color.
121   * @type { ?ResourceStr }.
122   * @syscap SystemCapability.ArkUI.ArkUI.Full
123   * @atomicservice
124   * @since 11
125   */
126  /**
127   * Sets the Button Text Color.
128   * @type { ?ResourceStr }.
129   * @syscap SystemCapability.ArkUI.ArkUI.Full
130   * @crossplatform
131   * @atomicservice
132   * @since 18
133   */
134  fontColor?: ResourceColor;
135  /**
136   * Describes the Button style.
137   * @type { ?ButtonStyleMode }
138   * @default ButtonStyleMode.TEXTUAL
139   * @syscap SystemCapability.ArkUI.ArkUI.Full
140   * @crossplatform
141   * @atomicservice
142   * @since 12
143   */
144  buttonStyle?: ButtonStyleMode;
145  /**
146   * Describes the Button role.
147   * @type { ?ButtonRole }
148   * @default ButtonRole.NORMAL
149   * @syscap SystemCapability.ArkUI.ArkUI.Full
150   * @crossplatform
151   * @atomicservice
152   * @since 12
153   */
154  role?: ButtonRole;
155  /**
156   * Set the default focus of a button.
157   * @type { ?boolean }
158   * @default { false }
159   * @syscap SystemCapability.ArkUI.ArkUI.Full
160   * @crossplatform
161   * @atomicservice
162   * @since 18
163   */
164  defaultFocus?: boolean;
165}
166/**
167 * Declare CustomDialog TipsDialog
168 * @syscap SystemCapability.ArkUI.ArkUI.Full
169 * @since 10
170 */
171/**
172 * Declare CustomDialog TipsDialog
173 * @syscap SystemCapability.ArkUI.ArkUI.Full
174 * @atomicservice
175 * @since 11
176 */
177/**
178 * Declare CustomDialog TipsDialog
179 * @syscap SystemCapability.ArkUI.ArkUI.Full
180 * @crossplatform
181 * @atomicservice
182 * @since 18
183 */
184@CustomDialog
185export declare struct TipsDialog {
186  /**
187   * Sets the TipsDialog Controller.
188   * @type { CustomDialogController }.
189   * @syscap SystemCapability.ArkUI.ArkUI.Full
190   * @since 10
191   */
192  /**
193   * Sets the TipsDialog Controller.
194   * @type { CustomDialogController }.
195   * @syscap SystemCapability.ArkUI.ArkUI.Full
196   * @atomicservice
197   * @since 11
198   */
199  /**
200   * Sets the TipsDialog Controller.
201   * @type { CustomDialogController }.
202   * @syscap SystemCapability.ArkUI.ArkUI.Full
203   * @crossplatform
204   * @atomicservice
205   * @since 18
206   */
207  controller: CustomDialogController;
208  /**
209   * Sets the TipsDialog imageRes.
210   * @type { Resource }.
211   * @syscap SystemCapability.ArkUI.ArkUI.Full
212   * @since 10
213   */
214  /**
215   * Sets the TipsDialog imageRes.
216   * @type { Resource }.
217   * @syscap SystemCapability.ArkUI.ArkUI.Full
218   * @atomicservice
219   * @since 11
220   */
221  /**
222   * Sets the TipsDialog imageRes.
223   * @type { ResourceStr | PixelMap }
224   * @syscap SystemCapability.ArkUI.ArkUI.Full
225   * @atomicservice
226   * @since 12
227   */
228  /**
229   * Sets the TipsDialog imageRes.
230   * @type { ResourceStr | PixelMap }
231   * @syscap SystemCapability.ArkUI.ArkUI.Full
232   * @crossplatform
233   * @atomicservice
234   * @since 18
235   */
236  imageRes: ResourceStr | PixelMap;
237  /**
238   * Sets the TipsDialog image size.
239   * @type { SizeOptions }.
240   * @syscap SystemCapability.ArkUI.ArkUI.Full
241   * @since 10
242   */
243  /**
244   * Sets the TipsDialog image size.
245   * @type { SizeOptions }.
246   * @syscap SystemCapability.ArkUI.ArkUI.Full
247   * @atomicservice
248   * @since 11
249   */
250  /**
251   * Sets the TipsDialog image size.
252   * @type { ?SizeOptions }.
253   * @syscap SystemCapability.ArkUI.ArkUI.Full
254   * @atomicservice
255   * @since 12
256   */
257  /**
258   * Sets the TipsDialog image size.
259   * @type { ?SizeOptions }.
260   * @syscap SystemCapability.ArkUI.ArkUI.Full
261   * @crossplatform
262   * @atomicservice
263   * @since 18
264   */
265  imageSize?: SizeOptions;
266  /**
267   * Sets the TipsDialog title.
268   * @type { ResourceStr }.
269   * @syscap SystemCapability.ArkUI.ArkUI.Full
270   * @since 10
271   */
272  /**
273   * Sets the TipsDialog title.
274   * @type { ResourceStr }.
275   * @syscap SystemCapability.ArkUI.ArkUI.Full
276   * @atomicservice
277   * @since 11
278   */
279  /**
280   * Sets the TipsDialog title.
281   * @type { ?ResourceStr }.
282   * @syscap SystemCapability.ArkUI.ArkUI.Full
283   * @atomicservice
284   * @since 12
285   */
286  /**
287   * Sets the TipsDialog title.
288   * @type { ?ResourceStr }.
289   * @syscap SystemCapability.ArkUI.ArkUI.Full
290   * @crossplatform
291   * @atomicservice
292   * @since 18
293   */
294  title?: ResourceStr;
295  /**
296   * Sets the TipsDialog content.
297   * @type { ?ResourceStr }.
298   * @syscap SystemCapability.ArkUI.ArkUI.Full
299   * @since 10
300   */
301  /**
302   * Sets the TipsDialog content.
303   * @type { ?ResourceStr }.
304   * @syscap SystemCapability.ArkUI.ArkUI.Full
305   * @atomicservice
306   * @since 11
307   */
308  /**
309   * Sets the TipsDialog content.
310   * @type { ?ResourceStr }.
311   * @syscap SystemCapability.ArkUI.ArkUI.Full
312   * @crossplatform
313   * @atomicservice
314   * @since 18
315   */
316  content?: ResourceStr;
317  /**
318   * Sets the TipsDialog checkbox tips.
319   * @type { ?ResourceStr }.
320   * @syscap SystemCapability.ArkUI.ArkUI.Full
321   * @since 10
322   */
323  /**
324   * Sets the TipsDialog checkbox tips.
325   * @type { ?ResourceStr }.
326   * @syscap SystemCapability.ArkUI.ArkUI.Full
327   * @atomicservice
328   * @since 11
329   */
330  /**
331   * Sets the TipsDialog checkbox tips.
332   * @type { ?ResourceStr }.
333   * @syscap SystemCapability.ArkUI.ArkUI.Full
334   * @crossplatform
335   * @atomicservice
336   * @since 18
337   */
338  checkTips?: ResourceStr;
339  /**
340   * Sets the TipsDialog checkbox check state.
341   * @type { ?boolean }.
342   * @syscap SystemCapability.ArkUI.ArkUI.Full
343   * @since 10
344   */
345  /**
346   * Sets the TipsDialog checkbox check state.
347   * @type { ?boolean }.
348   * @syscap SystemCapability.ArkUI.ArkUI.Full
349   * @atomicservice
350   * @since 11
351   */
352  /**
353   * Sets the TipsDialog checkbox check state.
354   * @type { ?boolean }.
355   * @syscap SystemCapability.ArkUI.ArkUI.Full
356   * @crossplatform
357   * @atomicservice
358   * @since 18
359   */
360  @Prop isChecked?: boolean;
361  /**
362   * Sets the TipsDialog CheckBox Callback.
363   * @type { ?(isChecked: boolean) => void }.
364   * @syscap SystemCapability.ArkUI.ArkUI.Full
365   * @atomicservice
366   * @since 12
367   */
368  /**
369   * Sets the TipsDialog CheckBox Callback.
370   * @type { ?(isChecked: boolean) => void }.
371   * @syscap SystemCapability.ArkUI.ArkUI.Full
372   * @crossplatform
373   * @atomicservice
374   * @since 18
375   */
376  checkAction?: (isChecked: boolean) => void;
377  /**
378   * Sets the TipsDialog primary button.
379   * @type { ?ButtonOptions }.
380   * @syscap SystemCapability.ArkUI.ArkUI.Full
381   * @since 10
382   */
383  /**
384   * Sets the TipsDialog primary button.
385   * @type { ?ButtonOptions }.
386   * @syscap SystemCapability.ArkUI.ArkUI.Full
387   * @atomicservice
388   * @since 11
389   */
390  /**
391   * Sets the TipsDialog primary button.
392   * @type { ?ButtonOptions }.
393   * @syscap SystemCapability.ArkUI.ArkUI.Full
394   * @crossplatform
395   * @atomicservice
396   * @since 18
397   */
398  primaryButton?: ButtonOptions;
399  /**
400   * Sets the TipsDialog secondary button.
401   * @type { ?ButtonOptions }.
402   * @syscap SystemCapability.ArkUI.ArkUI.Full
403   * @since 10
404   */
405  /**
406   * Sets the TipsDialog secondary button.
407   * @type { ?ButtonOptions }.
408   * @syscap SystemCapability.ArkUI.ArkUI.Full
409   * @atomicservice
410   * @since 11
411   */
412  /**
413   * Sets the TipsDialog secondary button.
414   * @type { ?ButtonOptions }.
415   * @syscap SystemCapability.ArkUI.ArkUI.Full
416   * @crossplatform
417   * @atomicservice
418   * @since 18
419   */
420  secondaryButton?: ButtonOptions;
421  /**
422   * Custom Theme.
423   *
424   * @type { ?(Theme | CustomTheme) }
425   * @syscap SystemCapability.ArkUI.ArkUI.Full
426   * @crossplatform
427   * @atomicservice
428   * @since 12
429   */
430  theme?: Theme | CustomTheme;
431  /**
432   * Sets the TipsDialog dark or light Mode.
433   *
434   * @type { ?ThemeColorMode }
435   * @syscap SystemCapability.ArkUI.ArkUI.Full
436   * @crossplatform
437   * @atomicservice
438   * @since 12
439   */
440  themeColorMode?: ThemeColorMode;
441  /**
442   * Sets the TipsDialog CheckBox Callback.
443   * @type { ?Callback<boolean> }
444   * @syscap SystemCapability.ArkUI.ArkUI.Full
445   * @atomicservice
446   * @since 12
447   */
448  /**
449   * Sets the TipsDialog CheckBox Callback.
450   * @type { ?Callback<boolean> }
451   * @syscap SystemCapability.ArkUI.ArkUI.Full
452   * @crossplatform
453   * @atomicservice
454   * @since 18
455   */
456  onCheckedChange?: Callback<boolean>;
457}
458
459/**
460 * Declare CustomDialog SelectDialog
461 * @syscap SystemCapability.ArkUI.ArkUI.Full
462 * @since 10
463 */
464/**
465 * Declare CustomDialog SelectDialog
466 * @syscap SystemCapability.ArkUI.ArkUI.Full
467 * @atomicservice
468 * @since 11
469 */
470/**
471 * Declare CustomDialog SelectDialog
472 * @syscap SystemCapability.ArkUI.ArkUI.Full
473 * @crossplatform
474 * @atomicservice
475 * @since 18
476 */
477@CustomDialog
478export declare struct SelectDialog {
479  /**
480   * Sets the SelectDialog Controller.
481   * @type { CustomDialogController }.
482   * @syscap SystemCapability.ArkUI.ArkUI.Full
483   * @since 10
484   */
485  /**
486   * Sets the SelectDialog Controller.
487   * @type { CustomDialogController }.
488   * @syscap SystemCapability.ArkUI.ArkUI.Full
489   * @atomicservice
490   * @since 11
491   */
492  /**
493   * Sets the SelectDialog Controller.
494   * @type { CustomDialogController }.
495   * @syscap SystemCapability.ArkUI.ArkUI.Full
496   * @crossplatform
497   * @atomicservice
498   * @since 18
499   */
500  controller: CustomDialogController;
501  /**
502   * Sets the SelectDialog title.
503   * @type { ResourceStr }.
504   * @syscap SystemCapability.ArkUI.ArkUI.Full
505   * @since 10
506   */
507  /**
508   * Sets the SelectDialog title.
509   * @type { ResourceStr }.
510   * @syscap SystemCapability.ArkUI.ArkUI.Full
511   * @atomicservice
512   * @since 11
513   */
514  /**
515   * Sets the SelectDialog title.
516   * @type { ResourceStr }.
517   * @syscap SystemCapability.ArkUI.ArkUI.Full
518   * @crossplatform
519   * @atomicservice
520   * @since 18
521   */
522  title: ResourceStr;
523  /**
524   * Sets the SelectDialog content.
525   * @type { ?ResourceStr }.
526   * @syscap SystemCapability.ArkUI.ArkUI.Full
527   * @since 10
528   */
529  /**
530   * Sets the SelectDialog content.
531   * @type { ?ResourceStr }.
532   * @syscap SystemCapability.ArkUI.ArkUI.Full
533   * @atomicservice
534   * @since 11
535   */
536  /**
537   * Sets the SelectDialog content.
538   * @type { ?ResourceStr }.
539   * @syscap SystemCapability.ArkUI.ArkUI.Full
540   * @crossplatform
541   * @atomicservice
542   * @since 18
543   */
544  content?: ResourceStr;
545  /**
546   * Sets the SelectDialog selected index.
547   * @type { ?number }.
548   * @syscap SystemCapability.ArkUI.ArkUI.Full
549   * @since 10
550   */
551  /**
552   * Sets the SelectDialog selected index.
553   * @type { ?number }.
554   * @syscap SystemCapability.ArkUI.ArkUI.Full
555   * @atomicservice
556   * @since 11
557   */
558  /**
559   * Sets the SelectDialog selected index.
560   * @type { ?number }.
561   * @syscap SystemCapability.ArkUI.ArkUI.Full
562   * @crossplatform
563   * @atomicservice
564   * @since 18
565   */
566  selectedIndex?: number;
567  /**
568   * Sets the SelectDialog confirm button.
569   * @type { ?ButtonOptions }.
570   * @syscap SystemCapability.ArkUI.ArkUI.Full
571   * @since 10
572   */
573  /**
574   * Sets the SelectDialog confirm button.
575   * @type { ?ButtonOptions }.
576   * @syscap SystemCapability.ArkUI.ArkUI.Full
577   * @atomicservice
578   * @since 11
579   */
580  /**
581   * Sets the SelectDialog confirm button.
582   * @type { ?ButtonOptions }.
583   * @syscap SystemCapability.ArkUI.ArkUI.Full
584   * @crossplatform
585   * @atomicservice
586   * @since 18
587   */
588  confirm?: ButtonOptions;
589  /**
590   * Sets the SelectDialog sheets.
591   * @type { Array<SheetInfo> }.
592   * @syscap SystemCapability.ArkUI.ArkUI.Full
593   * @since 10
594   */
595  /**
596   * Sets the SelectDialog sheets.
597   * @type { Array<SheetInfo> }.
598   * @syscap SystemCapability.ArkUI.ArkUI.Full
599   * @atomicservice
600   * @since 11
601   */
602  /**
603   * Sets the SelectDialog sheets.
604   * @type { Array<SheetInfo> }.
605   * @syscap SystemCapability.ArkUI.ArkUI.Full
606   * @crossplatform
607   * @atomicservice
608   * @since 18
609   */
610  radioContent: Array<SheetInfo>;
611  /**
612   * Custom Theme.
613   *
614   * @type { ?(Theme | CustomTheme) }
615   * @syscap SystemCapability.ArkUI.ArkUI.Full
616   * @crossplatform
617   * @atomicservice
618   * @since 12
619   */
620  theme?: Theme | CustomTheme;
621  /**
622   * Sets the SelectDialog dark or light Mode.
623   *
624   * @type { ?ThemeColorMode }
625   * @syscap SystemCapability.ArkUI.ArkUI.Full
626   * @crossplatform
627   * @atomicservice
628   * @since 12
629   */
630  themeColorMode?: ThemeColorMode;
631}
632
633/**
634 * Declare CustomDialog ConfirmDialog
635 * @syscap SystemCapability.ArkUI.ArkUI.Full
636 * @since 10
637 */
638/**
639 * Declare CustomDialog ConfirmDialog
640 * @syscap SystemCapability.ArkUI.ArkUI.Full
641 * @atomicservice
642 * @since 11
643 */
644/**
645 * Declare CustomDialog ConfirmDialog
646 * @syscap SystemCapability.ArkUI.ArkUI.Full
647 * @crossplatform
648 * @atomicservice
649 * @since 18
650 */
651@CustomDialog
652export declare struct ConfirmDialog {
653  /**
654   * Sets the ConfirmDialog Controller.
655   * @type { CustomDialogController }.
656   * @syscap SystemCapability.ArkUI.ArkUI.Full
657   * @since 10
658   */
659  /**
660   * Sets the ConfirmDialog Controller.
661   * @type { CustomDialogController }.
662   * @syscap SystemCapability.ArkUI.ArkUI.Full
663   * @atomicservice
664   * @since 11
665   */
666  /**
667   * Sets the ConfirmDialog Controller.
668   * @type { CustomDialogController }.
669   * @syscap SystemCapability.ArkUI.ArkUI.Full
670   * @crossplatform
671   * @atomicservice
672   * @since 18
673   */
674  controller: CustomDialogController;
675  /**
676   * Sets the ConfirmDialog title.
677   * @type { ResourceStr }.
678   * @syscap SystemCapability.ArkUI.ArkUI.Full
679   * @since 10
680   */
681  /**
682   * Sets the ConfirmDialog title.
683   * @type { ResourceStr }.
684   * @syscap SystemCapability.ArkUI.ArkUI.Full
685   * @atomicservice
686   * @since 11
687   */
688  /**
689   * Sets the ConfirmDialog title.
690   * @type { ResourceStr }.
691   * @syscap SystemCapability.ArkUI.ArkUI.Full
692   * @crossplatform
693   * @atomicservice
694   * @since 18
695   */
696  title: ResourceStr;
697  /**
698   * Sets the ConfirmDialog content.
699   * @type { ?ResourceStr }.
700   * @syscap SystemCapability.ArkUI.ArkUI.Full
701   * @since 10
702   */
703  /**
704   * Sets the ConfirmDialog content.
705   * @type { ?ResourceStr }.
706   * @syscap SystemCapability.ArkUI.ArkUI.Full
707   * @atomicservice
708   * @since 11
709   */
710  /**
711   * Sets the ConfirmDialog content.
712   * @type { ?ResourceStr }.
713   * @syscap SystemCapability.ArkUI.ArkUI.Full
714   * @crossplatform
715   * @atomicservice
716   * @since 18
717   */
718  content?: ResourceStr;
719  /**
720   * Sets the ConfirmDialog checkbox tips.
721   * @type { ?ResourceStr }.
722   * @syscap SystemCapability.ArkUI.ArkUI.Full
723   * @since 10
724   */
725  /**
726   * Sets the ConfirmDialog checkbox tips.
727   * @type { ?ResourceStr }.
728   * @syscap SystemCapability.ArkUI.ArkUI.Full
729   * @atomicservice
730   * @since 11
731   */
732  /**
733   * Sets the ConfirmDialog checkbox tips.
734   * @type { ?ResourceStr }.
735   * @syscap SystemCapability.ArkUI.ArkUI.Full
736   * @crossplatform
737   * @atomicservice
738   * @since 18
739   */
740  checkTips?: ResourceStr;
741  /**
742   * Sets the ConfirmDialog checkbox state.
743   * @type { ?boolean }.
744   * @syscap SystemCapability.ArkUI.ArkUI.Full
745   * @since 10
746   */
747  /**
748   * Sets the ConfirmDialog checkbox state.
749   * @type { ?boolean }.
750   * @syscap SystemCapability.ArkUI.ArkUI.Full
751   * @atomicservice
752   * @since 11
753   */
754  /**
755   * Sets the ConfirmDialog checkbox state.
756   * @type { ?boolean }.
757   * @syscap SystemCapability.ArkUI.ArkUI.Full
758   * @crossplatform
759   * @atomicservice
760   * @since 18
761   */
762  @Prop isChecked?: boolean;
763  /**
764   * Sets the ConfirmDialog primary button.
765   * @type { ?ButtonOptions }.
766   * @syscap SystemCapability.ArkUI.ArkUI.Full
767   * @since 10
768   */
769  /**
770   * Sets the ConfirmDialog primary button.
771   * @type { ?ButtonOptions }.
772   * @syscap SystemCapability.ArkUI.ArkUI.Full
773   * @atomicservice
774   * @since 11
775   */
776  /**
777   * Sets the ConfirmDialog primary button.
778   * @type { ?ButtonOptions }.
779   * @syscap SystemCapability.ArkUI.ArkUI.Full
780   * @crossplatform
781   * @atomicservice
782   * @since 18
783   */
784  primaryButton?: ButtonOptions;
785  /**
786   * Sets the ConfirmDialog secondary button.
787   * @type { ?ButtonOptions }.
788   * @syscap SystemCapability.ArkUI.ArkUI.Full
789   * @since 10
790   */
791  /**
792   * Sets the ConfirmDialog secondary button.
793   * @type { ?ButtonOptions }.
794   * @syscap SystemCapability.ArkUI.ArkUI.Full
795   * @atomicservice
796   * @since 11
797   */
798  /**
799   * Sets the ConfirmDialog secondary button.
800   * @type { ?ButtonOptions }.
801   * @syscap SystemCapability.ArkUI.ArkUI.Full
802   * @crossplatform
803   * @atomicservice
804   * @since 18
805   */
806  secondaryButton?: ButtonOptions;
807  /**
808   * Custom Theme.
809   *
810   * @type { ?(Theme | CustomTheme) }
811   * @syscap SystemCapability.ArkUI.ArkUI.Full
812   * @crossplatform
813   * @atomicservice
814   * @since 12
815   */
816  theme?: Theme | CustomTheme;
817  /**
818   * Sets the ConfirmDialog dark or light Mode.
819   *
820   * @type { ?ThemeColorMode }
821   * @syscap SystemCapability.ArkUI.ArkUI.Full
822   * @crossplatform
823   * @atomicservice
824   * @since 12
825   */
826  themeColorMode?: ThemeColorMode;
827  /**
828   * Sets the ConfirmDialog CheckBox Callback.
829   * @type { ?Callback<boolean> }
830   * @syscap SystemCapability.ArkUI.ArkUI.Full
831   * @atomicservice
832   * @since 12
833   */
834  /**
835   * Sets the ConfirmDialog CheckBox Callback.
836   * @type { ?Callback<boolean> }
837   * @syscap SystemCapability.ArkUI.ArkUI.Full
838   * @crossplatform
839   * @atomicservice
840   * @since 18
841   */
842  onCheckedChange?: Callback<boolean>;
843}
844
845/**
846 * Declare CustomDialog AlertDialog
847 * @syscap SystemCapability.ArkUI.ArkUI.Full
848 * @since 10
849 */
850/**
851 * Declare CustomDialog AlertDialog
852 * @syscap SystemCapability.ArkUI.ArkUI.Full
853 * @atomicservice
854 * @since 11
855 */
856/**
857 * Declare CustomDialog AlertDialog
858 * @syscap SystemCapability.ArkUI.ArkUI.Full
859 * @crossplatform
860 * @atomicservice
861 * @since 18
862 */
863@CustomDialog
864export declare struct AlertDialog {
865  /**
866   * Sets the AlertDialog Controller.
867   * @type { CustomDialogController }.
868   * @syscap SystemCapability.ArkUI.ArkUI.Full
869   * @since 10
870   */
871  /**
872   * Sets the AlertDialog Controller.
873   * @type { CustomDialogController }.
874   * @syscap SystemCapability.ArkUI.ArkUI.Full
875   * @atomicservice
876   * @since 11
877   */
878  /**
879   * Sets the AlertDialog Controller.
880   * @type { CustomDialogController }.
881   * @syscap SystemCapability.ArkUI.ArkUI.Full
882   * @crossplatform
883   * @atomicservice
884   * @since 18
885   */
886  controller: CustomDialogController;
887  /**
888   * Sets the AlertDialog title.
889   * @type { ?ResourceStr }
890   * @syscap SystemCapability.ArkUI.ArkUI.Full
891   * @crossplatform
892   * @atomicservice
893   * @since 12
894   */
895  primaryTitle?: ResourceStr;
896  /**
897   * Sets the AlertDialog secondary title.
898   * @type { ?ResourceStr }
899   * @syscap SystemCapability.ArkUI.ArkUI.Full
900   * @crossplatform
901   * @atomicservice
902   * @since 12
903   */
904  secondaryTitle?: ResourceStr;
905  /**
906   * Sets the AlertDialog content.
907   * @type { ResourceStr }.
908   * @syscap SystemCapability.ArkUI.ArkUI.Full
909   * @since 10
910   */
911  /**
912   * Sets the AlertDialog content.
913   * @type { ResourceStr }.
914   * @syscap SystemCapability.ArkUI.ArkUI.Full
915   * @atomicservice
916   * @since 11
917   */
918  /**
919   * Sets the AlertDialog content.
920   * @type { ResourceStr }.
921   * @syscap SystemCapability.ArkUI.ArkUI.Full
922   * @crossplatform
923   * @atomicservice
924   * @since 18
925   */
926  content: ResourceStr;
927  /**
928   * Sets the AlertDialog primary button.
929   * @type { ?ButtonOptions }.
930   * @syscap SystemCapability.ArkUI.ArkUI.Full
931   * @since 10
932   */
933  /**
934   * Sets the AlertDialog primary button.
935   * @type { ?ButtonOptions }.
936   * @syscap SystemCapability.ArkUI.ArkUI.Full
937   * @atomicservice
938   * @since 11
939   */
940  /**
941   * Sets the AlertDialog primary button.
942   * @type { ?ButtonOptions }.
943   * @syscap SystemCapability.ArkUI.ArkUI.Full
944   * @crossplatform
945   * @atomicservice
946   * @since 18
947   */
948  primaryButton?: ButtonOptions;
949  /**
950   * Sets the AlertDialog secondary button.
951   * @type { ?ButtonOptions }.
952   * @syscap SystemCapability.ArkUI.ArkUI.Full
953   * @since 10
954   */
955  /**
956   * Sets the AlertDialog secondary button.
957   * @type { ?ButtonOptions }.
958   * @syscap SystemCapability.ArkUI.ArkUI.Full
959   * @atomicservice
960   * @since 11
961   */
962  /**
963   * Sets the AlertDialog secondary button.
964   * @type { ?ButtonOptions }.
965   * @syscap SystemCapability.ArkUI.ArkUI.Full
966   * @crossplatform
967   * @atomicservice
968   * @since 18
969   */
970  secondaryButton?: ButtonOptions;
971  /**
972   * Custom Theme.
973   *
974   * @type { ?(Theme | CustomTheme) }
975   * @syscap SystemCapability.ArkUI.ArkUI.Full
976   * @crossplatform
977   * @atomicservice
978   * @since 12
979   */
980  theme?: Theme | CustomTheme;
981  /**
982   * Sets the AlertDialog dark or light Mode.
983   *
984   * @type { ?ThemeColorMode }
985   * @syscap SystemCapability.ArkUI.ArkUI.Full
986   * @crossplatform
987   * @atomicservice
988   * @since 12
989   */
990  themeColorMode?: ThemeColorMode;
991}
992
993/**
994 * Declare CustomDialog LoadingDialog
995 * @syscap SystemCapability.ArkUI.ArkUI.Full
996 * @since 10
997 */
998/**
999 * Declare CustomDialog LoadingDialog
1000 * @syscap SystemCapability.ArkUI.ArkUI.Full
1001 * @atomicservice
1002 * @since 11
1003 */
1004/**
1005 * Declare CustomDialog LoadingDialog
1006 * @syscap SystemCapability.ArkUI.ArkUI.Full
1007 * @crossplatform
1008 * @atomicservice
1009 * @since 18
1010 */
1011@CustomDialog
1012export declare struct LoadingDialog {
1013  /**
1014   * Sets the LoadingDialog Controller.
1015   * @type { CustomDialogController }.
1016   * @syscap SystemCapability.ArkUI.ArkUI.Full
1017   * @since 10
1018   */
1019  /**
1020   * Sets the LoadingDialog Controller.
1021   * @type { CustomDialogController }.
1022   * @syscap SystemCapability.ArkUI.ArkUI.Full
1023   * @atomicservice
1024   * @since 11
1025   */
1026  /**
1027   * Sets the LoadingDialog Controller.
1028   * @type { CustomDialogController }.
1029   * @syscap SystemCapability.ArkUI.ArkUI.Full
1030   * @crossplatform
1031   * @atomicservice
1032   * @since 18
1033   */
1034  Controller: CustomDialogController;
1035  /**
1036   * Sets the LoadingDialog content.
1037   * @type { ?ResourceStr }.
1038   * @syscap SystemCapability.ArkUI.ArkUI.Full
1039   * @since 10
1040   */
1041  /**
1042   * Sets the LoadingDialog content.
1043   * @type { ?ResourceStr }.
1044   * @syscap SystemCapability.ArkUI.ArkUI.Full
1045   * @atomicservice
1046   * @since 11
1047   */
1048  /**
1049   * Sets the LoadingDialog content.
1050   * @type { ?ResourceStr }.
1051   * @syscap SystemCapability.ArkUI.ArkUI.Full
1052   * @crossplatform
1053   * @atomicservice
1054   * @since 18
1055   */
1056  content?: ResourceStr;
1057  /**
1058   * Custom Theme.
1059   *
1060   * @type { ?(Theme | CustomTheme) }
1061   * @syscap SystemCapability.ArkUI.ArkUI.Full
1062   * @crossplatform
1063   * @atomicservice
1064   * @since 12
1065   */
1066  theme?: Theme | CustomTheme;
1067  /**
1068   * Sets the LoadingDialog dark or light Mode.
1069   *
1070   * @type { ?ThemeColorMode }
1071   * @syscap SystemCapability.ArkUI.ArkUI.Full
1072   * @crossplatform
1073   * @atomicservice
1074   * @since 12
1075   */
1076  themeColorMode?: ThemeColorMode;
1077}
1078
1079/**
1080 * Declare custom content dialog
1081 * @syscap SystemCapability.ArkUI.ArkUI.Full
1082 * @crossplatform
1083 * @atomicservice
1084 * @since 12
1085 */
1086@CustomDialog
1087export declare struct CustomContentDialog {
1088  /**
1089   * Sets the CustomContentDialog Controller.
1090   * @type { CustomDialogController }.
1091   * @syscap SystemCapability.ArkUI.ArkUI.Full
1092   * @crossplatform
1093   * @atomicservice
1094   * @since 12
1095   */
1096  controller: CustomDialogController;
1097  /**
1098   * Sets the CustomContentDialog title.
1099   * @type { ?ResourceStr }
1100   * @syscap SystemCapability.ArkUI.ArkUI.Full
1101   * @crossplatform
1102   * @atomicservice
1103   * @since 12
1104   */
1105  primaryTitle?: ResourceStr;
1106  /**
1107   * Sets the CustomContentDialog secondary title.
1108   * @type { ?ResourceStr }
1109   * @syscap SystemCapability.ArkUI.ArkUI.Full
1110   * @crossplatform
1111   * @atomicservice
1112   * @since 12
1113   */
1114  secondaryTitle?: ResourceStr;
1115  /**
1116   * Sets the CustomContentDialog content.
1117   * @type { () => void }
1118   * @syscap SystemCapability.ArkUI.ArkUI.Full
1119   * @crossplatform
1120   * @atomicservice
1121   * @since 12
1122   */
1123  @BuilderParam contentBuilder: () => void;
1124  /**
1125   * Sets the CustomContentDialog content area padding.
1126   * @type { ?Padding }
1127   * @syscap SystemCapability.ArkUI.ArkUI.Full
1128   * @crossplatform
1129   * @atomicservice
1130   * @since 12
1131   */
1132  contentAreaPadding?: Padding;
1133  /**
1134     * Sets the CustomContentDialog content area localized padding.
1135     * @type { ?LocalizedPadding }
1136     * @syscap SystemCapability.ArkUI.ArkUI.Full
1137     * @crossplatform
1138     * @atomicservice
1139     * @since 12
1140     */
1141  localizedContentAreaPadding?: LocalizedPadding;
1142  /**
1143   * Sets the CustomContentDialog buttons.
1144   * @type { ?ButtonOptions[] }
1145   * @syscap SystemCapability.ArkUI.ArkUI.Full
1146   * @crossplatform
1147   * @atomicservice
1148   * @since 12
1149   */
1150  buttons?: ButtonOptions[];
1151  /**
1152   * Custom Theme.
1153   *
1154   * @type { ?(Theme | CustomTheme) }
1155   * @syscap SystemCapability.ArkUI.ArkUI.Full
1156   * @crossplatform
1157   * @atomicservice
1158   * @since 12
1159   */
1160  theme?: Theme | CustomTheme;
1161  /**
1162   * Sets the CustomContentDialog dark or light Mode.
1163   *
1164   * @type { ?ThemeColorMode }
1165   * @syscap SystemCapability.ArkUI.ArkUI.Full
1166   * @crossplatform
1167   * @atomicservice
1168   * @since 12
1169   */
1170  themeColorMode?: ThemeColorMode;
1171}
1172
1173/**
1174 * Declare struct PopoverDialog
1175 *
1176 * @syscap SystemCapability.ArkUI.ArkUI.Full
1177 * @crossplatform
1178 * @atomicservice
1179 * @since 14
1180 */
1181@Component
1182export declare struct PopoverDialog {
1183  /**
1184   * Sets the PopoverDialog Visible Status.
1185   *
1186   * @type { boolean }
1187   * @syscap SystemCapability.ArkUI.ArkUI.Full
1188   * @crossplatform
1189   * @atomicservice
1190   * @since 14
1191   */
1192  @Link
1193  visible: boolean;
1194  /**
1195   * Sets the PopoverDialog options.
1196   *
1197   * @type { PopoverOptions }
1198   * @syscap SystemCapability.ArkUI.ArkUI.Full
1199   * @crossplatform
1200   * @atomicservice
1201   * @since 14
1202   */
1203  @Require @Prop
1204  popover: PopoverOptions;
1205  /**
1206   * Sets the targetBuilder content.
1207   *
1208   * @type { Callback<void> }
1209   * @syscap SystemCapability.ArkUI.ArkUI.Full
1210   * @crossplatform
1211   * @atomicservice
1212   * @since 14
1213   */
1214  @Require @BuilderParam
1215  targetBuilder: Callback<void>;
1216}
1217
1218/**
1219 * Defines PopoverDialog Options
1220 *
1221 * @typedef PopoverOptions
1222 * @extends CustomPopupOptions
1223 * @syscap SystemCapability.ArkUI.ArkUI.Full
1224 * @crossplatform
1225 * @atomicservice
1226 * @since 14
1227 */
1228export declare interface PopoverOptions extends CustomPopupOptions {
1229}
1230