• 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 * indexer align property.
23 *
24 * @enum { number }
25 * @syscap SystemCapability.ArkUI.ArkUI.Full
26 * @since 7
27 */
28/**
29 * indexer align property.
30 *
31 * @enum { number }
32 * @syscap SystemCapability.ArkUI.ArkUI.Full
33 * @crossplatform
34 * @since 10
35 */
36/**
37 * indexer align property.
38 *
39 * @enum { number }
40 * @syscap SystemCapability.ArkUI.ArkUI.Full
41 * @crossplatform
42 * @atomicservice
43 * @since 11
44 */
45declare enum IndexerAlign {
46  /**
47   * A dialog box is displayed on the right of the index bar.
48   *
49   * @syscap SystemCapability.ArkUI.ArkUI.Full
50   * @since 7
51   */
52  /**
53   * A dialog box is displayed on the right of the index bar.
54   *
55   * @syscap SystemCapability.ArkUI.ArkUI.Full
56   * @crossplatform
57   * @since 10
58   */
59  /**
60   * A dialog box is displayed on the right of the index bar.
61   *
62   * @syscap SystemCapability.ArkUI.ArkUI.Full
63   * @crossplatform
64   * @atomicservice
65   * @since 11
66   */
67  Left,
68
69  /**
70   * A dialog box is displayed on the left of the index bar.
71   *
72   * @syscap SystemCapability.ArkUI.ArkUI.Full
73   * @since 7
74   */
75  /**
76   * A dialog box is displayed on the left of the index bar.
77   *
78   * @syscap SystemCapability.ArkUI.ArkUI.Full
79   * @crossplatform
80   * @since 10
81   */
82  /**
83   * A dialog box is displayed on the left of the index bar.
84   *
85   * @syscap SystemCapability.ArkUI.ArkUI.Full
86   * @crossplatform
87   * @atomicservice
88   * @since 11
89   */
90  Right,
91
92  /**
93   * A dialog box is displayed on the start of the index bar.
94   *
95   * @syscap SystemCapability.ArkUI.ArkUI.Full
96   * @crossplatform
97   * @atomicservice
98   * @since 12
99   */
100  START,
101
102  /**
103   * A dialog box is displayed on the end of the index bar.
104   *
105   * @syscap SystemCapability.ArkUI.ArkUI.Full
106   * @crossplatform
107   * @atomicservice
108   * @since 12
109   */
110  END,
111}
112
113/**
114 * Alphabet index bar.
115 *
116 * @interface AlphabetIndexerInterface
117 * @syscap SystemCapability.ArkUI.ArkUI.Full
118 * @since 7
119 */
120/**
121 * Alphabet index bar.
122 *
123 * @interface AlphabetIndexerInterface
124 * @syscap SystemCapability.ArkUI.ArkUI.Full
125 * @crossplatform
126 * @since 10
127 */
128/**
129 * Alphabet index bar.
130 *
131 * @interface AlphabetIndexerInterface
132 * @syscap SystemCapability.ArkUI.ArkUI.Full
133 * @crossplatform
134 * @atomicservice
135 * @since 11
136 */
137interface AlphabetIndexerInterface {
138  /**
139   * ArrayValue: Alphabetical index string array.
140   * selected: ID of the selected item.
141   *
142   * @param { object } value
143   * @returns { AlphabetIndexerAttribute }
144   * @syscap SystemCapability.ArkUI.ArkUI.Full
145   * @since 7
146   */
147  /**
148   * ArrayValue: Alphabetical index string array.
149   * selected: ID of the selected item.
150   *
151   * @param { object } value
152   * @returns { AlphabetIndexerAttribute }
153   * @syscap SystemCapability.ArkUI.ArkUI.Full
154   * @crossplatform
155   * @since 10
156   */
157  /**
158   * ArrayValue: Alphabetical index string array.
159   * selected: ID of the selected item.
160   *
161   * @param { object } value
162   * @returns { AlphabetIndexerAttribute }
163   * @syscap SystemCapability.ArkUI.ArkUI.Full
164   * @crossplatform
165   * @atomicservice
166   * @since 11
167   */
168  (value: { arrayValue: Array<string>; selected: number }): AlphabetIndexerAttribute;
169}
170
171/**
172 * Defines the alphabet index bar attribute functions.
173 *
174 * @extends CommonMethod<AlphabetIndexerAttribute>
175 * @syscap SystemCapability.ArkUI.ArkUI.Full
176 * @since 7
177 */
178/**
179 * Defines the alphabet index bar attribute functions.
180 *
181 * @extends CommonMethod<AlphabetIndexerAttribute>
182 * @syscap SystemCapability.ArkUI.ArkUI.Full
183 * @crossplatform
184 * @since 10
185 */
186/**
187 * Defines the alphabet index bar attribute functions.
188 *
189 * @extends CommonMethod<AlphabetIndexerAttribute>
190 * @syscap SystemCapability.ArkUI.ArkUI.Full
191 * @crossplatform
192 * @atomicservice
193 * @since 11
194 */
195declare class AlphabetIndexerAttribute extends CommonMethod<AlphabetIndexerAttribute> {
196  /**
197   * Index bar selection callback.
198   *
199   * @param { function } callback
200   * @returns { AlphabetIndexerAttribute }
201   * @syscap SystemCapability.ArkUI.ArkUI.Full
202   * @since 7
203   * @deprecated since 8
204   * @useinstead onSelect
205   */
206  onSelected(callback: (index: number) => void): AlphabetIndexerAttribute;
207
208  /**
209   * Definitions color.
210   *
211   * @param { ResourceColor } value
212   * @returns { AlphabetIndexerAttribute }
213   * @syscap SystemCapability.ArkUI.ArkUI.Full
214   * @since 7
215   */
216  /**
217   * Definitions color.
218   *
219   * @param { ResourceColor } value
220   * @returns { AlphabetIndexerAttribute }
221   * @syscap SystemCapability.ArkUI.ArkUI.Full
222   * @crossplatform
223   * @since 10
224   */
225  /**
226   * Definitions color.
227   *
228   * @param { ResourceColor } value
229   * @returns { AlphabetIndexerAttribute }
230   * @syscap SystemCapability.ArkUI.ArkUI.Full
231   * @crossplatform
232   * @atomicservice
233   * @since 11
234   */
235  color(value: ResourceColor): AlphabetIndexerAttribute;
236
237  /**
238   * Select the text color.
239   *
240   * @param { ResourceColor } value
241   * @returns { AlphabetIndexerAttribute }
242   * @syscap SystemCapability.ArkUI.ArkUI.Full
243   * @since 7
244   */
245  /**
246   * Select the text color.
247   *
248   * @param { ResourceColor } value
249   * @returns { AlphabetIndexerAttribute }
250   * @syscap SystemCapability.ArkUI.ArkUI.Full
251   * @crossplatform
252   * @since 10
253   */
254  /**
255   * Select the text color.
256   *
257   * @param { ResourceColor } value
258   * @returns { AlphabetIndexerAttribute }
259   * @syscap SystemCapability.ArkUI.ArkUI.Full
260   * @crossplatform
261   * @atomicservice
262   * @since 11
263   */
264  selectedColor(value: ResourceColor): AlphabetIndexerAttribute;
265
266  /**
267   * Font color of the pop-up prompt text.
268   *
269   * @param { ResourceColor } value
270   * @returns { AlphabetIndexerAttribute }
271   * @syscap SystemCapability.ArkUI.ArkUI.Full
272   * @since 7
273   */
274  /**
275   * Font color of the pop-up prompt text.
276   *
277   * @param { ResourceColor } value
278   * @returns { AlphabetIndexerAttribute }
279   * @syscap SystemCapability.ArkUI.ArkUI.Full
280   * @crossplatform
281   * @since 10
282   */
283  /**
284   * Font color of the pop-up prompt text.
285   *
286   * @param { ResourceColor } value
287   * @returns { AlphabetIndexerAttribute }
288   * @syscap SystemCapability.ArkUI.ArkUI.Full
289   * @crossplatform
290   * @atomicservice
291   * @since 11
292   */
293  popupColor(value: ResourceColor): AlphabetIndexerAttribute;
294
295  /**
296   * Select the text background color.
297   *
298   * @param { ResourceColor } value
299   * @returns { AlphabetIndexerAttribute }
300   * @syscap SystemCapability.ArkUI.ArkUI.Full
301   * @since 7
302   */
303  /**
304   * Select the text background color.
305   *
306   * @param { ResourceColor } value
307   * @returns { AlphabetIndexerAttribute }
308   * @syscap SystemCapability.ArkUI.ArkUI.Full
309   * @crossplatform
310   * @since 10
311   */
312  /**
313   * Select the text background color.
314   *
315   * @param { ResourceColor } value
316   * @returns { AlphabetIndexerAttribute }
317   * @syscap SystemCapability.ArkUI.ArkUI.Full
318   * @crossplatform
319   * @atomicservice
320   * @since 11
321   */
322  selectedBackgroundColor(value: ResourceColor): AlphabetIndexerAttribute;
323
324  /**
325   * Background color of the pop-up window index.
326   *
327   * @param { ResourceColor } value
328   * @returns { AlphabetIndexerAttribute }
329   * @syscap SystemCapability.ArkUI.ArkUI.Full
330   * @since 7
331   */
332  /**
333   * Background color of the pop-up window index.
334   *
335   * @param { ResourceColor } value
336   * @returns { AlphabetIndexerAttribute }
337   * @syscap SystemCapability.ArkUI.ArkUI.Full
338   * @crossplatform
339   * @since 10
340   */
341  /**
342   * Background color of the pop-up window index.
343   *
344   * @param { ResourceColor } value
345   * @returns { AlphabetIndexerAttribute }
346   * @syscap SystemCapability.ArkUI.ArkUI.Full
347   * @crossplatform
348   * @atomicservice
349   * @since 11
350   */
351  popupBackground(value: ResourceColor): AlphabetIndexerAttribute;
352
353  /**
354   * Set the selected font color of non-alphabetic part of the pop-up window.
355   *
356   * @param { ResourceColor } value - indicates the color of the selected font.
357   * @returns { AlphabetIndexerAttribute }
358   * @syscap SystemCapability.ArkUI.ArkUI.Full
359   * @since 10
360   */
361  /**
362   * Set the selected font color of non-alphabetic part of the pop-up window.
363   *
364   * @param { ResourceColor } value - indicates the color of the selected font.
365   * @returns { AlphabetIndexerAttribute }
366   * @syscap SystemCapability.ArkUI.ArkUI.Full
367   * @crossplatform
368   * @since 10
369   */
370  /**
371   * Set the selected font color of non-alphabetic part of the pop-up window.
372   *
373   * @param { ResourceColor } value - indicates the color of the selected font.
374   * @returns { AlphabetIndexerAttribute }
375   * @syscap SystemCapability.ArkUI.ArkUI.Full
376   * @crossplatform
377   * @atomicservice
378   * @since 11
379   */
380  popupSelectedColor(value: ResourceColor): AlphabetIndexerAttribute;
381
382  /**
383   * Set the unselected font color of non-alphabetic part of the pop-up window.
384   *
385   * @param { ResourceColor } value - indicates the color of the unselected font.
386   * @returns { AlphabetIndexerAttribute }
387   * @syscap SystemCapability.ArkUI.ArkUI.Full
388   * @crossplatform
389   * @since 10
390   */
391  /**
392   * Set the unselected font color of non-alphabetic part of the pop-up window.
393   *
394   * @param { ResourceColor } value - indicates the color of the unselected font.
395   * @returns { AlphabetIndexerAttribute }
396   * @syscap SystemCapability.ArkUI.ArkUI.Full
397   * @crossplatform
398   * @atomicservice
399   * @since 11
400   */
401  popupUnselectedColor(value: ResourceColor): AlphabetIndexerAttribute;
402
403  /**
404   * Set the background color of non-alphabetic part of the pop-up window.
405   *
406   * @param { ResourceColor } value - indicates the color of background.
407   * @returns { AlphabetIndexerAttribute }
408   * @syscap SystemCapability.ArkUI.ArkUI.Full
409   * @crossplatform
410   * @since 10
411   */
412  /**
413   * Set the background color of non-alphabetic part of the pop-up window.
414   *
415   * @param { ResourceColor } value - indicates the color of background.
416   * @returns { AlphabetIndexerAttribute }
417   * @syscap SystemCapability.ArkUI.ArkUI.Full
418   * @crossplatform
419   * @atomicservice
420   * @since 11
421   */
422  popupItemBackgroundColor(value: ResourceColor): AlphabetIndexerAttribute;
423
424  /**
425   * Whether to use pop-up index hints.
426   *
427   * @param { boolean } value
428   * @returns { AlphabetIndexerAttribute }
429   * @syscap SystemCapability.ArkUI.ArkUI.Full
430   * @since 7
431   */
432  /**
433   * Whether to use pop-up index hints.
434   *
435   * @param { boolean } value
436   * @returns { AlphabetIndexerAttribute }
437   * @syscap SystemCapability.ArkUI.ArkUI.Full
438   * @crossplatform
439   * @since 10
440   */
441  /**
442   * Whether to use pop-up index hints.
443   *
444   * @param { boolean } value
445   * @returns { AlphabetIndexerAttribute }
446   * @syscap SystemCapability.ArkUI.ArkUI.Full
447   * @crossplatform
448   * @atomicservice
449   * @since 11
450   */
451  usingPopup(value: boolean): AlphabetIndexerAttribute;
452
453  /**
454   * Select the text text style,
455   *
456   * @param { Font } value
457   * @returns { AlphabetIndexerAttribute }
458   * @syscap SystemCapability.ArkUI.ArkUI.Full
459   * @since 7
460   */
461  /**
462   * Select the text text style,
463   *
464   * @param { Font } value
465   * @returns { AlphabetIndexerAttribute }
466   * @syscap SystemCapability.ArkUI.ArkUI.Full
467   * @crossplatform
468   * @since 10
469   */
470  /**
471   * Select the text text style,
472   *
473   * @param { Font } value
474   * @returns { AlphabetIndexerAttribute }
475   * @syscap SystemCapability.ArkUI.ArkUI.Full
476   * @crossplatform
477   * @atomicservice
478   * @since 11
479   */
480  selectedFont(value: Font): AlphabetIndexerAttribute;
481
482  /**
483   * Select the text background color.
484   *
485   * @param { Font } value
486   * @returns { AlphabetIndexerAttribute }
487   * @syscap SystemCapability.ArkUI.ArkUI.Full
488   * @since 7
489   */
490  /**
491   * Select the text background color.
492   *
493   * @param { Font } value
494   * @returns { AlphabetIndexerAttribute }
495   * @syscap SystemCapability.ArkUI.ArkUI.Full
496   * @crossplatform
497   * @since 10
498   */
499  /**
500   * Select the text background color.
501   *
502   * @param { Font } value
503   * @returns { AlphabetIndexerAttribute }
504   * @syscap SystemCapability.ArkUI.ArkUI.Full
505   * @crossplatform
506   * @atomicservice
507   * @since 11
508   */
509  popupFont(value: Font): AlphabetIndexerAttribute;
510
511  /**
512   * Set the font style of non-alphabetic part of the prompt pop-up window.
513   * Family and style are not supported currently and will be fixed in future.
514   *
515   * @param { Font } value - indicates the style of the font.
516   * @returns { AlphabetIndexerAttribute }
517   * @syscap SystemCapability.ArkUI.ArkUI.Full
518   * @crossplatform
519   * @since 10
520   */
521  /**
522   * Set the font style of non-alphabetic part of the prompt pop-up window.
523   * Family and style are not supported currently and will be fixed in future.
524   *
525   * @param { Font } value - indicates the style of the font.
526   * @returns { AlphabetIndexerAttribute }
527   * @syscap SystemCapability.ArkUI.ArkUI.Full
528   * @crossplatform
529   * @atomicservice
530   * @since 11
531   */
532  popupItemFont(value: Font): AlphabetIndexerAttribute;
533
534  /**
535   * Size of the letter area on the letter index bar. The letter area is a square. Set the length of the square side.
536   *
537   * @param { string | number } value
538   * @returns { AlphabetIndexerAttribute }
539   * @syscap SystemCapability.ArkUI.ArkUI.Full
540   * @since 7
541   */
542  /**
543   * Size of the letter area on the letter index bar. The letter area is a square. Set the length of the square side.
544   *
545   * @param { string | number } value
546   * @returns { AlphabetIndexerAttribute }
547   * @syscap SystemCapability.ArkUI.ArkUI.Full
548   * @crossplatform
549   * @since 10
550   */
551  /**
552   * Size of the letter area on the letter index bar. The letter area is a square. Set the length of the square side.
553   *
554   * @param { string | number } value
555   * @returns { AlphabetIndexerAttribute }
556   * @syscap SystemCapability.ArkUI.ArkUI.Full
557   * @crossplatform
558   * @atomicservice
559   * @since 11
560   */
561  itemSize(value: string | number): AlphabetIndexerAttribute;
562
563  /**
564   * Definitions fonts.
565   *
566   * @param { Font } value
567   * @returns { AlphabetIndexerAttribute }
568   * @syscap SystemCapability.ArkUI.ArkUI.Full
569   * @since 7
570   */
571  /**
572   * Definitions fonts.
573   *
574   * @param { Font } value
575   * @returns { AlphabetIndexerAttribute }
576   * @syscap SystemCapability.ArkUI.ArkUI.Full
577   * @crossplatform
578   * @since 10
579   */
580  /**
581   * Definitions fonts.
582   *
583   * @param { Font } value
584   * @returns { AlphabetIndexerAttribute }
585   * @syscap SystemCapability.ArkUI.ArkUI.Full
586   * @crossplatform
587   * @atomicservice
588   * @since 11
589   */
590  font(value: Font): AlphabetIndexerAttribute;
591
592  /**
593   * Alphabet index bar alignment style. The left and right alignment styles are supported,
594   * which affects the pop-up position of the pop-up window.
595   *
596   * @param { IndexerAlign } value - indicates the alignment style of Alphabet index.
597   * @returns { AlphabetIndexerAttribute }
598   * @syscap SystemCapability.ArkUI.ArkUI.Full
599   * @since 7
600   */
601  /**
602   * Alphabet index bar alignment style. The left and right alignment styles are supported,
603   * which affects the pop-up position of the pop-up window.
604   *
605   * @param { IndexerAlign } value - indicates the alignment style of Alphabet index.
606   * @param { Length } [offset] - indicates the horizontal space between pop-up window and indexer bar.
607   * @returns { AlphabetIndexerAttribute }
608   * @syscap SystemCapability.ArkUI.ArkUI.Full
609   * @crossplatform
610   * @since 10
611   */
612  /**
613   * Alphabet index bar alignment style. The left and right alignment styles are supported,
614   * which affects the pop-up position of the pop-up window.
615   *
616   * @param { IndexerAlign } value - indicates the alignment style of Alphabet index.
617   * @param { Length } [offset] - indicates the horizontal space between pop-up window and indexer bar.
618   * @returns { AlphabetIndexerAttribute }
619   * @syscap SystemCapability.ArkUI.ArkUI.Full
620   * @crossplatform
621   * @atomicservice
622   * @since 11
623   */
624  alignStyle(value: IndexerAlign, offset?: Length): AlphabetIndexerAttribute;
625
626  /**
627   * Index bar selection callback.
628   *
629   * @param { function } callback
630   * @returns { AlphabetIndexerAttribute }
631   * @syscap SystemCapability.ArkUI.ArkUI.Full
632   * @since 8
633   */
634  /**
635   * Index bar selection callback.
636   *
637   * @param { function } callback
638   * @returns { AlphabetIndexerAttribute }
639   * @syscap SystemCapability.ArkUI.ArkUI.Full
640   * @crossplatform
641   * @since 10
642   */
643  /**
644   * Index bar selection callback.
645   *
646   * @param { function } callback
647   * @returns { AlphabetIndexerAttribute }
648   * @syscap SystemCapability.ArkUI.ArkUI.Full
649   * @crossplatform
650   * @atomicservice
651   * @since 11
652   */
653  onSelect(callback: (index: number) => void): AlphabetIndexerAttribute;
654
655  /**
656   * Index bar selection callback and return the strings which display on pop-up.
657   *
658   * @param { function } callback
659   * @returns { AlphabetIndexerAttribute }
660   * @syscap SystemCapability.ArkUI.ArkUI.Full
661   * @since 8
662   */
663  /**
664   * Index bar selection callback and return the strings which display on pop-up.
665   *
666   * @param { function } callback
667   * @returns { AlphabetIndexerAttribute }
668   * @syscap SystemCapability.ArkUI.ArkUI.Full
669   * @crossplatform
670   * @since 10
671   */
672  /**
673   * Index bar selection callback and return the strings which display on pop-up.
674   *
675   * @param { function } callback
676   * @returns { AlphabetIndexerAttribute }
677   * @syscap SystemCapability.ArkUI.ArkUI.Full
678   * @crossplatform
679   * @atomicservice
680   * @since 11
681   */
682  onRequestPopupData(callback: (index: number) => Array<string>): AlphabetIndexerAttribute;
683
684  /**
685   * Pop-up selection callback.
686   *
687   * @param { function } callback
688   * @returns { AlphabetIndexerAttribute }
689   * @syscap SystemCapability.ArkUI.ArkUI.Full
690   * @since 8
691   */
692  /**
693   * Pop-up selection callback.
694   *
695   * @param { function } callback
696   * @returns { AlphabetIndexerAttribute }
697   * @syscap SystemCapability.ArkUI.ArkUI.Full
698   * @crossplatform
699   * @since 10
700   */
701  /**
702   * Pop-up selection callback.
703   *
704   * @param { function } callback
705   * @returns { AlphabetIndexerAttribute }
706   * @syscap SystemCapability.ArkUI.ArkUI.Full
707   * @crossplatform
708   * @atomicservice
709   * @since 11
710   */
711  onPopupSelect(callback: (index: number) => void): AlphabetIndexerAttribute;
712
713  /**
714   * Sets the selected index.
715   *
716   * @param { number } index
717   * @returns { AlphabetIndexerAttribute }
718   * @syscap SystemCapability.ArkUI.ArkUI.Full
719   * @since 8
720   */
721  /**
722   * Sets the selected index.
723   *
724   * @param { number } index
725   * @returns { AlphabetIndexerAttribute }
726   * @syscap SystemCapability.ArkUI.ArkUI.Full
727   * @crossplatform
728   * @since 10
729   */
730  /**
731   * Sets the selected index.
732   *
733   * @param { number } index
734   * @returns { AlphabetIndexerAttribute }
735   * @syscap SystemCapability.ArkUI.ArkUI.Full
736   * @crossplatform
737   * @atomicservice
738   * @since 11
739   */
740  selected(index: number): AlphabetIndexerAttribute;
741
742  /**
743   * Position of the pop-up windows, relative to the midpoint of the top border of the indexer bar.
744   *
745   * @param { Position } value
746   * @returns { AlphabetIndexerAttribute }
747   * @syscap SystemCapability.ArkUI.ArkUI.Full
748   * @since 8
749   */
750  /**
751   * Position of the pop-up windows, relative to the midpoint of the top border of the indexer bar.
752   *
753   * @param { Position } value
754   * @returns { AlphabetIndexerAttribute }
755   * @syscap SystemCapability.ArkUI.ArkUI.Full
756   * @crossplatform
757   * @since 10
758   */
759  /**
760   * Position of the pop-up windows, relative to the midpoint of the top border of the indexer bar.
761   *
762   * @param { Position } value
763   * @returns { AlphabetIndexerAttribute }
764   * @syscap SystemCapability.ArkUI.ArkUI.Full
765   * @crossplatform
766   * @atomicservice
767   * @since 11
768   */
769  popupPosition(value: Position): AlphabetIndexerAttribute;
770
771  /**
772   * Automatically collapses the characters when the indexer bar not high enough to display all characters.
773   *
774   * @param { boolean } value - A boolean value determines whether auto collapses is enabled for indexer bar.
775   * @returns { AlphabetIndexerAttribute }
776   * @syscap SystemCapability.ArkUI.ArkUI.Full
777   * @crossplatform
778   * @since 11
779   */
780  /**
781   * Automatically collapses the characters when the indexer bar not high enough to display all characters.
782   *
783   * @param { boolean } value - A boolean value determines whether auto collapses is enabled for indexer bar.
784   * @returns { AlphabetIndexerAttribute }
785   * @syscap SystemCapability.ArkUI.ArkUI.Full
786   * @crossplatform
787   * @atomicservice
788   * @since 12
789   */
790  autoCollapse(value: boolean): AlphabetIndexerAttribute;
791
792  /**
793   * Set the radius of the item of the pop-up window.
794   *
795   * @param { number } value
796   * @returns { AlphabetIndexerAttribute }
797   * @syscap SystemCapability.ArkUI.ArkUI.Full
798   * @crossplatform
799   * @atomicservice
800   * @since 12
801   */
802  popupItemBorderRadius(value: number): AlphabetIndexerAttribute;
803
804  /**
805   * Set the radius of the item of the indexer.
806   *
807   * @param { number } value
808   * @returns { AlphabetIndexerAttribute }
809   * @syscap SystemCapability.ArkUI.ArkUI.Full
810   * @crossplatform
811   * @atomicservice
812   * @since 12
813   */
814  itemBorderRadius(value: number): AlphabetIndexerAttribute;
815
816  /**
817   * Set the background blurStyle of title of the pop-up window.
818   *
819   * @param { BlurStyle } value
820   * @returns { AlphabetIndexerAttribute }
821   * @syscap SystemCapability.ArkUI.ArkUI.Full
822   * @crossplatform
823   * @atomicservice
824   * @since 12
825   */
826  popupBackgroundBlurStyle(value: BlurStyle): AlphabetIndexerAttribute;
827
828  /**
829   * Set the background color of title of the pop-up window.
830   *
831   * @param { ResourceColor } value
832   * @returns { AlphabetIndexerAttribute }
833   * @syscap SystemCapability.ArkUI.ArkUI.Full
834   * @crossplatform
835   * @atomicservice
836   * @since 12
837   */
838  popupTitleBackground(value: ResourceColor): AlphabetIndexerAttribute;
839
840  /**
841   * Enable or disable haptic feedback.
842   *
843   * @param { boolean } value - Default value is true, set false to disable haptic feedback.
844   * @returns { AlphabetIndexerAttribute }
845   * @syscap SystemCapability.ArkUI.ArkUI.Full
846   * @atomicservice
847   * @since 12
848   */
849  enableHapticFeedback(value: boolean): AlphabetIndexerAttribute;
850}
851
852/**
853 * Defines AlphabetIndexer Component.
854 *
855 * @syscap SystemCapability.ArkUI.ArkUI.Full
856 * @since 7
857 */
858/**
859 * Defines AlphabetIndexer Component.
860 *
861 * @syscap SystemCapability.ArkUI.ArkUI.Full
862 * @crossplatform
863 * @since 10
864 */
865/**
866 * Defines AlphabetIndexer Component.
867 *
868 * @syscap SystemCapability.ArkUI.ArkUI.Full
869 * @crossplatform
870 * @atomicservice
871 * @since 11
872 */
873declare const AlphabetIndexer: AlphabetIndexerInterface;
874
875/**
876 * Defines AlphabetIndexer Component instance.
877 *
878 * @syscap SystemCapability.ArkUI.ArkUI.Full
879 * @since 7
880 */
881/**
882 * Defines AlphabetIndexer Component instance.
883 *
884 * @syscap SystemCapability.ArkUI.ArkUI.Full
885 * @crossplatform
886 * @since 10
887 */
888/**
889 * Defines AlphabetIndexer Component instance.
890 *
891 * @syscap SystemCapability.ArkUI.ArkUI.Full
892 * @crossplatform
893 * @atomicservice
894 * @since 11
895 */
896declare const AlphabetIndexerInstance: AlphabetIndexerAttribute;
897