• 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
22
23
24import { SymbolGlyphModifier } from './@ohos.arkui.modifier';
25
26/**
27 * Enum for ChipSize
28 *
29 * @enum { string }
30 * @syscap SystemCapability.ArkUI.ArkUI.Full
31 * @crossplatform
32 * @since 11
33 */
34/**
35 * Enum for ChipSize
36 *
37 * @enum { string }
38 * @syscap SystemCapability.ArkUI.ArkUI.Full
39 * @crossplatform
40 * @atomicservice
41 * @since 12
42 */
43
44export declare enum ChipSize {
45
46  /**
47   * Normal type.
48   *
49   * @syscap SystemCapability.ArkUI.ArkUI.Full
50   * @crossplatform
51   * @since 11
52   */
53   /**
54   * Normal type.
55   *
56   * @syscap SystemCapability.ArkUI.ArkUI.Full
57   * @crossplatform
58   * @atomicservice
59   * @since 12
60   */
61  NORMAL = "NORMAL",
62
63  /**
64   * Small type.
65   *
66   * @syscap SystemCapability.ArkUI.ArkUI.Full
67   * @crossplatform
68   * @since 11
69   */
70   /**
71   * Small type.
72   *
73   * @syscap SystemCapability.ArkUI.ArkUI.Full
74   * @crossplatform
75   * @atomicservice
76   * @since 12
77   */
78  SMALL = "SMALL"
79}
80
81/**
82 * Enum for AccessibilitySelectedType
83 *
84 * @enum { number }
85 * @syscap SystemCapability.ArkUI.ArkUI.Full
86 * @crossplatform
87 * @atomicservice
88 * @since 14
89 */
90export declare enum AccessibilitySelectedType {
91  /**
92   * Default type.
93   *
94   * @syscap SystemCapability.ArkUI.ArkUI.Full
95   * @crossplatform
96   * @atomicservice
97   * @since 14
98   */
99  CLICKED = 0,
100
101  /**
102   * Checked type.
103   *
104   * @syscap SystemCapability.ArkUI.ArkUI.Full
105   * @crossplatform
106   * @atomicservice
107   * @since 14
108   */
109  CHECKED = 1,
110
111  /**
112   * Selected type.
113   *
114   * @syscap SystemCapability.ArkUI.ArkUI.Full
115   * @crossplatform
116   * @atomicservice
117   * @since 14
118   */
119  SELECTED = 2
120}
121
122/**
123 * Defines the icon common option.
124 *
125 * @interface IconCommonOptions
126 * @syscap SystemCapability.ArkUI.ArkUI.Full
127 * @crossplatform
128 * @since 11
129 */
130 /**
131 * Defines the icon common option.
132 *
133 * @interface IconCommonOptions
134 * @syscap SystemCapability.ArkUI.ArkUI.Full
135 * @crossplatform
136 * @atomicservice
137 * @since 12
138 */
139export interface IconCommonOptions {
140
141  /**
142   * Image resource.
143   *
144   * @type { ResourceStr }
145   * @syscap SystemCapability.ArkUI.ArkUI.Full
146   * @crossplatform
147   * @since 11
148   */
149   /**
150   * Image resource.
151   *
152   * @type { ResourceStr }
153   * @syscap SystemCapability.ArkUI.ArkUI.Full
154   * @crossplatform
155   * @atomicservice
156   * @since 12
157   */
158  src: ResourceStr;
159
160  /**
161   * Image size option.
162   *
163   * @type { ?SizeOptions }
164   * @syscap SystemCapability.ArkUI.ArkUI.Full
165   * @crossplatform
166   * @since 11
167   */
168   /**
169   * Image size option.
170   *
171   * @type { ?SizeOptions }
172   * @syscap SystemCapability.ArkUI.ArkUI.Full
173   * @crossplatform
174   * @atomicservice
175   * @since 12
176   */
177  size?: SizeOptions;
178
179  /**
180   * Image filled color.
181   *
182   * @type { ?ResourceColor }
183   * @syscap SystemCapability.ArkUI.ArkUI.Full
184   * @crossplatform
185   * @since 11
186   */
187   /**
188   * Image filled color.
189   *
190   * @type { ?ResourceColor }
191   * @syscap SystemCapability.ArkUI.ArkUI.Full
192   * @crossplatform
193   * @atomicservice
194   * @since 12
195   */
196  fillColor?: ResourceColor;
197
198  /**
199   * Image filled color when chip is activated.
200   *
201   * @type { ?ResourceColor }
202   * @syscap SystemCapability.ArkUI.ArkUI.Full
203   * @crossplatform
204   * @atomicservice
205   * @since 12
206   */
207  activatedFillColor?: ResourceColor;
208}
209
210/**
211 * Defines the suffix icon option.
212 *
213 * @interface SuffixIconOptions
214 * @extends IconCommonOptions
215 * @syscap SystemCapability.ArkUI.ArkUI.Full
216 * @crossplatform
217 * @since 11
218 */
219 /**
220 * Defines the suffix icon option.
221 *
222 * @interface SuffixIconOptions
223 * @extends IconCommonOptions
224 * @syscap SystemCapability.ArkUI.ArkUI.Full
225 * @crossplatform
226 * @atomicservice
227 * @since 12
228 */
229export interface SuffixIconOptions extends IconCommonOptions {
230
231  /**
232   * Called when the suffix icon is clicked.
233   *
234   * @type { ?function }
235   * @syscap SystemCapability.ArkUI.ArkUI.Full
236   * @crossplatform
237   * @since 11
238   */
239   /**
240   * Called when the suffix icon is clicked.
241   *
242   * @type { ?function }
243   * @syscap SystemCapability.ArkUI.ArkUI.Full
244   * @crossplatform
245   * @atomicservice
246   * @since 12
247   */
248  action?: () => void;
249
250  /**
251   * Set accessibility text for icon.
252   *
253   * @type { ?ResourceStr }
254   * @syscap SystemCapability.ArkUI.ArkUI.Full
255   * @crossplatform
256   * @atomicservice
257   * @since 14
258   */
259  accessibilityText?: ResourceStr;
260
261  /**
262   * Set accessibility description for icon.
263   *
264   * @type { ?ResourceStr }
265   * @syscap SystemCapability.ArkUI.ArkUI.Full
266   * @crossplatform
267   * @atomicservice
268   * @since 14
269   */
270  accessibilityDescription?: ResourceStr;
271
272  /**
273   * Set accessibility level for icon.
274   *
275   * @type { ?string }
276   * @default "auto"
277   * @syscap SystemCapability.ArkUI.ArkUI.Full
278   * @crossplatform
279   * @atomicservice
280   * @since 14
281   */
282  accessibilityLevel?: string;
283}
284
285/**
286 * Defines the prefix icon option.
287 *
288 * @interface PrefixIconOptions
289 * @extends IconCommonOptions
290 * @syscap SystemCapability.ArkUI.ArkUI.Full
291 * @crossplatform
292 * @since 11
293 */
294 /**
295 * Defines the prefix icon option.
296 *
297 * @interface PrefixIconOptions
298 * @extends IconCommonOptions
299 * @syscap SystemCapability.ArkUI.ArkUI.Full
300 * @crossplatform
301 * @atomicservice
302 * @since 12
303 */
304export interface PrefixIconOptions extends IconCommonOptions {}
305
306/**
307 * Defines accessibility icon options.
308 *
309 * @interface AccessibilityOptions
310 * @syscap SystemCapability.ArkUI.ArkUI.Full
311 * @crossplatform
312 * @atomicservice
313 * @since 14
314 */
315export interface AccessibilityOptions {
316  /**
317   * Set accessibility level for accessibility icon.
318   *
319   * @type { ?string }
320   * @default "auto"
321   * @syscap SystemCapability.ArkUI.ArkUI.Full
322   * @crossplatform
323   * @atomicservice
324   * @since 14
325   */
326  accessibilityLevel?: string;
327
328  /**
329   * Set accessibility text for accessibility icon.
330   *
331   * @type { ?ResourceStr }
332   * @syscap SystemCapability.ArkUI.ArkUI.Full
333   * @crossplatform
334   * @atomicservice
335   * @since 14
336   */
337  accessibilityText?: ResourceStr;
338
339  /**
340   * Set accessibility description for accessibility icon.
341   *
342   * @type { ?ResourceStr }
343   * @syscap SystemCapability.ArkUI.ArkUI.Full
344   * @crossplatform
345   * @atomicservice
346   * @since 14
347   */
348  accessibilityDescription?: ResourceStr;
349}
350
351/**
352 * Defines accessibility options of default close icon.
353 *
354 * @interface CloseOptions
355 * @syscap SystemCapability.ArkUI.ArkUI.Full
356 * @crossplatform
357 * @atomicservice
358 * @since 14
359 */
360export interface CloseOptions extends AccessibilityOptions {}
361
362/**
363 * Defines chip symbolglyph options.
364 *
365 * @interface ChipSymbolGlyphOptions
366 * @syscap SystemCapability.ArkUI.ArkUI.Full
367 * @atomicservice
368 * @since 12
369 */
370export interface ChipSymbolGlyphOptions {
371
372  /**
373   * Symbol normal.
374   *
375   * @type { ?SymbolGlyphModifier }
376   * @syscap SystemCapability.ArkUI.ArkUI.Full
377   * @atomicservice
378   * @since 12
379   */
380  normal?: SymbolGlyphModifier;
381
382  /**
383   * Symbol activated.
384   *
385   * @type { ?SymbolGlyphModifier }
386   * @syscap SystemCapability.ArkUI.ArkUI.Full
387   * @atomicservice
388   * @since 12
389   */
390  activated?: SymbolGlyphModifier;
391}
392
393/**
394 * Defines accessibility options of suffix symbol.
395 *
396 * @interface ChipSuffixSymbolGlyphOptions
397 * @syscap SystemCapability.ArkUI.ArkUI.Full
398 * @crossplatform
399 * @atomicservice
400 * @since 14
401 */
402export interface ChipSuffixSymbolGlyphOptions {
403  /**
404   * Set normal accessibility options for suffix symbol.
405   *
406   * @type { ?AccessibilityOptions }
407   * @syscap SystemCapability.ArkUI.ArkUI.Full
408   * @crossplatform
409   * @atomicservice
410   * @since 14
411   */
412  normalAccessibility?: AccessibilityOptions;
413
414  /**
415   * Set activated accessibility options for suffix symbol.
416   *
417   * @type { ?AccessibilityOptions }
418   * @syscap SystemCapability.ArkUI.ArkUI.Full
419   * @crossplatform
420   * @atomicservice
421   * @since 14
422   */
423  activatedAccessibility?: AccessibilityOptions;
424
425  /**
426   * Called when the suffix symbol is clicked.
427   *
428   * @type { ?VoidCallback }
429   * @syscap SystemCapability.ArkUI.ArkUI.Full
430   * @crossplatform
431   * @atomicservice
432   * @since 14
433   */
434  action?: VoidCallback;
435}
436
437/**
438 * Defines label margin.
439 *
440 * @interface LabelMarginOptions
441 * @syscap SystemCapability.ArkUI.ArkUI.Full
442 * @crossplatform
443 * @since 11
444 */
445 /**
446 * Defines label margin.
447 *
448 * @interface LabelMarginOptions
449 * @syscap SystemCapability.ArkUI.ArkUI.Full
450 * @crossplatform
451 * @atomicservice
452 * @since 12
453 */
454export interface LabelMarginOptions {
455
456  /**
457   * Left label margin length.
458   *
459   * @type { ?Dimension }
460   * @syscap SystemCapability.ArkUI.ArkUI.Full
461   * @crossplatform
462   * @since 11
463   */
464   /**
465   * Left label margin length.
466   *
467   * @type { ?Dimension }
468   * @syscap SystemCapability.ArkUI.ArkUI.Full
469   * @crossplatform
470   * @atomicservice
471   * @since 12
472   */
473  left?: Dimension;
474
475  /**
476   * Right label margin length.
477   *
478   * @type { ?Dimension }
479   * @syscap SystemCapability.ArkUI.ArkUI.Full
480   * @crossplatform
481   * @since 11
482   */
483   /**
484   * Right label margin length.
485   *
486   * @type { ?Dimension }
487   * @syscap SystemCapability.ArkUI.ArkUI.Full
488   * @crossplatform
489   * @atomicservice
490   * @since 12
491   */
492  right?: Dimension;
493}
494
495/**
496 * Defines localized label margin.
497 *
498 * @interface LocalizedLabelMarginOptions
499 * @syscap SystemCapability.ArkUI.ArkUI.Full
500 * @crossplatform
501 * @atomicservice
502 * @since 12
503 */
504export interface LocalizedLabelMarginOptions {
505
506   /**
507   * start localized label margin length.
508   *
509   * @type { ?LengthMetrics }
510   * @syscap SystemCapability.ArkUI.ArkUI.Full
511   * @crossplatform
512   * @atomicservice
513   * @since 12
514   */
515   start?: LengthMetrics;
516
517   /**
518   * end localized label margin length.
519   *
520   * @type { ?LengthMetrics }
521   * @syscap SystemCapability.ArkUI.ArkUI.Full
522   * @crossplatform
523   * @atomicservice
524   * @since 12
525   */
526  end?: LengthMetrics;
527}
528
529/**
530 * Defines label option.
531 *
532 * @interface LabelOptions
533 * @syscap SystemCapability.ArkUI.ArkUI.Full
534 * @crossplatform
535 * @since 11
536 */
537 /**
538 * Defines label option.
539 *
540 * @interface LabelOptions
541 * @syscap SystemCapability.ArkUI.ArkUI.Full
542 * @crossplatform
543 * @atomicservice
544 * @since 12
545 */
546export interface LabelOptions {
547
548  /**
549   * Text content.
550   *
551   * @type { string }
552   * @syscap SystemCapability.ArkUI.ArkUI.Full
553   * @crossplatform
554   * @since 11
555   */
556   /**
557   * Text content.
558   *
559   * @type { string }
560   * @syscap SystemCapability.ArkUI.ArkUI.Full
561   * @crossplatform
562   * @atomicservice
563   * @since 12
564   */
565  text: string;
566
567  /**
568   * Text font size.
569   *
570   * @type { ?Dimension }
571   * @syscap SystemCapability.ArkUI.ArkUI.Full
572   * @crossplatform
573   * @since 11
574   */
575   /**
576   * Text font size.
577   *
578   * @type { ?Dimension }
579   * @syscap SystemCapability.ArkUI.ArkUI.Full
580   * @crossplatform
581   * @atomicservice
582   * @since 12
583   */
584  fontSize?: Dimension;
585
586  /**
587   * Text font color.
588   *
589   * @type { ?ResourceColor }
590   * @syscap SystemCapability.ArkUI.ArkUI.Full
591   * @crossplatform
592   * @since 11
593   */
594   /**
595   * Text font color.
596   *
597   * @type { ?ResourceColor }
598   * @syscap SystemCapability.ArkUI.ArkUI.Full
599   * @crossplatform
600   * @atomicservice
601   * @since 12
602   */
603  fontColor?: ResourceColor;
604
605  /**
606   * Text font color when chip is activated.
607   *
608   * @type { ?ResourceColor }
609   * @syscap SystemCapability.ArkUI.ArkUI.Full
610   * @crossplatform
611   * @atomicservice
612   * @since 12
613   */
614  activatedFontColor?: ResourceColor;
615
616  /**
617   * Text font family.
618   *
619   * @type { ?string }
620   * @syscap SystemCapability.ArkUI.ArkUI.Full
621   * @crossplatform
622   * @since 11
623   */
624   /**
625   * Text font family.
626   *
627   * @type { ?string }
628   * @syscap SystemCapability.ArkUI.ArkUI.Full
629   * @crossplatform
630   * @atomicservice
631   * @since 12
632   */
633  fontFamily?: string;
634
635  /**
636   * Label margin.
637   *
638   * @type { ?LabelMarginOptions }
639   * @syscap SystemCapability.ArkUI.ArkUI.Full
640   * @crossplatform
641   * @since 11
642   */
643   /**
644   * Label margin.
645   *
646   * @type { ?LabelMarginOptions }
647   * @syscap SystemCapability.ArkUI.ArkUI.Full
648   * @crossplatform
649   * @atomicservice
650   * @since 12
651   */
652  labelMargin?: LabelMarginOptions;
653
654   /**
655   * Localized label margin.
656   *
657   * @type { ?LocalizedLabelMarginOptions }
658   * @syscap SystemCapability.ArkUI.ArkUI.Full
659   * @crossplatform
660   * @atomicservice
661   * @since 12
662   */
663  localizedLabelMargin?: LocalizedLabelMarginOptions;
664}
665
666/**
667 * Defines chip options.
668 *
669 * @interface ChipOptions
670 * @syscap SystemCapability.ArkUI.ArkUI.Full
671 * @crossplatform
672 * @since 11
673 */
674 /**
675 * Defines chip options.
676 *
677 * @interface ChipOptions
678 * @syscap SystemCapability.ArkUI.ArkUI.Full
679 * @crossplatform
680 * @atomicservice
681 * @since 12
682 */
683export interface ChipOptions {
684  /**
685   * Chip prefix icon.
686   *
687   * @type { ?PrefixIconOptions }
688   * @syscap SystemCapability.ArkUI.ArkUI.Full
689   * @crossplatform
690   * @since 11
691   */
692   /**
693   * Chip prefix icon.
694   *
695   * @type { ?PrefixIconOptions }
696   * @syscap SystemCapability.ArkUI.ArkUI.Full
697   * @crossplatform
698   * @atomicservice
699   * @since 12
700   */
701  prefixIcon?: PrefixIconOptions;
702
703  /**
704   * Chip prefix symbol.
705   *
706   * @type { ?ChipSymbolGlyphOptions }
707   * @syscap SystemCapability.ArkUI.ArkUI.Full
708   * @atomicservice
709   * @since 12
710   */
711  prefixSymbol?: ChipSymbolGlyphOptions;
712
713  /**
714   * Chip label.
715   *
716   * @type { LabelOptions }
717   * @syscap SystemCapability.ArkUI.ArkUI.Full
718   * @crossplatform
719   * @since 11
720   */
721   /**
722   * Chip label.
723   *
724   * @type { LabelOptions }
725   * @syscap SystemCapability.ArkUI.ArkUI.Full
726   * @crossplatform
727   * @atomicservice
728   * @since 12
729   */
730  label: LabelOptions;
731
732  /**
733   * Chip suffix icon.
734   *
735   * @type { ?SuffixIconOptions }
736   * @syscap SystemCapability.ArkUI.ArkUI.Full
737   * @crossplatform
738   * @since 11
739   */
740   /**
741   * Chip suffix icon.
742   *
743   * @type { ?SuffixIconOptions }
744   * @syscap SystemCapability.ArkUI.ArkUI.Full
745   * @crossplatform
746   * @atomicservice
747   * @since 12
748   */
749  suffixIcon?: SuffixIconOptions;
750
751  /**
752   * Chip suffix symbol.
753   *
754   * @type { ?ChipSymbolGlyphOptions }
755   * @syscap SystemCapability.ArkUI.ArkUI.Full
756   * @atomicservice
757   * @since 12
758   */
759  suffixSymbol?: ChipSymbolGlyphOptions;
760
761  /**
762   * Set options for suffix symbol.
763   *
764   * @type { ?ChipSuffixSymbolGlyphOptions }
765   * @syscap SystemCapability.ArkUI.ArkUI.Full
766   * @crossplatform
767   * @atomicservice
768   * @since 14
769   */
770  suffixSymbolOptions?: ChipSuffixSymbolGlyphOptions;
771
772  /**
773   * Show close icon.
774   *
775   * @type { ?boolean }
776   * @syscap SystemCapability.ArkUI.ArkUI.Full
777   * @crossplatform
778   * @since 11
779   */
780   /**
781   * Show close icon.
782   *
783   * @type { ?boolean }
784   * @syscap SystemCapability.ArkUI.ArkUI.Full
785   * @crossplatform
786   * @atomicservice
787   * @since 12
788   */
789  allowClose?: boolean;
790
791  /**
792   * Set options for default close icon when 'allowaClose' is true.
793   *
794   * @type { ?CloseOptions }
795   * @syscap SystemCapability.ArkUI.ArkUI.Full
796   * @crossplatform
797   * @atomicservice
798   * @since 14
799   */
800  closeOptions?: CloseOptions;
801
802  /**
803   * Enable chip.
804   *
805   * @type { ?boolean }
806   * @syscap SystemCapability.ArkUI.ArkUI.Full
807   * @crossplatform
808   * @since 11
809   */
810   /**
811   * Enable chip.
812   *
813   * @type { ?boolean }
814   * @syscap SystemCapability.ArkUI.ArkUI.Full
815   * @crossplatform
816   * @atomicservice
817   * @since 12
818   */
819  enabled?: boolean;
820
821  /**
822   * Set whether chip is active or not.
823   *
824   * @type { ?boolean }
825   * @syscap SystemCapability.ArkUI.ArkUI.Full
826   * @crossplatform
827   * @atomicservice
828   * @since 12
829   */
830  activated?: boolean;
831
832  /**
833   * Chip background color.
834   *
835   * @type { ?ResourceColor }
836   * @syscap SystemCapability.ArkUI.ArkUI.Full
837   * @crossplatform
838   * @since 11
839   */
840   /**
841   * Chip background color.
842   *
843   * @type { ?ResourceColor }
844   * @syscap SystemCapability.ArkUI.ArkUI.Full
845   * @crossplatform
846   * @atomicservice
847   * @since 12
848   */
849  backgroundColor?: ResourceColor;
850
851  /**
852   * Chip background color when chip is activated.
853   *
854   * @type { ?ResourceColor }
855   * @syscap SystemCapability.ArkUI.ArkUI.Full
856   * @crossplatform
857   * @atomicservice
858   * @since 12
859   */
860  activatedBackgroundColor?: ResourceColor;
861
862  /**
863   * Chip radius.
864   *
865   * @type { ?Dimension }
866   * @syscap SystemCapability.ArkUI.ArkUI.Full
867   * @crossplatform
868   * @since 11
869   */
870   /**
871   * Chip radius.
872   *
873   * @type { ?Dimension }
874   * @syscap SystemCapability.ArkUI.ArkUI.Full
875   * @crossplatform
876   * @atomicservice
877   * @since 12
878   */
879  borderRadius?: Dimension;
880
881  /**
882   * Chip size.
883   *
884   * @type { ?ChipSize | SizeOptions }
885   * @syscap SystemCapability.ArkUI.ArkUI.Full
886   * @crossplatform
887   * @since 11
888   */
889   /**
890   * Chip size.
891   *
892   * @type { ?ChipSize | SizeOptions }
893   * @syscap SystemCapability.ArkUI.ArkUI.Full
894   * @crossplatform
895   * @atomicservice
896   * @since 12
897   */
898  size?: ChipSize | SizeOptions;
899
900  /**
901   * On close action.
902   *
903   * @type { ?function }
904   * @syscap SystemCapability.ArkUI.ArkUI.Full
905   * @crossplatform
906   * @since 11
907   */
908   /**
909   * On close action.
910   *
911   * @type { ?function }
912   * @syscap SystemCapability.ArkUI.ArkUI.Full
913   * @crossplatform
914   * @atomicservice
915   * @since 12
916   */
917  onClose?: () => void;
918
919  /**
920   * On clicked action.
921   *
922   * @type { ?Callback<void> }
923   * @syscap SystemCapability.ArkUI.ArkUI.Full
924   * @crossplatform
925   * @atomicservice
926   * @since 12
927   */
928  onClicked?: Callback<void>;
929
930  /**
931   * Indicates the attribute of the current chip direction.
932   *
933   * @type { ?Direction }
934   * @syscap SystemCapability.ArkUI.ArkUI.Full
935   * @crossplatform
936   * @atomicservice
937   * @since 12
938   */
939   direction?: Direction;
940
941  /**
942   * Set accessibility description for Chip.
943   *
944   * @type { ?ResourceStr }
945   * @syscap SystemCapability.ArkUI.ArkUI.Full
946   * @crossplatform
947   * @atomicservice
948   * @since 14
949   */
950  accessibilityDescription?: ResourceStr;
951
952  /**
953   * Set accessibility level for Chip.
954   *
955   * @type { ?string }
956   * @default "auto"
957   * @syscap SystemCapability.ArkUI.ArkUI.Full
958   * @crossplatform
959   * @atomicservice
960   * @since 14
961   */
962  accessibilityLevel?: string;
963
964  /**
965   * Set accessibility selected type for Chip.
966   *
967   * @type { ?AccessibilitySelectedType }
968   * @syscap SystemCapability.ArkUI.ArkUI.Full
969   * @crossplatform
970   * @atomicservice
971   * @since 14
972   */
973  accessibilitySelectedType?: AccessibilitySelectedType;
974}
975
976/**
977 * Build function of Chip.
978 *
979 * @param { ChipOptions } options - chip option.
980 * @syscap SystemCapability.ArkUI.ArkUI.Full
981 * @crossplatform
982 * @since 11
983 */
984 /**
985 * Build function of Chip.
986 *
987 * @param { ChipOptions } options - chip option.
988 * @syscap SystemCapability.ArkUI.ArkUI.Full
989 * @crossplatform
990 * @atomicservice
991 * @since 12
992 */
993@Builder
994export declare function Chip(options: ChipOptions): void;