• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (c) 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 { Resource } from '../../global/resource'
23import { CommonMethod, PickerTextStyle, Callback, BlurStyle, PickerDialogButtonStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, DateRange,
24  BackgroundBlurStyleOptions, BackgroundEffectOptions, Optional } from './common'
25import { Offset, VoidCallback, ResourceColor } from './units'
26/*** endif */
27
28/**
29 * The type of alignment between entry and calendar.
30 * @enum {number}
31 * @syscap SystemCapability.ArkUI.ArkUI.Full
32 * @crossplatform
33 * @since 10
34 */
35/**
36 * The type of alignment between entry and calendar.
37 * @enum {number}
38 * @syscap SystemCapability.ArkUI.ArkUI.Full
39 * @crossplatform
40 * @atomicservice
41 * @since arkts {'1.1':'11','1.2':'20'}
42 * @arkts 1.1&1.2
43 */
44declare enum CalendarAlign {
45  /**
46   * The value of calendar align type start.
47   * @syscap SystemCapability.ArkUI.ArkUI.Full
48   * @crossplatform
49   * @since 10
50   */
51  /**
52   * The value of calendar align type start.
53   * @syscap SystemCapability.ArkUI.ArkUI.Full
54   * @crossplatform
55   * @atomicservice
56   * @since arkts {'1.1':'11','1.2':'20'}
57   * @arkts 1.1&1.2
58   */
59  START = 0,
60  /**
61   * The value of calendar align type center.
62   * @syscap SystemCapability.ArkUI.ArkUI.Full
63   * @crossplatform
64   * @since 10
65   */
66  /**
67   * The value of calendar align type center.
68   * @syscap SystemCapability.ArkUI.ArkUI.Full
69   * @crossplatform
70   * @atomicservice
71   * @since arkts {'1.1':'11','1.2':'20'}
72   * @arkts 1.1&1.2
73   */
74  CENTER = 1,
75  /**
76   * The value of calendar align type end.
77   * @syscap SystemCapability.ArkUI.ArkUI.Full
78   * @crossplatform
79   * @since 10
80   */
81  /**
82   * The value of calendar align type end.
83   * @syscap SystemCapability.ArkUI.ArkUI.Full
84   * @crossplatform
85   * @atomicservice
86   * @since arkts {'1.1':'11','1.2':'20'}
87   * @arkts 1.1&1.2
88   */
89  END = 2
90}
91
92/**
93 * Defines the options of CalendarPicker.
94 * @interface CalendarOptions
95 * @syscap SystemCapability.ArkUI.ArkUI.Full
96 * @crossplatform
97 * @since 10
98 */
99/**
100 * Defines the options of CalendarPicker.
101 * @interface CalendarOptions
102 * @syscap SystemCapability.ArkUI.ArkUI.Full
103 * @crossplatform
104 * @atomicservice
105 * @since arkts {'1.1':'11','1.2':'20'}
106 * @arkts 1.1&1.2
107 */
108declare interface CalendarOptions {
109  /**
110   * Specifies the radius of the background of the day in calendar.
111   * @type { ?(number | Resource) }
112   * @syscap SystemCapability.ArkUI.ArkUI.Full
113   * @crossplatform
114   * @since 10
115   */
116  /**
117   * Specifies the radius of the background of the day in calendar.
118   * @type { ?(number | Resource) }
119   * @syscap SystemCapability.ArkUI.ArkUI.Full
120   * @crossplatform
121   * @atomicservice
122   * @since arkts {'1.1':'11','1.2':'20'}
123   * @arkts 1.1&1.2
124   */
125  hintRadius?: number | Resource;
126
127  /**
128   * Specifies the date selector check date.
129   * @type { ?Date }
130   * @syscap SystemCapability.ArkUI.ArkUI.Full
131   * @crossplatform
132   * @since 10
133   */
134  /**
135   * Specifies the date selector check date.
136   * @type { ?Date }
137   * @syscap SystemCapability.ArkUI.ArkUI.Full
138   * @crossplatform
139   * @atomicservice
140   * @since arkts {'1.1':'11','1.2':'20'}
141   * @arkts 1.1&1.2
142   */
143  selected?: Date;
144
145  /**
146   * Defines the start date of the calendar date.
147   *
148   * @type { ?Date }
149   * @syscap SystemCapability.ArkUI.ArkUI.Full
150   * @crossplatform
151   * @atomicservice
152   * @since arkts {'1.1':'18','1.2':'20'}
153   * @arkts 1.1&1.2
154   */
155  start?: Date;
156
157  /**
158   * Defines the end date of the calendar date.
159   *
160   * @type { ?Date }
161   * @syscap SystemCapability.ArkUI.ArkUI.Full
162   * @crossplatform
163   * @atomicservice
164   * @since arkts {'1.1':'18','1.2':'20'}
165   * @arkts 1.1&1.2
166   */
167  end?: Date;
168
169  /**
170   * Defines the disabled date range for the calendar picker.
171   *
172   * @type { ?DateRange[] }
173   * @syscap SystemCapability.ArkUI.ArkUI.Full
174   * @crossplatform
175   * @atomicservice
176   * @since arkts {'1.1':'19','1.2':'20'}
177   * @arkts 1.1&1.2
178   */
179  disabledDateRange?: DateRange[];
180}
181
182/**
183 * Defines the CalendarPicker Component.
184 * @interface CalendarPickerInterface
185 * @syscap SystemCapability.ArkUI.ArkUI.Full
186 * @crossplatform
187 * @since 10
188 */
189/**
190 * Defines the CalendarPicker Component.
191 * @interface CalendarPickerInterface
192 * @syscap SystemCapability.ArkUI.ArkUI.Full
193 * @crossplatform
194 * @atomicservice
195 * @since arkts {'1.1':'11','1.2':'20'}
196 * @arkts 1.1&1.2
197 */
198interface CalendarPickerInterface {
199  /**
200   * Defines the CalendarPicker constructor.
201   * @param { CalendarOptions } options - the option of the calendarPicker.
202   * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
203   * @syscap SystemCapability.ArkUI.ArkUI.Full
204   * @crossplatform
205   * @since 10
206   */
207  /**
208   * Defines the CalendarPicker constructor.
209   * @param { CalendarOptions } options - the option of the calendarPicker.
210   * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
211   * @syscap SystemCapability.ArkUI.ArkUI.Full
212   * @crossplatform
213   * @atomicservice
214   * @since arkts {'1.1':'11','1.2':'20'}
215   * @arkts 1.1&1.2
216   */
217  (options?: CalendarOptions): CalendarPickerAttribute;
218}
219
220/**
221 * Defines the CalendarPicker attribute functions.
222 * @extends CommonMethod<CalendarPickerAttribute>
223 * @syscap SystemCapability.ArkUI.ArkUI.Full
224 * @crossplatform
225 * @since 10
226 */
227/**
228 * Defines the CalendarPicker attribute functions.
229 * @extends CommonMethod<CalendarPickerAttribute>
230 * @syscap SystemCapability.ArkUI.ArkUI.Full
231 * @crossplatform
232 * @atomicservice
233 * @since arkts {'1.1':'11','1.2':'20'}
234 * @arkts 1.1&1.2
235 */
236declare class CalendarPickerAttribute extends CommonMethod<CalendarPickerAttribute> {
237  /**
238   * Set the alignment between entry and calendar dialog.
239   * @param { CalendarAlign } alignType - The type of alignment between entry and calendar dialog.
240   * @param { Offset } offset - The offset between entry and calendar dialog.
241   * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
242   * @syscap SystemCapability.ArkUI.ArkUI.Full
243   * @crossplatform
244   * @since 10
245   */
246  /**
247   * Set the alignment between entry and calendar dialog.
248   * @param { CalendarAlign } alignType - The type of alignment between entry and calendar dialog.
249   * @param { Offset } offset - The offset between entry and calendar dialog.
250   * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
251   * @syscap SystemCapability.ArkUI.ArkUI.Full
252   * @crossplatform
253   * @atomicservice
254   * @since arkts {'1.1':'11','1.2':'20'}
255   * @arkts 1.1&1.2
256   */
257  edgeAlign(alignType: CalendarAlign, offset?: Offset): CalendarPickerAttribute;
258
259  /**
260   * Set the alignment between entry and calendar dialog.
261   * @param { Optional<CalendarAlign> } alignType - The type of alignment between entry and calendar dialog.
262   * @param { Offset } offset - The offset between entry and calendar dialog.
263   * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
264   * @syscap SystemCapability.ArkUI.ArkUI.Full
265   * @crossplatform
266   * @atomicservice
267   * @since arkts {'1.1':'18','1.2':'20'}
268   * @arkts 1.1&1.2
269   */
270  edgeAlign(alignType: Optional<CalendarAlign>, offset?: Offset): CalendarPickerAttribute;
271
272  /**
273   * Sets the text style of entry
274   * @param { PickerTextStyle } value - indicates the text style of entry.
275   * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
276   * @syscap SystemCapability.ArkUI.ArkUI.Full
277   * @crossplatform
278   * @since 10
279   */
280  /**
281   * Sets the text style of entry
282   * @param { PickerTextStyle } value - indicates the text style of entry.
283   * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
284   * @syscap SystemCapability.ArkUI.ArkUI.Full
285   * @crossplatform
286   * @atomicservice
287   * @since arkts {'1.1':'11','1.2':'20'}
288   * @arkts 1.1&1.2
289   */
290  textStyle(value: PickerTextStyle): CalendarPickerAttribute;
291
292  /**
293   * Sets the text style of entry
294   * @param { Optional<PickerTextStyle> } style - indicates the text style of entry.
295   * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
296   * @syscap SystemCapability.ArkUI.ArkUI.Full
297   * @crossplatform
298   * @atomicservice
299   * @since arkts {'1.1':'18','1.2':'20'}
300   * @arkts 1.1&1.2
301   */
302  textStyle(style: Optional<PickerTextStyle>): CalendarPickerAttribute;
303
304  /**
305   * Callback for selected date changed.
306   * @param { function } callback - Callback for selected date changed.
307   * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
308   * @syscap SystemCapability.ArkUI.ArkUI.Full
309   * @crossplatform
310   * @since 10
311   */
312  /**
313   * Callback for selected date changed.
314   * @param { function } callback - Callback for selected date changed.
315   * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
316   * @syscap SystemCapability.ArkUI.ArkUI.Full
317   * @crossplatform
318   * @atomicservice
319   * @since 11
320   */
321  /**
322   * Callback for selected date changed.
323   * Anonymous Object Rectification.
324   * @param { Callback<Date> } callback - callback for selected date changed.
325   * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
326   * @syscap SystemCapability.ArkUI.ArkUI.Full
327   * @crossplatform
328   * @atomicservice
329   * @since arkts {'1.1':'18','1.2':'20'}
330   * @arkts 1.1&1.2
331   */
332  onChange(callback: Callback<Date>): CalendarPickerAttribute;
333
334  /**
335   * Callback for selected date changed.
336   * @param { Optional<Callback<Date>> } callback - callback for selected date changed.
337   * @returns { CalendarPickerAttribute } the attribute of the CalendarPicker.
338   * @syscap SystemCapability.ArkUI.ArkUI.Full
339   * @crossplatform
340   * @atomicservice
341   * @since arkts {'1.1':'18','1.2':'20'}
342   * @arkts 1.1&1.2
343   */
344  onChange(callback: Optional<Callback<Date>>): CalendarPickerAttribute;
345
346  /**
347   * Defines whether the calendar picker marks today.
348   *
349   * @param { boolean } enabled - whether the calendar picker marks today.
350   * @returns { CalendarPickerAttribute } the attribute of the calendar picker.
351   * @syscap SystemCapability.ArkUI.ArkUI.Full
352   * @crossplatform
353   * @atomicservice
354   * @since arkts {'1.1':'19','1.2':'20'}
355   * @arkts 1.1&1.2
356   */
357  markToday(enabled: boolean): CalendarPickerAttribute;
358}
359
360/**
361 * Defines the DatePickerDialogOptions for Calendar Picker Dialog.
362 * @extends CalendarOptions
363 * @interface CalendarDialogOptions
364 * @syscap SystemCapability.ArkUI.ArkUI.Full
365 * @crossplatform
366 * @since 10
367 */
368/**
369 * Defines the DatePickerDialogOptions for Calendar Picker Dialog.
370 * @extends CalendarOptions
371 * @interface CalendarDialogOptions
372 * @syscap SystemCapability.ArkUI.ArkUI.Full
373 * @crossplatform
374 * @atomicservice
375 * @since arkts {'1.1':'11','1.2':'20'}
376 * @arkts 1.1&1.2
377 */
378declare interface CalendarDialogOptions extends CalendarOptions {
379  /**
380   * Called when the OK button in the dialog is clicked.
381   * @type { ?function }
382   * @syscap SystemCapability.ArkUI.ArkUI.Full
383   * @crossplatform
384   * @since 10
385   */
386  /**
387   * Called when the OK button in the dialog is clicked.
388   * @type { ?function }
389   * @syscap SystemCapability.ArkUI.ArkUI.Full
390   * @crossplatform
391   * @atomicservice
392   * @since 11
393   */
394  /**
395   * Called when the OK button in the dialog is clicked.
396   * Anonymous Object Rectification.
397   * @type { ?Callback<Date> }
398   * @syscap SystemCapability.ArkUI.ArkUI.Full
399   * @crossplatform
400   * @atomicservice
401   * @since arkts {'1.1':'18','1.2':'20'}
402   * @arkts 1.1&1.2
403   */
404  onAccept?: Callback<Date>;
405
406  /**
407   * Called when the Cancel button in the dialog is clicked.
408   * @type { ?function }
409   * @syscap SystemCapability.ArkUI.ArkUI.Full
410   * @crossplatform
411   * @since 10
412   */
413  /**
414   * Called when the Cancel button in the dialog is clicked.
415   * @type { ?function }
416   * @syscap SystemCapability.ArkUI.ArkUI.Full
417   * @crossplatform
418   * @atomicservice
419   * @since 11
420   */
421  /**
422   * Called when the Cancel button in the dialog is clicked.
423   * Anonymous Object Rectification.
424   * @type { ?VoidCallback }
425   * @syscap SystemCapability.ArkUI.ArkUI.Full
426   * @crossplatform
427   * @atomicservice
428   * @since arkts {'1.1':'18','1.2':'20'}
429   * @arkts 1.1&1.2
430   */
431  onCancel?: VoidCallback;
432
433  /**
434   * This event is triggered when a date is selected in dialog.
435   * @type { ?function }
436   * @syscap SystemCapability.ArkUI.ArkUI.Full
437   * @crossplatform
438   * @since 10
439   */
440  /**
441   * This event is triggered when a date is selected in dialog.
442   * @type { ?function }
443   * @syscap SystemCapability.ArkUI.ArkUI.Full
444   * @crossplatform
445   * @atomicservice
446   * @since 11
447   */
448  /**
449   * This event is triggered when a date is selected in dialog.
450   * Anonymous Object Rectification.
451   * @type { ?Callback<Date> }
452   * @syscap SystemCapability.ArkUI.ArkUI.Full
453   * @crossplatform
454   * @atomicservice
455   * @since arkts {'1.1':'18','1.2':'20'}
456   * @arkts 1.1&1.2
457   */
458  onChange?: Callback<Date>;
459
460  /**
461   * Defines the calendarPickerDialog's background color
462   *
463   * @type { ?ResourceColor }
464   * @default Color.Transparent
465   * @syscap SystemCapability.ArkUI.ArkUI.Full
466   * @crossplatform
467   * @since 11
468   */
469  /**
470   * Defines the calendarPickerDialog's background color
471   *
472   * @type { ?ResourceColor }
473   * @default Color.Transparent
474   * @syscap SystemCapability.ArkUI.ArkUI.Full
475   * @crossplatform
476   * @atomicservice
477   * @since arkts {'1.1':'12','1.2':'20'}
478   * @arkts 1.1&1.2
479   */
480  backgroundColor?: ResourceColor;
481
482  /**
483   * Defines the calendarPickerDialog's background blur Style
484   *
485   * @type { ?BlurStyle }
486   * @default BlurStyle.COMPONENT_ULTRA_THICK
487   * @syscap SystemCapability.ArkUI.ArkUI.Full
488   * @crossplatform
489   * @since 11
490   */
491  /**
492   * Defines the calendarPickerDialog's background blur Style
493   *
494   * @type { ?BlurStyle }
495   * @default BlurStyle.COMPONENT_ULTRA_THICK
496   * @syscap SystemCapability.ArkUI.ArkUI.Full
497   * @crossplatform
498   * @atomicservice
499   * @since arkts {'1.1':'12','1.2':'20'}
500   * @arkts 1.1&1.2
501   */
502  backgroundBlurStyle?: BlurStyle;
503
504  /**
505   * Defines the calendarPickerDialog's background blur style with options
506   *
507   * @type { ?BackgroundBlurStyleOptions }
508   * @syscap SystemCapability.ArkUI.ArkUI.Full
509   * @crossplatform
510   * @atomicservice
511   * @since arkts {'1.1':'19','1.2':'20'}
512   * @arkts 1.1&1.2
513   */
514  backgroundBlurStyleOptions?: BackgroundBlurStyleOptions;
515
516  /**
517   * Defines the calendarPickerDialog's background effect with options
518   *
519   * @type { ?BackgroundEffectOptions }
520   * @syscap SystemCapability.ArkUI.ArkUI.Full
521   * @crossplatform
522   * @atomicservice
523   * @since arkts {'1.1':'19','1.2':'20'}
524   * @arkts 1.1&1.2
525   */
526  backgroundEffect?: BackgroundEffectOptions;
527
528  /**
529   * Style of accept button.
530   *
531   * @type { ?PickerDialogButtonStyle }
532   * @syscap SystemCapability.ArkUI.ArkUI.Full
533   * @crossplatform
534   * @atomicservice
535   * @since arkts {'1.1':'12','1.2':'20'}
536   * @arkts 1.1&1.2
537   */
538  acceptButtonStyle?: PickerDialogButtonStyle;
539
540  /**
541   * Style of cancel button.
542   *
543   * @type { ?PickerDialogButtonStyle }
544   * @syscap SystemCapability.ArkUI.ArkUI.Full
545   * @crossplatform
546   * @atomicservice
547   * @since arkts {'1.1':'12','1.2':'20'}
548   * @arkts 1.1&1.2
549   */
550  cancelButtonStyle?: PickerDialogButtonStyle;
551
552  /**
553   * Callback function when the dialog appears.
554   *
555   * @type { ?function }
556   * @syscap SystemCapability.ArkUI.ArkUI.Full
557   * @crossplatform
558   * @atomicservice
559   * @since 12
560   */
561  /**
562   * Callback function when the dialog appears.
563   * Anonymous Object Rectification.
564   *
565   * @type { ?VoidCallback }
566   * @syscap SystemCapability.ArkUI.ArkUI.Full
567   * @crossplatform
568   * @atomicservice
569   * @since arkts {'1.1':'18','1.2':'20'}
570   * @arkts 1.1&1.2
571   */
572  onDidAppear?: VoidCallback;
573
574  /**
575   * Callback function when the dialog disappears.
576   *
577   * @type { ?function }
578   * @syscap SystemCapability.ArkUI.ArkUI.Full
579   * @crossplatform
580   * @atomicservice
581   * @since 12
582   */
583  /**
584   * Callback function when the dialog disappears.
585   * Anonymous Object Rectification.
586   *
587   * @type { ?VoidCallback }
588   * @syscap SystemCapability.ArkUI.ArkUI.Full
589   * @crossplatform
590   * @atomicservice
591   * @since arkts {'1.1':'18','1.2':'20'}
592   * @arkts 1.1&1.2
593   */
594  onDidDisappear?: VoidCallback;
595
596  /**
597   * Callback function before the dialog openAnimation starts.
598   *
599   * @type { ?function }
600   * @syscap SystemCapability.ArkUI.ArkUI.Full
601   * @crossplatform
602   * @atomicservice
603   * @since 12
604   */
605  /**
606   * Callback function before the dialog openAnimation starts.
607   * Anonymous Object Rectification.
608   *
609   * @type { ?VoidCallback }
610   * @syscap SystemCapability.ArkUI.ArkUI.Full
611   * @crossplatform
612   * @atomicservice
613   * @since arkts {'1.1':'18','1.2':'20'}
614   * @arkts 1.1&1.2
615   */
616  onWillAppear?: VoidCallback;
617
618  /**
619   * Callback function before the dialog closeAnimation starts.
620   *
621   * @type { ?function }
622   * @syscap SystemCapability.ArkUI.ArkUI.Full
623   * @crossplatform
624   * @atomicservice
625   * @since 12
626   */
627  /**
628   * Callback function before the dialog closeAnimation starts.
629   * Anonymous Object Rectification.
630   *
631   * @type { ?VoidCallback }
632   * @syscap SystemCapability.ArkUI.ArkUI.Full
633   * @crossplatform
634   * @atomicservice
635   * @since arkts {'1.1':'18','1.2':'20'}
636   * @arkts 1.1&1.2
637   */
638  onWillDisappear?: VoidCallback;
639
640  /**
641   * Defines the dialog's shadow.
642   *
643   * @type { ?(ShadowOptions | ShadowStyle) }
644   * @syscap SystemCapability.ArkUI.ArkUI.Full
645   * @crossplatform
646   * @atomicservice
647   * @since arkts {'1.1':'12','1.2':'20'}
648   * @arkts 1.1&1.2
649   */
650  shadow?: ShadowOptions | ShadowStyle;
651
652  /**
653   * Defines whether to respond to the hover mode.
654   *
655   * @type { ?boolean }
656   * @default false
657   * @syscap SystemCapability.ArkUI.ArkUI.Full
658   * @crossplatform
659   * @atomicservice
660   * @since arkts {'1.1':'14','1.2':'20'}
661   * @arkts 1.1&1.2
662   */
663  enableHoverMode?: boolean;
664
665  /**
666   * Defines the dialog's display area in hover mode.
667   *
668   * @type { ?HoverModeAreaType }
669   * @default HoverModeAreaType.BOTTOM_SCREEN
670   * @syscap SystemCapability.ArkUI.ArkUI.Full
671   * @crossplatform
672   * @atomicservice
673   * @since arkts {'1.1':'14','1.2':'20'}
674   * @arkts 1.1&1.2
675   */
676  hoverModeArea?: HoverModeAreaType;
677
678  /**
679   * Defines the calendar picker marks today.
680   *
681   * @type { ?boolean }
682   * @default false
683   * @syscap SystemCapability.ArkUI.ArkUI.Full
684   * @crossplatform
685   * @atomicservice
686   * @since arkts {'1.1':'19','1.2':'20'}
687   * @arkts 1.1&1.2
688   */
689  markToday?: boolean;
690}
691
692/**
693 * Defines CalendarPickerDialog which uses show method to show CalendarPicker dialog.
694 * @syscap SystemCapability.ArkUI.ArkUI.Full
695 * @crossplatform
696 * @since 10
697 */
698/**
699 * Defines CalendarPickerDialog which uses show method to show CalendarPicker dialog.
700 * @syscap SystemCapability.ArkUI.ArkUI.Full
701 * @crossplatform
702 * @atomicservice
703 * @since arkts {'1.1':'11','1.2':'20'}
704 * @arkts 1.1&1.2
705 */
706declare class CalendarPickerDialog {
707  /**
708   * Invoking method display.
709   * @param { CalendarDialogOptions } options - the option of the calendarPicker.
710   * @syscap SystemCapability.ArkUI.ArkUI.Full
711   * @crossplatform
712   * @since 10
713   */
714  /**
715   * Invoking method display.
716   * @param { CalendarDialogOptions } options - the option of the calendarPicker.
717   * @syscap SystemCapability.ArkUI.ArkUI.Full
718   * @crossplatform
719   * @atomicservice
720   * @since arkts {'1.1':'11','1.2':'20'}
721   * @arkts 1.1&1.2
722   */
723  static show(options?: CalendarDialogOptions): void;
724}
725
726/**
727 * Defines CalendarPicker Component.
728 * @syscap SystemCapability.ArkUI.ArkUI.Full
729 * @crossplatform
730 * @since 10
731 */
732/**
733 * Defines CalendarPicker Component.
734 * @syscap SystemCapability.ArkUI.ArkUI.Full
735 * @crossplatform
736 * @atomicservice
737 * @since 11
738 */
739declare const CalendarPicker: CalendarPickerInterface;
740
741/**
742 * Defines CalendarPicker Component instance.
743 * @syscap SystemCapability.ArkUI.ArkUI.Full
744 * @crossplatform
745 * @since 10
746 */
747/**
748 * Defines CalendarPicker Component instance.
749 * @syscap SystemCapability.ArkUI.ArkUI.Full
750 * @crossplatform
751 * @atomicservice
752 * @since 11
753 */
754declare const CalendarPickerInstance: CalendarPickerAttribute;
755