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