@triniwiz/nativescript-masonkit 1.0.0-beta.95 → 1.0.0-beta.97

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/DOCS.md +41 -23
  2. package/README.md +15 -0
  3. package/angular/fesm2022/triniwiz-nativescript-masonkit-angular.mjs +30 -1
  4. package/angular/fesm2022/triniwiz-nativescript-masonkit-angular.mjs.map +1 -1
  5. package/common.js +23 -131
  6. package/common.js.map +1 -1
  7. package/framework-registry.d.ts +50 -0
  8. package/framework-registry.js +176 -0
  9. package/framework-registry.js.map +1 -0
  10. package/index.android.d.ts +15 -0
  11. package/index.android.js +18 -0
  12. package/index.android.js.map +1 -1
  13. package/index.d.ts +18 -0
  14. package/index.ios.d.ts +1 -0
  15. package/index.ios.js +1 -0
  16. package/index.ios.js.map +1 -1
  17. package/index.windows.d.ts +1 -0
  18. package/index.windows.js +1 -0
  19. package/index.windows.js.map +1 -1
  20. package/package.json +1 -1
  21. package/platforms/android/masonkit-release.aar +0 -0
  22. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +2688 -11414
  23. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +2688 -11414
  24. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +2688 -11414
  25. package/platforms/ios/Mason.xcframework/xros-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros.abi.json +2688 -11414
  26. package/platforms/ios/Mason.xcframework/xros-arm64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-xros-simulator.abi.json +2688 -11414
  27. package/references.d.ts +5 -0
  28. package/style.d.ts +1 -1
  29. package/text-runs.d.ts +23 -0
  30. package/text-runs.js +65 -0
  31. package/text-runs.js.map +1 -0
  32. package/typings/android.d.ts +7324 -0
  33. package/typings/objc!Mason.d.ts +3957 -0
  34. package/typings/objc!ObjectiveC.d.ts +1640 -0
  35. package/typings/windows.d.ts +330 -0
  36. package/vue/README.md +66 -0
  37. package/vue/index.d.ts +4 -0
  38. package/vue/index.d.ts.map +1 -0
  39. package/vue/index.js +3 -0
  40. package/vue/index.js.map +1 -0
  41. package/vue/package.json +39 -0
  42. package/vue/src/element-registry.d.ts +18 -0
  43. package/vue/src/element-registry.d.ts.map +1 -0
  44. package/vue/src/element-registry.js +56 -0
  45. package/vue/src/element-registry.js.map +1 -0
  46. package/vue/src/mason-meta.d.ts +7 -0
  47. package/vue/src/mason-meta.d.ts.map +1 -0
  48. package/vue/src/mason-meta.js +91 -0
  49. package/vue/src/mason-meta.js.map +1 -0
  50. package/web.js +11 -1
  51. package/web.js.map +1 -1
@@ -0,0 +1,3957 @@
1
+
2
+ declare const enum AvailableSpace_Tag {
3
+
4
+ Definite = 0,
5
+
6
+ MinContent = 1,
7
+
8
+ MaxContent = 2
9
+ }
10
+
11
+ declare class BackgroundCALayer extends CALayer {
12
+
13
+ static alloc(): BackgroundCALayer; // inherited from NSObject
14
+
15
+ static layer(): BackgroundCALayer; // inherited from CALayer
16
+
17
+ static new(): BackgroundCALayer; // inherited from NSObject
18
+ }
19
+
20
+ interface CMasonBuffer {
21
+ data: interop.Pointer | interop.Reference<any>;
22
+ size: number;
23
+ }
24
+ declare var CMasonBuffer: interop.StructType<CMasonBuffer>;
25
+
26
+ interface CMasonInlineChildSegment {
27
+ node: interop.Pointer | interop.Reference<any>;
28
+ descent: number;
29
+ }
30
+ declare var CMasonInlineChildSegment: interop.StructType<CMasonInlineChildSegment>;
31
+
32
+ interface CMasonInlineTextSegment {
33
+ width: number;
34
+ ascent: number;
35
+ descent: number;
36
+ flags: number;
37
+ }
38
+ declare var CMasonInlineTextSegment: interop.StructType<CMasonInlineTextSegment>;
39
+
40
+ interface CMasonMinMax {
41
+ min_type: number;
42
+ min_value: number;
43
+ max_type: number;
44
+ max_value: number;
45
+ }
46
+ declare var CMasonMinMax: interop.StructType<CMasonMinMax>;
47
+
48
+ declare const enum CMasonSegment_Tag {
49
+
50
+ Text = 0,
51
+
52
+ InlineChild = 1,
53
+
54
+ LineBreak = 2
55
+ }
56
+
57
+ declare class GridPlacementCompat extends NSObject {
58
+
59
+ static alloc(): GridPlacementCompat; // inherited from NSObject
60
+
61
+ static new(): GridPlacementCompat; // inherited from NSObject
62
+
63
+ readonly cssValue: string;
64
+
65
+ readonly jsonValue: string;
66
+
67
+ readonly type: MasonGridPlacementCompatType;
68
+
69
+ readonly value: number;
70
+
71
+ static readonly Auto: GridPlacementCompat;
72
+
73
+ constructor(o: { line: number; });
74
+
75
+ constructor(o: { span: number; });
76
+
77
+ initWithLine(line: number): this;
78
+
79
+ initWithSpan(span: number): this;
80
+ }
81
+
82
+ declare class LineGridPlacementCompat extends NSObject {
83
+
84
+ static alloc(): LineGridPlacementCompat; // inherited from NSObject
85
+
86
+ static new(): LineGridPlacementCompat; // inherited from NSObject
87
+
88
+ readonly end: GridPlacementCompat;
89
+
90
+ readonly start: GridPlacementCompat;
91
+ }
92
+
93
+ declare const enum MasonAlign {
94
+
95
+ Auto = 0,
96
+
97
+ Left = 1,
98
+
99
+ Right = 2,
100
+
101
+ Center = 3
102
+ }
103
+
104
+ declare const enum MasonAlignContent {
105
+
106
+ Normal = -1,
107
+
108
+ Start = 0,
109
+
110
+ End = 1,
111
+
112
+ Center = 2,
113
+
114
+ Stretch = 3,
115
+
116
+ SpaceBetween = 4,
117
+
118
+ SpaceAround = 5,
119
+
120
+ SpaceEvenly = 6,
121
+
122
+ FlexStart = 7,
123
+
124
+ FlexEnd = 8
125
+ }
126
+
127
+ declare const enum MasonAlignItems {
128
+
129
+ Normal = -1,
130
+
131
+ Start = 0,
132
+
133
+ End = 1,
134
+
135
+ Center = 2,
136
+
137
+ Baseline = 3,
138
+
139
+ Stretch = 4,
140
+
141
+ FlexStart = 5,
142
+
143
+ FlexEnd = 6
144
+ }
145
+
146
+ declare const enum MasonAlignSelf {
147
+
148
+ Normal = -1,
149
+
150
+ Start = 0,
151
+
152
+ End = 1,
153
+
154
+ Center = 2,
155
+
156
+ Baseline = 3,
157
+
158
+ Stretch = 4,
159
+
160
+ FlexStart = 5,
161
+
162
+ FlexEnd = 6
163
+ }
164
+
165
+ declare const enum MasonBoxSizing {
166
+
167
+ BorderBox = 0,
168
+
169
+ ContentBox = 1
170
+ }
171
+
172
+ declare class MasonBr extends NSObject implements MasonElementObjc {
173
+
174
+ static alloc(): MasonBr; // inherited from NSObject
175
+
176
+ static new(): MasonBr; // inherited from NSObject
177
+
178
+ readonly mason: NSCMason;
179
+
180
+ node: MasonNode;
181
+
182
+ readonly debugDescription: string; // inherited from NSObjectProtocol
183
+
184
+ readonly description: string; // inherited from NSObjectProtocol
185
+
186
+ readonly hash: number; // inherited from NSObjectProtocol
187
+
188
+ readonly isProxy: boolean; // inherited from NSObjectProtocol
189
+
190
+ readonly style: MasonStyle; // inherited from MasonElementObjc
191
+
192
+ readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
193
+
194
+ readonly uiView: UIView; // inherited from MasonElementObjc
195
+
196
+ readonly // inherited from NSObjectProtocol
197
+
198
+ class(): typeof NSObject;
199
+
200
+ conformsToProtocol(aProtocol: any /* Protocol */): boolean;
201
+
202
+ isEqual(object: any): boolean;
203
+
204
+ isKindOfClass(aClass: typeof NSObject): boolean;
205
+
206
+ isMemberOfClass(aClass: typeof NSObject): boolean;
207
+
208
+ performSelector(aSelector: string): any;
209
+
210
+ performSelectorWithObject(aSelector: string, object: any): any;
211
+
212
+ performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
213
+
214
+ respondsToSelector(aSelector: string): boolean;
215
+
216
+ retainCount(): number;
217
+
218
+ self(): this;
219
+ }
220
+
221
+ declare class MasonButton extends UIControl implements MasonElementObjc, MasonTextContainer {
222
+
223
+ static alloc(): MasonButton; // inherited from NSObject
224
+
225
+ static appearance(): MasonButton; // inherited from UIAppearance
226
+
227
+ /**
228
+ * @since 8.0
229
+ */
230
+ static appearanceForTraitCollection(trait: UITraitCollection): MasonButton; // inherited from UIAppearance
231
+
232
+ /**
233
+ * @since 8.0
234
+ * @deprecated 9.0
235
+ */
236
+ static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MasonButton; // inherited from UIAppearance
237
+
238
+ /**
239
+ * @since 9.0
240
+ */
241
+ static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonButton; // inherited from UIAppearance
242
+
243
+ /**
244
+ * @since 5.0
245
+ * @deprecated 9.0
246
+ */
247
+ static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MasonButton; // inherited from UIAppearance
248
+
249
+ /**
250
+ * @since 9.0
251
+ */
252
+ static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonButton; // inherited from UIAppearance
253
+
254
+ static new(): MasonButton; // inherited from NSObject
255
+
256
+ engine: MasonTextEngine;
257
+
258
+ readonly mason: NSCMason;
259
+
260
+ textContent: string;
261
+
262
+ readonly textValues: NSMutableData;
263
+
264
+ readonly debugDescription: string; // inherited from NSObjectProtocol
265
+
266
+ readonly description: string; // inherited from NSObjectProtocol
267
+
268
+ readonly hash: number; // inherited from NSObjectProtocol
269
+
270
+ readonly isProxy: boolean; // inherited from NSObjectProtocol
271
+
272
+ readonly node: MasonNode; // inherited from MasonElementObjc
273
+
274
+ readonly style: MasonStyle; // inherited from MasonElementObjc
275
+
276
+ readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
277
+
278
+ readonly uiView: UIView; // inherited from MasonElementObjc
279
+
280
+ readonly // inherited from NSObjectProtocol
281
+
282
+ addView(view: UIView): void;
283
+
284
+ addViewAt(view: UIView, at: number): void;
285
+
286
+ class(): typeof NSObject;
287
+
288
+ conformsToProtocol(aProtocol: any /* Protocol */): boolean;
289
+
290
+ isEqual(object: any): boolean;
291
+
292
+ isKindOfClass(aClass: typeof NSObject): boolean;
293
+
294
+ isMemberOfClass(aClass: typeof NSObject): boolean;
295
+
296
+ onStyleChange(low: number, high: number): void;
297
+
298
+ performSelector(aSelector: string): any;
299
+
300
+ performSelectorWithObject(aSelector: string, object: any): any;
301
+
302
+ performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
303
+
304
+ removeAllViews(): void;
305
+
306
+ removeView(view: UIView): void;
307
+
308
+ removeViewAt(index: number): void;
309
+
310
+ requestLayout(): void;
311
+
312
+ respondsToSelector(aSelector: string): boolean;
313
+
314
+ retainCount(): number;
315
+
316
+ self(): this;
317
+ }
318
+
319
+ interface MasonCharacterData {
320
+
321
+ data: string;
322
+
323
+ length: number;
324
+
325
+ appendData(s: string): MasonCharacterData;
326
+
327
+ deleteDataWithOffsetCount(offset: number, count: number): MasonCharacterData;
328
+
329
+ deleteDataWithRange(range: NSRange): MasonCharacterData;
330
+
331
+ insertDataAt(s: string, offset: number): MasonCharacterData;
332
+
333
+ replaceDataWithOffsetCountWith(offset: number, count: number, s: string): MasonCharacterData;
334
+
335
+ replaceDataWithRangeWith(range: NSRange, s: string): MasonCharacterData;
336
+
337
+ substringDataWithOffsetCount(offset: number, count: number): string;
338
+ }
339
+ declare var MasonCharacterData: {
340
+
341
+ prototype: MasonCharacterData;
342
+ };
343
+
344
+ declare const enum MasonClear {
345
+
346
+ None = 0,
347
+
348
+ Left = 1,
349
+
350
+ Right = 2,
351
+
352
+ Both = 3
353
+ }
354
+
355
+ declare const enum MasonDecorationLine {
356
+
357
+ None = 0,
358
+
359
+ Underline = 1,
360
+
361
+ Overline = 2,
362
+
363
+ LineThrough = 3
364
+ }
365
+
366
+ declare const enum MasonDecorationStyle {
367
+
368
+ Solid = 0,
369
+
370
+ Double = 1,
371
+
372
+ Dotted = 2,
373
+
374
+ Dashed = 3,
375
+
376
+ Wavy = 4
377
+ }
378
+
379
+ declare class MasonDimensionCompat extends NSObject {
380
+
381
+ static alloc(): MasonDimensionCompat; // inherited from NSObject
382
+
383
+ static new(): MasonDimensionCompat; // inherited from NSObject
384
+
385
+ readonly cssValue: string;
386
+
387
+ readonly jsonValue: string;
388
+
389
+ readonly type: MasonDimensionCompatType;
390
+
391
+ readonly value: number;
392
+
393
+ static readonly Auto: MasonDimensionCompat;
394
+
395
+ static readonly Zero: MasonDimensionCompat;
396
+
397
+ constructor(o: { percent: number; });
398
+
399
+ constructor(o: { points: number; });
400
+
401
+ initWithPercent(percent: number): this;
402
+
403
+ initWithPoints(points: number): this;
404
+ }
405
+
406
+ declare const enum MasonDimensionCompatType {
407
+
408
+ Auto = 0,
409
+
410
+ Points = 1,
411
+
412
+ Percent = 2
413
+ }
414
+
415
+ declare class MasonDimensionPointCompat extends NSObject {
416
+
417
+ static alloc(): MasonDimensionPointCompat; // inherited from NSObject
418
+
419
+ static new(): MasonDimensionPointCompat; // inherited from NSObject
420
+
421
+ x: MasonDimensionCompat;
422
+
423
+ y: MasonDimensionCompat;
424
+ }
425
+
426
+ declare class MasonDimensionRectCompat extends NSObject {
427
+
428
+ static alloc(): MasonDimensionRectCompat; // inherited from NSObject
429
+
430
+ static new(): MasonDimensionRectCompat; // inherited from NSObject
431
+
432
+ bottom: MasonDimensionCompat;
433
+
434
+ left: MasonDimensionCompat;
435
+
436
+ right: MasonDimensionCompat;
437
+
438
+ top: MasonDimensionCompat;
439
+
440
+ constructor();
441
+
442
+ init(left: MasonDimensionCompat, top: MasonDimensionCompat, right: MasonDimensionCompat, bottom: MasonDimensionCompat): this;
443
+ }
444
+
445
+ declare class MasonDimensionSizeCompat extends NSObject {
446
+
447
+ static alloc(): MasonDimensionSizeCompat; // inherited from NSObject
448
+
449
+ static new(): MasonDimensionSizeCompat; // inherited from NSObject
450
+
451
+ height: MasonDimensionCompat;
452
+
453
+ width: MasonDimensionCompat;
454
+ }
455
+
456
+ declare const enum MasonDirection {
457
+
458
+ Inherit = 0,
459
+
460
+ LTR = 1,
461
+
462
+ RTL = 2
463
+ }
464
+
465
+ declare const enum MasonDisplay {
466
+
467
+ None = 0,
468
+
469
+ Flex = 1,
470
+
471
+ Grid = 2,
472
+
473
+ Block = 3,
474
+
475
+ Inline = 4,
476
+
477
+ InlineBlock = 5,
478
+
479
+ InlineFlex = 6,
480
+
481
+ InlineGrid = 7
482
+ }
483
+
484
+ declare class MasonDocument extends NSObject {
485
+
486
+ static alloc(): MasonDocument; // inherited from NSObject
487
+
488
+ static new(): MasonDocument; // inherited from NSObject
489
+
490
+ readonly mason: NSCMason;
491
+
492
+ readonly node: MasonNode;
493
+
494
+ constructor(o: { mason: NSCMason; });
495
+
496
+ initWithMason(instance: NSCMason): this;
497
+ }
498
+
499
+ interface MasonElementObjc extends NSObjectProtocol {
500
+
501
+ node: MasonNode;
502
+
503
+ style: MasonStyle;
504
+
505
+ uiView: UIView;
506
+ }
507
+ declare var MasonElementObjc: {
508
+
509
+ prototype: MasonElementObjc;
510
+ };
511
+
512
+ declare class MasonEvent extends NSObject {
513
+
514
+ static alloc(): MasonEvent; // inherited from NSObject
515
+
516
+ static new(): MasonEvent; // inherited from NSObject
517
+
518
+ readonly bubbles: boolean;
519
+
520
+ readonly cancelable: boolean;
521
+
522
+ readonly currentTarget: any;
523
+
524
+ readonly defaultPrevented: boolean;
525
+
526
+ readonly immediatePropagationStopped: boolean;
527
+
528
+ readonly isComposing: boolean;
529
+
530
+ readonly propagationStopped: boolean;
531
+
532
+ readonly target: any;
533
+
534
+ readonly timeStamp: number;
535
+
536
+ readonly type: string;
537
+
538
+ constructor(o: { type: string; bubbles: boolean; cancelable: boolean; options: MasonEventOptions; });
539
+
540
+ initWithTypeBubblesCancelableOptions(eventType: string, eventBubbles: boolean, eventCancelable: boolean, options: MasonEventOptions): this;
541
+
542
+ preventDefault(): void;
543
+
544
+ stopImmediatePropagation(): void;
545
+
546
+ stopPropagation(): void;
547
+ }
548
+
549
+ declare class MasonEventOptions extends NSObject {
550
+
551
+ static alloc(): MasonEventOptions; // inherited from NSObject
552
+
553
+ static new(): MasonEventOptions; // inherited from NSObject
554
+
555
+ isComposing: boolean;
556
+
557
+ constructor(o: { isComposing: boolean; });
558
+
559
+ initWithIsComposing(isComposing: boolean): this;
560
+ }
561
+
562
+ declare class MasonFileInputEvent extends MasonEvent {
563
+
564
+ static alloc(): MasonFileInputEvent; // inherited from NSObject
565
+
566
+ static new(): MasonFileInputEvent; // inherited from NSObject
567
+
568
+ readonly data: string;
569
+
570
+ readonly inputType: string;
571
+
572
+ readonly rawData: NSArray<NSURL>;
573
+
574
+ constructor(o: { type: string; data: string; inputType: string; options: MasonEventOptions; rawData: NSArray<NSURL> | NSURL[]; });
575
+
576
+ initWithTypeDataInputTypeOptionsRawData(type: string, inputData: string, masonInputType: string, options: MasonEventOptions, inputRawData: NSArray<NSURL> | NSURL[]): this;
577
+ }
578
+
579
+ declare const enum MasonFlexDirection {
580
+
581
+ Row = 0,
582
+
583
+ Column = 1,
584
+
585
+ RowReverse = 2,
586
+
587
+ ColumnReverse = 3
588
+ }
589
+
590
+ declare const enum MasonFlexWrap {
591
+
592
+ NoWrap = 0,
593
+
594
+ Wrap = 1,
595
+
596
+ WrapReverse = 2
597
+ }
598
+
599
+ declare const enum MasonFloat {
600
+
601
+ None = 0,
602
+
603
+ Left = 1,
604
+
605
+ Right = 2
606
+ }
607
+
608
+ declare const enum MasonFontStyle {
609
+
610
+ Normal = 0,
611
+
612
+ Italic = 1,
613
+
614
+ Oblique = 2
615
+ }
616
+
617
+ declare const enum MasonGridAutoFlowWrap {
618
+
619
+ Row = 0,
620
+
621
+ Column = 1,
622
+
623
+ RowDense = 2,
624
+
625
+ ColumnDense = 3
626
+ }
627
+
628
+ declare const enum MasonGridPlacementCompatType {
629
+
630
+ Auto = 0,
631
+
632
+ Line = 1,
633
+
634
+ Span = 2
635
+ }
636
+
637
+ declare class MasonGridTrackRepetition extends NSObject {
638
+
639
+ static Count(value: number): MasonGridTrackRepetition;
640
+
641
+ static alloc(): MasonGridTrackRepetition; // inherited from NSObject
642
+
643
+ static new(): MasonGridTrackRepetition; // inherited from NSObject
644
+
645
+ readonly cssValue: string;
646
+
647
+ readonly type: number;
648
+
649
+ readonly value: number;
650
+
651
+ static readonly AutoFill: MasonGridTrackRepetition;
652
+
653
+ static readonly AutoFit: MasonGridTrackRepetition;
654
+ }
655
+
656
+ declare class MasonHTMLParser extends NSObject {
657
+
658
+ static alloc(): MasonHTMLParser; // inherited from NSObject
659
+
660
+ static new(): MasonHTMLParser; // inherited from NSObject
661
+
662
+ constructor(o: { mason: NSCMason; });
663
+
664
+ initWithMason(mason: NSCMason): this;
665
+
666
+ parse(html: string): NSArray<MasonNode>;
667
+ }
668
+
669
+ declare class MasonImageLayer extends CALayer {
670
+
671
+ static alloc(): MasonImageLayer; // inherited from NSObject
672
+
673
+ static layer(): MasonImageLayer; // inherited from CALayer
674
+
675
+ static new(): MasonImageLayer; // inherited from NSObject
676
+ }
677
+
678
+ declare class MasonImg extends UIView implements MasonElementObjc {
679
+
680
+ static alloc(): MasonImg; // inherited from NSObject
681
+
682
+ static appearance(): MasonImg; // inherited from UIAppearance
683
+
684
+ /**
685
+ * @since 8.0
686
+ */
687
+ static appearanceForTraitCollection(trait: UITraitCollection): MasonImg; // inherited from UIAppearance
688
+
689
+ /**
690
+ * @since 8.0
691
+ * @deprecated 9.0
692
+ */
693
+ static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MasonImg; // inherited from UIAppearance
694
+
695
+ /**
696
+ * @since 9.0
697
+ */
698
+ static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonImg; // inherited from UIAppearance
699
+
700
+ /**
701
+ * @since 5.0
702
+ * @deprecated 9.0
703
+ */
704
+ static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MasonImg; // inherited from UIAppearance
705
+
706
+ /**
707
+ * @since 9.0
708
+ */
709
+ static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonImg; // inherited from UIAppearance
710
+
711
+ static layerClass(): typeof NSObject;
712
+
713
+ static new(): MasonImg; // inherited from NSObject
714
+
715
+ didLayout: () => void;
716
+
717
+ image: UIImage;
718
+
719
+ readonly mason: NSCMason;
720
+
721
+ onStateChange: (p1: MasonLoadingState, p2: NSError) => void;
722
+
723
+ src: string;
724
+
725
+ readonly debugDescription: string; // inherited from NSObjectProtocol
726
+
727
+ readonly description: string; // inherited from NSObjectProtocol
728
+
729
+ readonly hash: number; // inherited from NSObjectProtocol
730
+
731
+ readonly isProxy: boolean; // inherited from NSObjectProtocol
732
+
733
+ readonly node: MasonNode; // inherited from MasonElementObjc
734
+
735
+ readonly style: MasonStyle; // inherited from MasonElementObjc
736
+
737
+ readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
738
+
739
+ readonly uiView: UIView; // inherited from MasonElementObjc
740
+
741
+ readonly // inherited from NSObjectProtocol
742
+
743
+ class(): typeof NSObject;
744
+
745
+ conformsToProtocol(aProtocol: any /* Protocol */): boolean;
746
+
747
+ isEqual(object: any): boolean;
748
+
749
+ isKindOfClass(aClass: typeof NSObject): boolean;
750
+
751
+ isMemberOfClass(aClass: typeof NSObject): boolean;
752
+
753
+ performSelector(aSelector: string): any;
754
+
755
+ performSelectorWithObject(aSelector: string, object: any): any;
756
+
757
+ performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
758
+
759
+ requestLayout(): void;
760
+
761
+ respondsToSelector(aSelector: string): boolean;
762
+
763
+ retainCount(): number;
764
+
765
+ self(): this;
766
+
767
+ updateImage(image: UIImage): void;
768
+ }
769
+
770
+ declare class MasonInput extends UIView {
771
+
772
+ static alloc(): MasonInput; // inherited from NSObject
773
+
774
+ static appearance(): MasonInput; // inherited from UIAppearance
775
+
776
+ /**
777
+ * @since 8.0
778
+ */
779
+ static appearanceForTraitCollection(trait: UITraitCollection): MasonInput; // inherited from UIAppearance
780
+
781
+ /**
782
+ * @since 8.0
783
+ * @deprecated 9.0
784
+ */
785
+ static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MasonInput; // inherited from UIAppearance
786
+
787
+ /**
788
+ * @since 9.0
789
+ */
790
+ static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonInput; // inherited from UIAppearance
791
+
792
+ /**
793
+ * @since 5.0
794
+ * @deprecated 9.0
795
+ */
796
+ static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MasonInput; // inherited from UIAppearance
797
+
798
+ /**
799
+ * @since 9.0
800
+ */
801
+ static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonInput; // inherited from UIAppearance
802
+
803
+ static new(): MasonInput; // inherited from NSObject
804
+
805
+ accept: string;
806
+
807
+ readonly mason: NSCMason;
808
+
809
+ multiple: boolean;
810
+
811
+ readonly node: MasonNode;
812
+
813
+ placeholder: string;
814
+
815
+ size: number;
816
+
817
+ readonly style: MasonStyle;
818
+
819
+ type: MasonInputType;
820
+
821
+ readonly uiView: UIView;
822
+
823
+ value: string;
824
+
825
+ valueAsDate: Date;
826
+
827
+ valueAsNumber: number;
828
+ }
829
+
830
+ declare class MasonInputEvent extends MasonEvent {
831
+
832
+ static alloc(): MasonInputEvent; // inherited from NSObject
833
+
834
+ static new(): MasonInputEvent; // inherited from NSObject
835
+
836
+ readonly data: string;
837
+
838
+ readonly inputType: string;
839
+
840
+ constructor(o: { type: string; data: string; inputType: string; options: MasonEventOptions; });
841
+
842
+ initWithTypeDataInputTypeOptions(type: string, inputData: string, masonInputType: string, options: MasonEventOptions): this;
843
+ }
844
+
845
+ declare const enum MasonInputType {
846
+
847
+ Text = 0,
848
+
849
+ Button = 1,
850
+
851
+ Checkbox = 2,
852
+
853
+ Email = 3,
854
+
855
+ Password = 4,
856
+
857
+ Date = 5,
858
+
859
+ Radio = 6,
860
+
861
+ Number = 7,
862
+
863
+ Range = 8,
864
+
865
+ Tel = 9,
866
+
867
+ Url = 10,
868
+
869
+ Color = 11,
870
+
871
+ File = 12,
872
+
873
+ Submit = 13,
874
+
875
+ Search = 14,
876
+
877
+ Time = 15,
878
+
879
+ DatetimeLocal = 16,
880
+
881
+ Month = 17,
882
+
883
+ Week = 18,
884
+
885
+ Reset = 19
886
+ }
887
+
888
+ declare const enum MasonJustifyContent {
889
+
890
+ Normal = -1,
891
+
892
+ Start = 0,
893
+
894
+ End = 1,
895
+
896
+ Center = 2,
897
+
898
+ Stretch = 3,
899
+
900
+ SpaceBetween = 4,
901
+
902
+ SpaceAround = 5,
903
+
904
+ SpaceEvenly = 6,
905
+
906
+ FlexStart = 7,
907
+
908
+ FlexEnd = 8
909
+ }
910
+
911
+ declare const enum MasonJustifyItems {
912
+
913
+ Normal = -1,
914
+
915
+ Start = 0,
916
+
917
+ End = 1,
918
+
919
+ Center = 2,
920
+
921
+ Baseline = 3,
922
+
923
+ Stretch = 4,
924
+
925
+ FlexStart = 5,
926
+
927
+ FlexEnd = 6
928
+ }
929
+
930
+ declare const enum MasonJustifySelf {
931
+
932
+ Normal = -1,
933
+
934
+ Start = 0,
935
+
936
+ End = 1,
937
+
938
+ Center = 2,
939
+
940
+ Baseline = 3,
941
+
942
+ Stretch = 4,
943
+
944
+ FlexStart = 5,
945
+
946
+ FlexEnd = 6
947
+ }
948
+
949
+ declare class MasonLayout extends NSObject {
950
+
951
+ static alloc(): MasonLayout; // inherited from NSObject
952
+
953
+ static new(): MasonLayout; // inherited from NSObject
954
+
955
+ readonly border: MasonRectHelper;
956
+
957
+ readonly borderBottom: number;
958
+
959
+ readonly borderIsEmpty: boolean;
960
+
961
+ readonly borderLeft: number;
962
+
963
+ readonly borderRight: number;
964
+
965
+ readonly borderTop: number;
966
+
967
+ readonly children: NSArray<MasonLayout>;
968
+
969
+ readonly contentHeight: number;
970
+
971
+ readonly contentSize: MasonSizeHelper;
972
+
973
+ readonly contentWidth: number;
974
+
975
+ readonly hasChildren: boolean;
976
+
977
+ readonly height: number;
978
+
979
+ readonly margin: MasonRectHelper;
980
+
981
+ readonly marginBottom: number;
982
+
983
+ readonly marginIsEmpty: boolean;
984
+
985
+ readonly marginLeft: number;
986
+
987
+ readonly marginRight: number;
988
+
989
+ readonly marginTop: number;
990
+
991
+ readonly padding: MasonRectHelper;
992
+
993
+ readonly paddingBottom: number;
994
+
995
+ readonly paddingIsEmpty: boolean;
996
+
997
+ readonly paddingLeft: number;
998
+
999
+ readonly paddingRight: number;
1000
+
1001
+ readonly paddingTop: number;
1002
+
1003
+ readonly scrollbarHeight: number;
1004
+
1005
+ readonly scrollbarSize: MasonSizeHelper;
1006
+
1007
+ readonly scrollbarWidth: number;
1008
+
1009
+ readonly sizeIsEmpty: boolean;
1010
+
1011
+ readonly width: number;
1012
+
1013
+ readonly x: number;
1014
+
1015
+ readonly y: number;
1016
+
1017
+ static readonly empty: MasonLayout;
1018
+ }
1019
+
1020
+ declare class MasonLengthPercentageAutoCompat extends NSObject {
1021
+
1022
+ static alloc(): MasonLengthPercentageAutoCompat; // inherited from NSObject
1023
+
1024
+ static new(): MasonLengthPercentageAutoCompat; // inherited from NSObject
1025
+
1026
+ readonly cssValue: string;
1027
+
1028
+ readonly jsonValue: string;
1029
+
1030
+ readonly type: MasonLengthPercentageAutoCompatType;
1031
+
1032
+ readonly value: number;
1033
+
1034
+ static readonly Auto: MasonLengthPercentageAutoCompat;
1035
+
1036
+ static readonly Zero: MasonLengthPercentageAutoCompat;
1037
+
1038
+ constructor(o: { percent: number; });
1039
+
1040
+ constructor(o: { points: number; });
1041
+
1042
+ initWithPercent(percent: number): this;
1043
+
1044
+ initWithPoints(points: number): this;
1045
+ }
1046
+
1047
+ declare const enum MasonLengthPercentageAutoCompatType {
1048
+
1049
+ Auto = 0,
1050
+
1051
+ Points = 1,
1052
+
1053
+ Percent = 2
1054
+ }
1055
+
1056
+ declare class MasonLengthPercentageAutoPointCompat extends NSObject {
1057
+
1058
+ static alloc(): MasonLengthPercentageAutoPointCompat; // inherited from NSObject
1059
+
1060
+ static new(): MasonLengthPercentageAutoPointCompat; // inherited from NSObject
1061
+
1062
+ x: MasonLengthPercentageAutoCompat;
1063
+
1064
+ y: MasonLengthPercentageAutoCompat;
1065
+ }
1066
+
1067
+ declare class MasonLengthPercentageAutoRectCompat extends NSObject {
1068
+
1069
+ static alloc(): MasonLengthPercentageAutoRectCompat; // inherited from NSObject
1070
+
1071
+ static new(): MasonLengthPercentageAutoRectCompat; // inherited from NSObject
1072
+
1073
+ bottom: MasonLengthPercentageAutoCompat;
1074
+
1075
+ left: MasonLengthPercentageAutoCompat;
1076
+
1077
+ right: MasonLengthPercentageAutoCompat;
1078
+
1079
+ top: MasonLengthPercentageAutoCompat;
1080
+
1081
+ constructor();
1082
+
1083
+ init(left: MasonLengthPercentageAutoCompat, top: MasonLengthPercentageAutoCompat, right: MasonLengthPercentageAutoCompat, bottom: MasonLengthPercentageAutoCompat): this;
1084
+ }
1085
+
1086
+ declare class MasonLengthPercentageAutoSizeCompat extends NSObject {
1087
+
1088
+ static alloc(): MasonLengthPercentageAutoSizeCompat; // inherited from NSObject
1089
+
1090
+ static new(): MasonLengthPercentageAutoSizeCompat; // inherited from NSObject
1091
+
1092
+ height: MasonLengthPercentageAutoCompat;
1093
+
1094
+ width: MasonLengthPercentageAutoCompat;
1095
+ }
1096
+
1097
+ declare class MasonLengthPercentageCompat extends NSObject {
1098
+
1099
+ static alloc(): MasonLengthPercentageCompat; // inherited from NSObject
1100
+
1101
+ static new(): MasonLengthPercentageCompat; // inherited from NSObject
1102
+
1103
+ readonly cssValue: string;
1104
+
1105
+ readonly jsonValue: string;
1106
+
1107
+ readonly type: MasonLengthPercentageCompatType;
1108
+
1109
+ readonly value: number;
1110
+
1111
+ static readonly Zero: MasonLengthPercentageCompat;
1112
+
1113
+ constructor(o: { percent: number; });
1114
+
1115
+ constructor(o: { points: number; });
1116
+
1117
+ initWithPercent(percent: number): this;
1118
+
1119
+ initWithPoints(points: number): this;
1120
+ }
1121
+
1122
+ declare const enum MasonLengthPercentageCompatType {
1123
+
1124
+ Points = 0,
1125
+
1126
+ Percent = 1
1127
+ }
1128
+
1129
+ declare class MasonLengthPercentagePointCompat extends NSObject {
1130
+
1131
+ static alloc(): MasonLengthPercentagePointCompat; // inherited from NSObject
1132
+
1133
+ static new(): MasonLengthPercentagePointCompat; // inherited from NSObject
1134
+
1135
+ x: MasonLengthPercentageCompat;
1136
+
1137
+ y: MasonLengthPercentageCompat;
1138
+ }
1139
+
1140
+ declare class MasonLengthPercentageRectCompat extends NSObject {
1141
+
1142
+ static alloc(): MasonLengthPercentageRectCompat; // inherited from NSObject
1143
+
1144
+ static new(): MasonLengthPercentageRectCompat; // inherited from NSObject
1145
+
1146
+ bottom: MasonLengthPercentageCompat;
1147
+
1148
+ left: MasonLengthPercentageCompat;
1149
+
1150
+ right: MasonLengthPercentageCompat;
1151
+
1152
+ top: MasonLengthPercentageCompat;
1153
+
1154
+ constructor();
1155
+
1156
+ init(left: MasonLengthPercentageCompat, right: MasonLengthPercentageCompat, top: MasonLengthPercentageCompat, bottom: MasonLengthPercentageCompat): this;
1157
+ }
1158
+
1159
+ declare class MasonLengthPercentageSizeCompat extends NSObject {
1160
+
1161
+ static alloc(): MasonLengthPercentageSizeCompat; // inherited from NSObject
1162
+
1163
+ static new(): MasonLengthPercentageSizeCompat; // inherited from NSObject
1164
+
1165
+ height: MasonLengthPercentageCompat;
1166
+
1167
+ width: MasonLengthPercentageCompat;
1168
+ }
1169
+
1170
+ declare class MasonLi extends UIView implements MasonElementObjc {
1171
+
1172
+ static alloc(): MasonLi; // inherited from NSObject
1173
+
1174
+ static appearance(): MasonLi; // inherited from UIAppearance
1175
+
1176
+ /**
1177
+ * @since 8.0
1178
+ */
1179
+ static appearanceForTraitCollection(trait: UITraitCollection): MasonLi; // inherited from UIAppearance
1180
+
1181
+ /**
1182
+ * @since 8.0
1183
+ * @deprecated 9.0
1184
+ */
1185
+ static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MasonLi; // inherited from UIAppearance
1186
+
1187
+ /**
1188
+ * @since 9.0
1189
+ */
1190
+ static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonLi; // inherited from UIAppearance
1191
+
1192
+ /**
1193
+ * @since 5.0
1194
+ * @deprecated 9.0
1195
+ */
1196
+ static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MasonLi; // inherited from UIAppearance
1197
+
1198
+ /**
1199
+ * @since 9.0
1200
+ */
1201
+ static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonLi; // inherited from UIAppearance
1202
+
1203
+ static new(): MasonLi; // inherited from NSObject
1204
+
1205
+ isOrdered: boolean;
1206
+
1207
+ readonly mason: NSCMason;
1208
+
1209
+ readonly debugDescription: string; // inherited from NSObjectProtocol
1210
+
1211
+ readonly description: string; // inherited from NSObjectProtocol
1212
+
1213
+ readonly hash: number; // inherited from NSObjectProtocol
1214
+
1215
+ readonly isProxy: boolean; // inherited from NSObjectProtocol
1216
+
1217
+ readonly node: MasonNode; // inherited from MasonElementObjc
1218
+
1219
+ readonly style: MasonStyle; // inherited from MasonElementObjc
1220
+
1221
+ readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
1222
+
1223
+ readonly uiView: UIView; // inherited from MasonElementObjc
1224
+
1225
+ readonly // inherited from NSObjectProtocol
1226
+
1227
+ bindWithPositionIsOrdered(position: number, isOrdered: boolean): void;
1228
+
1229
+ class(): typeof NSObject;
1230
+
1231
+ conformsToProtocol(aProtocol: any /* Protocol */): boolean;
1232
+
1233
+ isEqual(object: any): boolean;
1234
+
1235
+ isKindOfClass(aClass: typeof NSObject): boolean;
1236
+
1237
+ isMemberOfClass(aClass: typeof NSObject): boolean;
1238
+
1239
+ performSelector(aSelector: string): any;
1240
+
1241
+ performSelectorWithObject(aSelector: string, object: any): any;
1242
+
1243
+ performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
1244
+
1245
+ requestLayout(): void;
1246
+
1247
+ resetForRecycle(): void;
1248
+
1249
+ respondsToSelector(aSelector: string): boolean;
1250
+
1251
+ retainCount(): number;
1252
+
1253
+ self(): this;
1254
+ }
1255
+
1256
+ declare const enum MasonLineHeight {
1257
+
1258
+ Normal = 0,
1259
+
1260
+ Pre = 1,
1261
+
1262
+ PreWrap = 2,
1263
+
1264
+ PreLine = 3
1265
+ }
1266
+
1267
+ declare class MasonList extends UIView implements MasonElementObjc, UICollectionViewDataSource, UICollectionViewDataSourcePrefetching, UICollectionViewDelegateFlowLayout {
1268
+
1269
+ static alloc(): MasonList; // inherited from NSObject
1270
+
1271
+ static appearance(): MasonList; // inherited from UIAppearance
1272
+
1273
+ /**
1274
+ * @since 8.0
1275
+ */
1276
+ static appearanceForTraitCollection(trait: UITraitCollection): MasonList; // inherited from UIAppearance
1277
+
1278
+ /**
1279
+ * @since 8.0
1280
+ * @deprecated 9.0
1281
+ */
1282
+ static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MasonList; // inherited from UIAppearance
1283
+
1284
+ /**
1285
+ * @since 9.0
1286
+ */
1287
+ static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonList; // inherited from UIAppearance
1288
+
1289
+ /**
1290
+ * @since 5.0
1291
+ * @deprecated 9.0
1292
+ */
1293
+ static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MasonList; // inherited from UIAppearance
1294
+
1295
+ /**
1296
+ * @since 9.0
1297
+ */
1298
+ static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonList; // inherited from UIAppearance
1299
+
1300
+ static new(): MasonList; // inherited from NSObject
1301
+
1302
+ count: number;
1303
+
1304
+ delegate: MasonListDelegate;
1305
+
1306
+ isOrdered: boolean;
1307
+
1308
+ readonly mason: NSCMason;
1309
+
1310
+ readonly staticItems: NSDictionary<number, MasonLi>;
1311
+
1312
+ staticViews: NSArray<MasonLi>;
1313
+
1314
+ values: NSMutableData;
1315
+
1316
+ readonly debugDescription: string; // inherited from NSObjectProtocol
1317
+
1318
+ readonly description: string; // inherited from NSObjectProtocol
1319
+
1320
+ readonly hash: number; // inherited from NSObjectProtocol
1321
+
1322
+ readonly isProxy: boolean; // inherited from NSObjectProtocol
1323
+
1324
+ readonly node: MasonNode; // inherited from MasonElementObjc
1325
+
1326
+ readonly style: MasonStyle; // inherited from MasonElementObjc
1327
+
1328
+ readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
1329
+
1330
+ readonly uiView: UIView; // inherited from MasonElementObjc
1331
+
1332
+ readonly // inherited from NSObjectProtocol
1333
+
1334
+ addView(item: MasonLi): void;
1335
+
1336
+ addViewAt(item: MasonLi, index: number): void;
1337
+
1338
+ class(): typeof NSObject;
1339
+
1340
+ /**
1341
+ * @since 14.0
1342
+ */
1343
+ collectionViewCanEditItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
1344
+
1345
+ /**
1346
+ * @since 9.0
1347
+ */
1348
+ collectionViewCanFocusItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
1349
+
1350
+ /**
1351
+ * @since 9.0
1352
+ */
1353
+ collectionViewCanMoveItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
1354
+
1355
+ /**
1356
+ * @since 6.0
1357
+ * @deprecated 13.0
1358
+ */
1359
+ collectionViewCanPerformActionForItemAtIndexPathWithSender(collectionView: UICollectionView, action: string, indexPath: NSIndexPath, sender: any): boolean;
1360
+
1361
+ /**
1362
+ * @since 16.0
1363
+ */
1364
+ collectionViewCanPerformPrimaryActionForItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
1365
+
1366
+ /**
1367
+ * @since 10.0
1368
+ */
1369
+ collectionViewCancelPrefetchingForItemsAtIndexPaths(collectionView: UICollectionView, indexPaths: NSArray<NSIndexPath> | NSIndexPath[]): void;
1370
+
1371
+ collectionViewCellForItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): UICollectionViewCell;
1372
+
1373
+ /**
1374
+ * @since 16.0
1375
+ */
1376
+ collectionViewContextMenuConfigurationDismissalPreviewForItemAtIndexPath(collectionView: UICollectionView, configuration: UIContextMenuConfiguration, indexPath: NSIndexPath): UITargetedPreview;
1377
+
1378
+ /**
1379
+ * @since 13.0
1380
+ * @deprecated 16.0
1381
+ */
1382
+ collectionViewContextMenuConfigurationForItemAtIndexPathPoint(collectionView: UICollectionView, indexPath: NSIndexPath, point: CGPoint): UIContextMenuConfiguration;
1383
+
1384
+ /**
1385
+ * @since 16.0
1386
+ */
1387
+ collectionViewContextMenuConfigurationForItemsAtIndexPathsPoint(collectionView: UICollectionView, indexPaths: NSArray<NSIndexPath> | NSIndexPath[], point: CGPoint): UIContextMenuConfiguration;
1388
+
1389
+ /**
1390
+ * @since 16.0
1391
+ */
1392
+ collectionViewContextMenuConfigurationHighlightPreviewForItemAtIndexPath(collectionView: UICollectionView, configuration: UIContextMenuConfiguration, indexPath: NSIndexPath): UITargetedPreview;
1393
+
1394
+ /**
1395
+ * @since 13.0
1396
+ */
1397
+ collectionViewDidBeginMultipleSelectionInteractionAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
1398
+
1399
+ collectionViewDidDeselectItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
1400
+
1401
+ collectionViewDidEndDisplayingCellForItemAtIndexPath(collectionView: UICollectionView, cell: UICollectionViewCell, indexPath: NSIndexPath): void;
1402
+
1403
+ collectionViewDidEndDisplayingSupplementaryViewForElementOfKindAtIndexPath(collectionView: UICollectionView, view: UICollectionReusableView, elementKind: string, indexPath: NSIndexPath): void;
1404
+
1405
+ /**
1406
+ * @since 13.0
1407
+ */
1408
+ collectionViewDidEndMultipleSelectionInteraction(collectionView: UICollectionView): void;
1409
+
1410
+ collectionViewDidHighlightItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
1411
+
1412
+ collectionViewDidSelectItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
1413
+
1414
+ collectionViewDidUnhighlightItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
1415
+
1416
+ /**
1417
+ * @since 9.0
1418
+ */
1419
+ collectionViewDidUpdateFocusInContextWithAnimationCoordinator(collectionView: UICollectionView, context: UICollectionViewFocusUpdateContext, coordinator: UIFocusAnimationCoordinator): void;
1420
+
1421
+ /**
1422
+ * @since 14.0
1423
+ */
1424
+ collectionViewIndexPathForIndexTitleAtIndex(collectionView: UICollectionView, title: string, index: number): NSIndexPath;
1425
+
1426
+ collectionViewLayoutInsetForSectionAtIndex(collectionView: UICollectionView, collectionViewLayout: UICollectionViewLayout, section: number): UIEdgeInsets;
1427
+
1428
+ collectionViewLayoutMinimumInteritemSpacingForSectionAtIndex(collectionView: UICollectionView, collectionViewLayout: UICollectionViewLayout, section: number): number;
1429
+
1430
+ collectionViewLayoutMinimumLineSpacingForSectionAtIndex(collectionView: UICollectionView, collectionViewLayout: UICollectionViewLayout, section: number): number;
1431
+
1432
+ collectionViewLayoutReferenceSizeForFooterInSection(collectionView: UICollectionView, collectionViewLayout: UICollectionViewLayout, section: number): CGSize;
1433
+
1434
+ collectionViewLayoutReferenceSizeForHeaderInSection(collectionView: UICollectionView, collectionViewLayout: UICollectionViewLayout, section: number): CGSize;
1435
+
1436
+ collectionViewLayoutSizeForItemAtIndexPath(collectionView: UICollectionView, collectionViewLayout: UICollectionViewLayout, indexPath: NSIndexPath): CGSize;
1437
+
1438
+ /**
1439
+ * @since 9.0
1440
+ */
1441
+ collectionViewMoveItemAtIndexPathToIndexPath(collectionView: UICollectionView, sourceIndexPath: NSIndexPath, destinationIndexPath: NSIndexPath): void;
1442
+
1443
+ collectionViewNumberOfItemsInSection(collectionView: UICollectionView, section: number): number;
1444
+
1445
+ /**
1446
+ * @since 6.0
1447
+ * @deprecated 13.0
1448
+ */
1449
+ collectionViewPerformActionForItemAtIndexPathWithSender(collectionView: UICollectionView, action: string, indexPath: NSIndexPath, sender: any): void;
1450
+
1451
+ /**
1452
+ * @since 16.0
1453
+ */
1454
+ collectionViewPerformPrimaryActionForItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): void;
1455
+
1456
+ /**
1457
+ * @since 10.0
1458
+ */
1459
+ collectionViewPrefetchItemsAtIndexPaths(collectionView: UICollectionView, indexPaths: NSArray<NSIndexPath> | NSIndexPath[]): void;
1460
+
1461
+ /**
1462
+ * @since 13.0
1463
+ * @deprecated 16.0
1464
+ */
1465
+ collectionViewPreviewForDismissingContextMenuWithConfiguration(collectionView: UICollectionView, configuration: UIContextMenuConfiguration): UITargetedPreview;
1466
+
1467
+ /**
1468
+ * @since 13.0
1469
+ * @deprecated 16.0
1470
+ */
1471
+ collectionViewPreviewForHighlightingContextMenuWithConfiguration(collectionView: UICollectionView, configuration: UIContextMenuConfiguration): UITargetedPreview;
1472
+
1473
+ /**
1474
+ * @since 15.0
1475
+ */
1476
+ collectionViewSceneActivationConfigurationForItemAtIndexPathPoint(collectionView: UICollectionView, indexPath: NSIndexPath, point: CGPoint): UIWindowSceneActivationConfiguration;
1477
+
1478
+ /**
1479
+ * @since 15.0
1480
+ */
1481
+ collectionViewSelectionFollowsFocusForItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
1482
+
1483
+ /**
1484
+ * @since 13.0
1485
+ */
1486
+ collectionViewShouldBeginMultipleSelectionInteractionAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
1487
+
1488
+ collectionViewShouldDeselectItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
1489
+
1490
+ collectionViewShouldHighlightItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
1491
+
1492
+ collectionViewShouldSelectItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
1493
+
1494
+ /**
1495
+ * @since 6.0
1496
+ * @deprecated 13.0
1497
+ */
1498
+ collectionViewShouldShowMenuForItemAtIndexPath(collectionView: UICollectionView, indexPath: NSIndexPath): boolean;
1499
+
1500
+ /**
1501
+ * @since 11.0
1502
+ */
1503
+ collectionViewShouldSpringLoadItemAtIndexPathWithContext(collectionView: UICollectionView, indexPath: NSIndexPath, context: UISpringLoadedInteractionContext): boolean;
1504
+
1505
+ /**
1506
+ * @since 9.0
1507
+ */
1508
+ collectionViewShouldUpdateFocusInContext(collectionView: UICollectionView, context: UICollectionViewFocusUpdateContext): boolean;
1509
+
1510
+ /**
1511
+ * @since 9.0
1512
+ */
1513
+ collectionViewTargetContentOffsetForProposedContentOffset(collectionView: UICollectionView, proposedContentOffset: CGPoint): CGPoint;
1514
+
1515
+ /**
1516
+ * @since 9.0
1517
+ * @deprecated 15.0
1518
+ */
1519
+ collectionViewTargetIndexPathForMoveFromItemAtIndexPathToProposedIndexPath(collectionView: UICollectionView, currentIndexPath: NSIndexPath, proposedIndexPath: NSIndexPath): NSIndexPath;
1520
+
1521
+ /**
1522
+ * @since 15.0
1523
+ */
1524
+ collectionViewTargetIndexPathForMoveOfItemFromOriginalIndexPathAtCurrentIndexPathToProposedIndexPath(collectionView: UICollectionView, originalIndexPath: NSIndexPath, currentIndexPath: NSIndexPath, proposedIndexPath: NSIndexPath): NSIndexPath;
1525
+
1526
+ collectionViewTransitionLayoutForOldLayoutNewLayout(collectionView: UICollectionView, fromLayout: UICollectionViewLayout, toLayout: UICollectionViewLayout): UICollectionViewTransitionLayout;
1527
+
1528
+ collectionViewViewForSupplementaryElementOfKindAtIndexPath(collectionView: UICollectionView, kind: string, indexPath: NSIndexPath): UICollectionReusableView;
1529
+
1530
+ /**
1531
+ * @since 8.0
1532
+ */
1533
+ collectionViewWillDisplayCellForItemAtIndexPath(collectionView: UICollectionView, cell: UICollectionViewCell, indexPath: NSIndexPath): void;
1534
+
1535
+ /**
1536
+ * @since 13.2
1537
+ */
1538
+ collectionViewWillDisplayContextMenuWithConfigurationAnimator(collectionView: UICollectionView, configuration: UIContextMenuConfiguration, animator: UIContextMenuInteractionAnimating): void;
1539
+
1540
+ /**
1541
+ * @since 8.0
1542
+ */
1543
+ collectionViewWillDisplaySupplementaryViewForElementKindAtIndexPath(collectionView: UICollectionView, view: UICollectionReusableView, elementKind: string, indexPath: NSIndexPath): void;
1544
+
1545
+ /**
1546
+ * @since 13.2
1547
+ */
1548
+ collectionViewWillEndContextMenuInteractionWithConfigurationAnimator(collectionView: UICollectionView, configuration: UIContextMenuConfiguration, animator: UIContextMenuInteractionAnimating): void;
1549
+
1550
+ /**
1551
+ * @since 13.0
1552
+ */
1553
+ collectionViewWillPerformPreviewActionForMenuWithConfigurationAnimator(collectionView: UICollectionView, configuration: UIContextMenuConfiguration, animator: UIContextMenuInteractionCommitAnimating): void;
1554
+
1555
+ conformsToProtocol(aProtocol: any /* Protocol */): boolean;
1556
+
1557
+ /**
1558
+ * @since 9.0
1559
+ */
1560
+ indexPathForPreferredFocusedViewInCollectionView(collectionView: UICollectionView): NSIndexPath;
1561
+
1562
+ /**
1563
+ * @since 14.0
1564
+ */
1565
+ indexTitlesForCollectionView(collectionView: UICollectionView): NSArray<string>;
1566
+
1567
+ invalidateSizeCache(): void;
1568
+
1569
+ invalidateSizeCacheAt(index: number): void;
1570
+
1571
+ isEqual(object: any): boolean;
1572
+
1573
+ isKindOfClass(aClass: typeof NSObject): boolean;
1574
+
1575
+ isMemberOfClass(aClass: typeof NSObject): boolean;
1576
+
1577
+ numberOfSectionsInCollectionView(collectionView: UICollectionView): number;
1578
+
1579
+ performSelector(aSelector: string): any;
1580
+
1581
+ performSelectorWithObject(aSelector: string, object: any): any;
1582
+
1583
+ performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
1584
+
1585
+ registerWithCellClassForCellWithReuseIdentifier(cellClass: typeof NSObject, identifier: string): void;
1586
+
1587
+ reload(): void;
1588
+
1589
+ respondsToSelector(aSelector: string): boolean;
1590
+
1591
+ retainCount(): number;
1592
+
1593
+ /**
1594
+ * @since 11.0
1595
+ */
1596
+ scrollViewDidChangeAdjustedContentInset(scrollView: UIScrollView): void;
1597
+
1598
+ scrollViewDidEndDecelerating(scrollView: UIScrollView): void;
1599
+
1600
+ scrollViewDidEndDraggingWillDecelerate(scrollView: UIScrollView, decelerate: boolean): void;
1601
+
1602
+ scrollViewDidEndScrollingAnimation(scrollView: UIScrollView): void;
1603
+
1604
+ scrollViewDidEndZoomingWithViewAtScale(scrollView: UIScrollView, view: UIView, scale: number): void;
1605
+
1606
+ scrollViewDidScroll(scrollView: UIScrollView): void;
1607
+
1608
+ scrollViewDidScrollToTop(scrollView: UIScrollView): void;
1609
+
1610
+ /**
1611
+ * @since 3.2
1612
+ */
1613
+ scrollViewDidZoom(scrollView: UIScrollView): void;
1614
+
1615
+ scrollViewShouldScrollToTop(scrollView: UIScrollView): boolean;
1616
+
1617
+ scrollViewWillBeginDecelerating(scrollView: UIScrollView): void;
1618
+
1619
+ scrollViewWillBeginDragging(scrollView: UIScrollView): void;
1620
+
1621
+ /**
1622
+ * @since 3.2
1623
+ */
1624
+ scrollViewWillBeginZoomingWithView(scrollView: UIScrollView, view: UIView): void;
1625
+
1626
+ /**
1627
+ * @since 5.0
1628
+ */
1629
+ scrollViewWillEndDraggingWithVelocityTargetContentOffset(scrollView: UIScrollView, velocity: CGPoint, targetContentOffset: interop.Pointer | interop.Reference<CGPoint>): void;
1630
+
1631
+ self(): this;
1632
+
1633
+ viewForZoomingInScrollView(scrollView: UIScrollView): UIView;
1634
+ }
1635
+
1636
+ declare class MasonListCell extends UICollectionViewCell {
1637
+
1638
+ static alloc(): MasonListCell; // inherited from NSObject
1639
+
1640
+ static appearance(): MasonListCell; // inherited from UIAppearance
1641
+
1642
+ /**
1643
+ * @since 8.0
1644
+ */
1645
+ static appearanceForTraitCollection(trait: UITraitCollection): MasonListCell; // inherited from UIAppearance
1646
+
1647
+ /**
1648
+ * @since 8.0
1649
+ * @deprecated 9.0
1650
+ */
1651
+ static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MasonListCell; // inherited from UIAppearance
1652
+
1653
+ /**
1654
+ * @since 9.0
1655
+ */
1656
+ static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonListCell; // inherited from UIAppearance
1657
+
1658
+ /**
1659
+ * @since 5.0
1660
+ * @deprecated 9.0
1661
+ */
1662
+ static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MasonListCell; // inherited from UIAppearance
1663
+
1664
+ /**
1665
+ * @since 9.0
1666
+ */
1667
+ static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonListCell; // inherited from UIAppearance
1668
+
1669
+ static initWithEmptyBackground(): MasonListCell;
1670
+
1671
+ static new(): MasonListCell; // inherited from NSObject
1672
+
1673
+ willMove: (p1: MasonListCell) => void;
1674
+
1675
+ setViewWithCompat(view: MasonElementObjc): void;
1676
+ }
1677
+
1678
+ interface MasonListDelegate {
1679
+
1680
+ listCellForItemAt(list: UICollectionView, indexPath: NSIndexPath): UICollectionViewCell;
1681
+
1682
+ listWillDisplayForItemAt(list: UICollectionView, cell: UICollectionViewCell, indexPath: NSIndexPath): void;
1683
+ }
1684
+ declare var MasonListDelegate: {
1685
+
1686
+ prototype: MasonListDelegate;
1687
+ };
1688
+
1689
+ declare const enum MasonListStylePosition {
1690
+
1691
+ Outside = 0,
1692
+
1693
+ Inside = 1
1694
+ }
1695
+
1696
+ declare const enum MasonListStyleType {
1697
+
1698
+ None = 0,
1699
+
1700
+ Custom = 1,
1701
+
1702
+ Disc = 2,
1703
+
1704
+ Circle = 3,
1705
+
1706
+ Square = 4,
1707
+
1708
+ Decimal = 5
1709
+ }
1710
+
1711
+ declare const enum MasonLoadingState {
1712
+
1713
+ Loading = 0,
1714
+
1715
+ Loaded = 1,
1716
+
1717
+ Error = 2
1718
+ }
1719
+
1720
+ declare class MasonMouseEvent extends MasonEvent {
1721
+
1722
+ static alloc(): MasonMouseEvent; // inherited from NSObject
1723
+
1724
+ static new(): MasonMouseEvent; // inherited from NSObject
1725
+
1726
+ readonly altKey: boolean;
1727
+
1728
+ readonly button: number;
1729
+
1730
+ readonly buttons: number;
1731
+
1732
+ readonly clientX: number;
1733
+
1734
+ readonly clientY: number;
1735
+
1736
+ readonly ctrlKey: boolean;
1737
+
1738
+ readonly detail: number;
1739
+
1740
+ readonly metaKey: boolean;
1741
+
1742
+ readonly movementX: number;
1743
+
1744
+ readonly movementY: number;
1745
+
1746
+ readonly pageX: number;
1747
+
1748
+ readonly pageY: number;
1749
+
1750
+ readonly region: any;
1751
+
1752
+ readonly relatedTarget: any;
1753
+
1754
+ readonly screenX: number;
1755
+
1756
+ readonly screenY: number;
1757
+
1758
+ readonly shiftKey: boolean;
1759
+
1760
+ constructor(o: { type: string; options: MasonMouseEventOptions; });
1761
+
1762
+ initWithTypeOptions(type: string, options: MasonMouseEventOptions): this;
1763
+ }
1764
+
1765
+ declare class MasonMouseEventOptions extends MasonEventOptions {
1766
+
1767
+ static alloc(): MasonMouseEventOptions; // inherited from NSObject
1768
+
1769
+ static new(): MasonMouseEventOptions; // inherited from NSObject
1770
+ }
1771
+
1772
+ declare class MasonNode extends NSObject {
1773
+
1774
+ static alloc(): MasonNode; // inherited from NSObject
1775
+
1776
+ static new(): MasonNode; // inherited from NSObject
1777
+
1778
+ readonly computedLayout: MasonLayout;
1779
+
1780
+ readonly document: MasonDocument;
1781
+
1782
+ inBatch: boolean;
1783
+
1784
+ readonly isDirty: boolean;
1785
+
1786
+ isLayoutValid: boolean;
1787
+
1788
+ readonly mason: NSCMason;
1789
+
1790
+ readonly nativePtr: interop.Pointer | interop.Reference<any>;
1791
+
1792
+ onNodeAttached: () => void;
1793
+
1794
+ onNodeDetached: () => void;
1795
+
1796
+ readonly parent: MasonNode;
1797
+
1798
+ readonly parentNode: MasonNode;
1799
+
1800
+ readonly pseudoMask: number;
1801
+
1802
+ readonly type: MasonNodeType;
1803
+
1804
+ constructor(o: { mason: NSCMason; children: NSArray<MasonNode> | MasonNode[]; });
1805
+
1806
+ appendChild(child: MasonNode): void;
1807
+
1808
+ clearPseudoString(pseudoState: number, key: string): void;
1809
+
1810
+ getChildren(): NSArray<MasonNode>;
1811
+
1812
+ getDefaultAttributes(): NSDictionary<string, any>;
1813
+
1814
+ getLayoutChildren(): NSArray<MasonNode>;
1815
+
1816
+ getPseudoBuffer(flags: number): NSMutableData;
1817
+
1818
+ getPseudoString(pseudoState: number, key: string): string;
1819
+
1820
+ getRoot(): UIView;
1821
+
1822
+ getRootNode(): MasonNode;
1823
+
1824
+ hasPseudo(state: PseudoState): boolean;
1825
+
1826
+ initWithMasonChildren(doc: NSCMason, nodes: NSArray<MasonNode> | MasonNode[]): this;
1827
+
1828
+ markDirty(): void;
1829
+
1830
+ preparePseudoBuffer(flags: number): NSMutableData;
1831
+
1832
+ removeAllChildren(): void;
1833
+
1834
+ setChildrenWithValue(value: NSArray<MasonNode> | MasonNode[]): void;
1835
+
1836
+ setPseudoAutoDirty(state: PseudoState, enabled: boolean, autoDirty: boolean): void;
1837
+
1838
+ setPseudoString(pseudoState: number, key: string, value: string): void;
1839
+ }
1840
+
1841
+ declare const enum MasonNodeType {
1842
+
1843
+ Element = 0,
1844
+
1845
+ Text = 1,
1846
+
1847
+ Document = 2
1848
+ }
1849
+
1850
+ declare const enum MasonObjectFit {
1851
+
1852
+ Contain = 0,
1853
+
1854
+ Cover = 1,
1855
+
1856
+ Fill = 2,
1857
+
1858
+ None = 3,
1859
+
1860
+ ScaleDown = 4
1861
+ }
1862
+
1863
+ declare const enum MasonOverflow {
1864
+
1865
+ Visible = 0,
1866
+
1867
+ Hidden = 1,
1868
+
1869
+ Scroll = 2,
1870
+
1871
+ Clip = 3,
1872
+
1873
+ Auto = 4
1874
+ }
1875
+
1876
+ declare class MasonOverflowPointCompat extends NSObject {
1877
+
1878
+ static alloc(): MasonOverflowPointCompat; // inherited from NSObject
1879
+
1880
+ static new(): MasonOverflowPointCompat; // inherited from NSObject
1881
+
1882
+ readonly cssValue: string;
1883
+
1884
+ x: MasonOverflow;
1885
+
1886
+ y: MasonOverflow;
1887
+ }
1888
+
1889
+ declare const enum MasonPosition {
1890
+
1891
+ Relative = 0,
1892
+
1893
+ Absolute = 1
1894
+ }
1895
+
1896
+ declare class MasonRectHelper extends NSObject {
1897
+
1898
+ static alloc(): MasonRectHelper; // inherited from NSObject
1899
+
1900
+ static new(): MasonRectHelper; // inherited from NSObject
1901
+
1902
+ readonly bottom: number;
1903
+
1904
+ readonly left: number;
1905
+
1906
+ readonly right: number;
1907
+
1908
+ readonly top: number;
1909
+
1910
+ isEmpty(): boolean;
1911
+ }
1912
+
1913
+ declare class MasonScroll extends UIScrollView implements MasonElementObjc, UIScrollViewDelegate {
1914
+
1915
+ static alloc(): MasonScroll; // inherited from NSObject
1916
+
1917
+ static appearance(): MasonScroll; // inherited from UIAppearance
1918
+
1919
+ /**
1920
+ * @since 8.0
1921
+ */
1922
+ static appearanceForTraitCollection(trait: UITraitCollection): MasonScroll; // inherited from UIAppearance
1923
+
1924
+ /**
1925
+ * @since 8.0
1926
+ * @deprecated 9.0
1927
+ */
1928
+ static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MasonScroll; // inherited from UIAppearance
1929
+
1930
+ /**
1931
+ * @since 9.0
1932
+ */
1933
+ static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonScroll; // inherited from UIAppearance
1934
+
1935
+ /**
1936
+ * @since 5.0
1937
+ * @deprecated 9.0
1938
+ */
1939
+ static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MasonScroll; // inherited from UIAppearance
1940
+
1941
+ /**
1942
+ * @since 9.0
1943
+ */
1944
+ static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonScroll; // inherited from UIAppearance
1945
+
1946
+ static new(): MasonScroll; // inherited from NSObject
1947
+
1948
+ readonly mason: NSCMason;
1949
+
1950
+ readonly debugDescription: string; // inherited from NSObjectProtocol
1951
+
1952
+ readonly description: string; // inherited from NSObjectProtocol
1953
+
1954
+ readonly hash: number; // inherited from NSObjectProtocol
1955
+
1956
+ readonly isProxy: boolean; // inherited from NSObjectProtocol
1957
+
1958
+ readonly node: MasonNode; // inherited from MasonElementObjc
1959
+
1960
+ readonly style: MasonStyle; // inherited from MasonElementObjc
1961
+
1962
+ readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
1963
+
1964
+ readonly uiView: UIView; // inherited from MasonElementObjc
1965
+
1966
+ readonly // inherited from NSObjectProtocol
1967
+
1968
+ addView(view: UIView): void;
1969
+
1970
+ addViewAt(view: UIView, at: number): void;
1971
+
1972
+ class(): typeof NSObject;
1973
+
1974
+ conformsToProtocol(aProtocol: any /* Protocol */): boolean;
1975
+
1976
+ isEqual(object: any): boolean;
1977
+
1978
+ isKindOfClass(aClass: typeof NSObject): boolean;
1979
+
1980
+ isMemberOfClass(aClass: typeof NSObject): boolean;
1981
+
1982
+ performSelector(aSelector: string): any;
1983
+
1984
+ performSelectorWithObject(aSelector: string, object: any): any;
1985
+
1986
+ performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
1987
+
1988
+ respondsToSelector(aSelector: string): boolean;
1989
+
1990
+ retainCount(): number;
1991
+
1992
+ /**
1993
+ * @since 11.0
1994
+ */
1995
+ scrollViewDidChangeAdjustedContentInset(scrollView: UIScrollView): void;
1996
+
1997
+ scrollViewDidEndDecelerating(scrollView: UIScrollView): void;
1998
+
1999
+ scrollViewDidEndDraggingWillDecelerate(scrollView: UIScrollView, decelerate: boolean): void;
2000
+
2001
+ scrollViewDidEndScrollingAnimation(scrollView: UIScrollView): void;
2002
+
2003
+ scrollViewDidEndZoomingWithViewAtScale(scrollView: UIScrollView, view: UIView, scale: number): void;
2004
+
2005
+ scrollViewDidScroll(scrollView: UIScrollView): void;
2006
+
2007
+ scrollViewDidScrollToTop(scrollView: UIScrollView): void;
2008
+
2009
+ /**
2010
+ * @since 3.2
2011
+ */
2012
+ scrollViewDidZoom(scrollView: UIScrollView): void;
2013
+
2014
+ scrollViewShouldScrollToTop(scrollView: UIScrollView): boolean;
2015
+
2016
+ scrollViewWillBeginDecelerating(scrollView: UIScrollView): void;
2017
+
2018
+ scrollViewWillBeginDragging(scrollView: UIScrollView): void;
2019
+
2020
+ /**
2021
+ * @since 3.2
2022
+ */
2023
+ scrollViewWillBeginZoomingWithView(scrollView: UIScrollView, view: UIView): void;
2024
+
2025
+ /**
2026
+ * @since 5.0
2027
+ */
2028
+ scrollViewWillEndDraggingWithVelocityTargetContentOffset(scrollView: UIScrollView, velocity: CGPoint, targetContentOffset: interop.Pointer | interop.Reference<CGPoint>): void;
2029
+
2030
+ self(): this;
2031
+
2032
+ setSize(width: number, height: number): void;
2033
+
2034
+ viewForZoomingInScrollView(scrollView: UIScrollView): UIView;
2035
+ }
2036
+
2037
+ declare class MasonSizeHelper extends NSObject {
2038
+
2039
+ static alloc(): MasonSizeHelper; // inherited from NSObject
2040
+
2041
+ static new(): MasonSizeHelper; // inherited from NSObject
2042
+
2043
+ readonly height: number;
2044
+
2045
+ readonly width: number;
2046
+ }
2047
+
2048
+ declare class MasonStyle extends NSObject {
2049
+
2050
+ static alloc(): MasonStyle; // inherited from NSObject
2051
+
2052
+ static new(): MasonStyle; // inherited from NSObject
2053
+
2054
+ align: MasonAlign;
2055
+
2056
+ alignContent: MasonAlignContent;
2057
+
2058
+ alignItems: MasonAlignItems;
2059
+
2060
+ alignSelf: MasonAlignSelf;
2061
+
2062
+ backdropFilter: string;
2063
+
2064
+ background: string;
2065
+
2066
+ backgroundClip: string;
2067
+
2068
+ backgroundColor: number;
2069
+
2070
+ backgroundImage: string;
2071
+
2072
+ backgroundPosition: string;
2073
+
2074
+ backgroundRepeat: string;
2075
+
2076
+ backgroundSize: string;
2077
+
2078
+ border: string;
2079
+
2080
+ borderBottom: string;
2081
+
2082
+ borderImage: string;
2083
+
2084
+ borderLeft: string;
2085
+
2086
+ borderRadius: string;
2087
+
2088
+ borderRight: string;
2089
+
2090
+ borderTop: string;
2091
+
2092
+ borderWidthCompat: MasonLengthPercentageRectCompat;
2093
+
2094
+ boxShadow: string;
2095
+
2096
+ boxSizing: MasonBoxSizing;
2097
+
2098
+ clear: MasonClear;
2099
+
2100
+ color: number;
2101
+
2102
+ cornerShape: string;
2103
+
2104
+ cornerShapeBottomLeft: string;
2105
+
2106
+ cornerShapeBottomRight: string;
2107
+
2108
+ cornerShapeTopLeft: string;
2109
+
2110
+ cornerShapeTopRight: string;
2111
+
2112
+ decorationColor: number;
2113
+
2114
+ decorationLine: MasonDecorationLine;
2115
+
2116
+ direction: MasonDirection;
2117
+
2118
+ display: MasonDisplay;
2119
+
2120
+ filter: string;
2121
+
2122
+ flexDirection: MasonFlexDirection;
2123
+
2124
+ flexGrow: number;
2125
+
2126
+ flexShrink: number;
2127
+
2128
+ flexWrap: MasonFlexWrap;
2129
+
2130
+ float_: MasonFloat;
2131
+
2132
+ readonly font: NSCFontFace;
2133
+
2134
+ fontFamily: string;
2135
+
2136
+ fontFeatureSettings: string;
2137
+
2138
+ fontSize: number;
2139
+
2140
+ fontStyle: MasonFontStyle;
2141
+
2142
+ fontVariantNumericString: string;
2143
+
2144
+ fontWeight: string;
2145
+
2146
+ gapCompat: MasonLengthPercentageSizeCompat;
2147
+
2148
+ gridArea: string;
2149
+
2150
+ gridAutoColumns: string;
2151
+
2152
+ gridAutoFlow: MasonGridAutoFlowWrap;
2153
+
2154
+ gridAutoRows: string;
2155
+
2156
+ gridColumn: string;
2157
+
2158
+ gridColumnEnd: string;
2159
+
2160
+ gridColumnStart: string;
2161
+
2162
+ gridRow: string;
2163
+
2164
+ gridRowEnd: string;
2165
+
2166
+ gridRowStart: string;
2167
+
2168
+ gridTemplateAreas: string;
2169
+
2170
+ gridTemplateColumns: string;
2171
+
2172
+ gridTemplateRows: string;
2173
+
2174
+ insetCompat: MasonLengthPercentageAutoRectCompat;
2175
+
2176
+ insetCss: string;
2177
+
2178
+ justifyContent: MasonJustifyContent;
2179
+
2180
+ justifyItems: MasonJustifyItems;
2181
+
2182
+ justifySelf: MasonJustifySelf;
2183
+
2184
+ letterSpacing: number;
2185
+
2186
+ lineHeight: number;
2187
+
2188
+ listStylePosition: MasonListStylePosition;
2189
+
2190
+ listStyleType: MasonListStyleType;
2191
+
2192
+ marginCompat: MasonLengthPercentageAutoRectCompat;
2193
+
2194
+ marginCss: string;
2195
+
2196
+ maxSizeCompat: MasonDimensionSizeCompat;
2197
+
2198
+ minSizeCompat: MasonDimensionSizeCompat;
2199
+
2200
+ objectFit: MasonObjectFit;
2201
+
2202
+ overflowCompat: MasonOverflowPointCompat;
2203
+
2204
+ overflowX: MasonOverflow;
2205
+
2206
+ overflowY: MasonOverflow;
2207
+
2208
+ paddingCompat: MasonLengthPercentageRectCompat;
2209
+
2210
+ paddingCss: string;
2211
+
2212
+ position: MasonPosition;
2213
+
2214
+ sizeCompat: MasonDimensionSizeCompat;
2215
+
2216
+ sizeCompatHeight: MasonDimensionCompat;
2217
+
2218
+ sizeCompatWidth: MasonDimensionCompat;
2219
+
2220
+ textAlign: MasonTextAlign;
2221
+
2222
+ textJustify: MasonTextJustify;
2223
+
2224
+ textOverflowCompat: MasonTextOverflowCompat;
2225
+
2226
+ textShadow: string;
2227
+
2228
+ textTransform: MasonTextTransform;
2229
+
2230
+ textWrap: MasonTextWrap;
2231
+
2232
+ transform: string;
2233
+
2234
+ readonly values: NSMutableData;
2235
+
2236
+ verticalAlign: MasonVerticalAlignValue;
2237
+
2238
+ whiteSpace: MasonWhiteSpace;
2239
+
2240
+ zIndex: number;
2241
+
2242
+ constructor(o: { node: MasonNode; });
2243
+
2244
+ getBackgroundColor(): string;
2245
+
2246
+ initWithNode(node: MasonNode): this;
2247
+
2248
+ prepareMut(): void;
2249
+
2250
+ setTextDecoration(decoration: string);
2251
+
2252
+ setBackgroundColorWithString(color: string): void;
2253
+
2254
+ setBackgroundColorWithUi(color: UIColor): void;
2255
+
2256
+ setBorderBottomWidth(value: number, type: number): void;
2257
+
2258
+ setBorderLeftWidth(value: number, type: number): void;
2259
+
2260
+ setBorderRightWidth(value: number, type: number): void;
2261
+
2262
+ setBorderTopWidth(value: number, type: number): void;
2263
+
2264
+ setBorderWidth(value: number, type: number): void;
2265
+
2266
+ setColorWithCss(color: string): void;
2267
+
2268
+ setColorWithUi(color: UIColor): void;
2269
+
2270
+ setColumnGap(value: number, type: number): void;
2271
+
2272
+ setDecorationColorWithCss(color: string): void;
2273
+
2274
+ setDecorationColorWithUi(color: UIColor): void;
2275
+
2276
+ setFlexBasis(value: number, type: number): void;
2277
+
2278
+ setFontStyle(style: MasonFontStyle, slant: number): void;
2279
+
2280
+ setGapColumn(value: number, type: number): void;
2281
+
2282
+ setGapRow(value: number, type: number): void;
2283
+
2284
+ setInsetBottom(value: number, type: number): void;
2285
+
2286
+ setInsetLeft(value: number, type: number): void;
2287
+
2288
+ setInsetRight(value: number, type: number): void;
2289
+
2290
+ setInsetTop(value: number, type: number): void;
2291
+
2292
+ setInsetWithValueType(value: number, type: number): void;
2293
+
2294
+ setLineHeight(value: number, isRelative: boolean): void;
2295
+
2296
+ setMarginBottom(value: number, type: number): void;
2297
+
2298
+ setMarginLeft(value: number, type: number): void;
2299
+
2300
+ setMarginRight(value: number, type: number): void;
2301
+
2302
+ setMarginTop(value: number, type: number): void;
2303
+
2304
+ setMarginWithValueType(value: number, type: number): void;
2305
+
2306
+ setMaxSizeHeight(value: number, type: number): void;
2307
+
2308
+ setMaxSizeWidth(value: number, type: number): void;
2309
+
2310
+ setMaxSizeWidthHeight(value: number, type: number): void;
2311
+
2312
+ setMinSizeHeight(value: number, type: number): void;
2313
+
2314
+ setMinSizeWidth(value: number, type: number): void;
2315
+
2316
+ setMinSizeWidthHeight(value: number, type: number): void;
2317
+
2318
+ setPaddingBottom(value: number, type: number): void;
2319
+
2320
+ setPaddingLeft(value: number, type: number): void;
2321
+
2322
+ setPaddingRight(value: number, type: number): void;
2323
+
2324
+ setPaddingTop(value: number, type: number): void;
2325
+
2326
+ setPaddingWithValueType(value: number, type: number): void;
2327
+
2328
+ setRowGap(value: number, type: number): void;
2329
+
2330
+ setScrollBarWidth(value: number): void;
2331
+
2332
+ setSizeHeight(value: number, type: number): void;
2333
+
2334
+ setSizePoints(width: number, height: number): void;
2335
+
2336
+ setSizeWidth(value: number, type: number): void;
2337
+
2338
+ setSizeWidthHeight(value: number, type: number): void;
2339
+
2340
+ updateNativeStyle(): void;
2341
+ }
2342
+
2343
+ declare class MasonSwiftHelpers extends NSObject {
2344
+
2345
+ static addChildAtElement(parent: MasonElementObjc, element: MasonElementObjc, index: number): void;
2346
+
2347
+ static addChildAtNode(parent: MasonElementObjc, node: MasonNode, index: number): void;
2348
+
2349
+ static addChildAtText(parent: MasonElementObjc, text: string, index: number): void;
2350
+
2351
+ static alloc(): MasonSwiftHelpers; // inherited from NSObject
2352
+
2353
+ static append(parent: MasonElementObjc, element: MasonElementObjc): void;
2354
+
2355
+ static appendElements(parent: MasonElementObjc, elements: NSArray<MasonElementObjc> | MasonElementObjc[]): void;
2356
+
2357
+ static appendNode(parent: MasonElementObjc, node: MasonNode): void;
2358
+
2359
+ static appendNodes(parent: MasonElementObjc, nodes: NSArray<MasonNode> | MasonNode[]): void;
2360
+
2361
+ static appendText(parent: MasonElementObjc, text: string): void;
2362
+
2363
+ static appendTexts(parent: MasonElementObjc, texts: NSArray<string> | string[]): void;
2364
+
2365
+ static attachAndApply(element: MasonElementObjc): void;
2366
+
2367
+ static compute(element: MasonElementObjc): void;
2368
+
2369
+ static computeMaxContent(element: MasonElementObjc): void;
2370
+
2371
+ static computeMinContent(element: MasonElementObjc): void;
2372
+
2373
+ static computeWithMaxContent(element: MasonElementObjc): void;
2374
+
2375
+ static computeWithMinContent(element: MasonElementObjc): void;
2376
+
2377
+ static computeWithSize(element: MasonElementObjc, width: number, height: number): void;
2378
+
2379
+ static computeWithViewSize(element: MasonElementObjc): void;
2380
+
2381
+ static computeWithViewSizeLayout(element: MasonElementObjc, layout: boolean): void;
2382
+
2383
+ static configure(element: MasonElementObjc, block: (p1: MasonStyle) => void): void;
2384
+
2385
+ static isNodeDirty(element: MasonElementObjc): boolean;
2386
+
2387
+ static layout(element: MasonElementObjc): MasonLayout;
2388
+
2389
+ static markNodeDirty(element: MasonElementObjc): void;
2390
+
2391
+ static new(): MasonSwiftHelpers; // inherited from NSObject
2392
+
2393
+ static prepend(parent: MasonElementObjc, element: MasonElementObjc): void;
2394
+
2395
+ static prependElements(parent: MasonElementObjc, elements: NSArray<MasonElementObjc> | MasonElementObjc[]): void;
2396
+
2397
+ static prependNode(parent: MasonElementObjc, node: MasonNode): void;
2398
+
2399
+ static prependNodes(parent: MasonElementObjc, nodes: NSArray<MasonNode> | MasonNode[]): void;
2400
+
2401
+ static prependString(parent: MasonElementObjc, string: string): void;
2402
+
2403
+ static prependStrings(parent: MasonElementObjc, strings: NSArray<string> | string[]): void;
2404
+
2405
+ static requestLayout(element: MasonElementObjc): void;
2406
+ }
2407
+
2408
+ declare class MasonText extends UIView implements MasonElementObjc, MasonTextContainer {
2409
+
2410
+ static alloc(): MasonText; // inherited from NSObject
2411
+
2412
+ static appearance(): MasonText; // inherited from UIAppearance
2413
+
2414
+ /**
2415
+ * @since 8.0
2416
+ */
2417
+ static appearanceForTraitCollection(trait: UITraitCollection): MasonText; // inherited from UIAppearance
2418
+
2419
+ /**
2420
+ * @since 8.0
2421
+ * @deprecated 9.0
2422
+ */
2423
+ static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MasonText; // inherited from UIAppearance
2424
+
2425
+ /**
2426
+ * @since 9.0
2427
+ */
2428
+ static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonText; // inherited from UIAppearance
2429
+
2430
+ /**
2431
+ * @since 5.0
2432
+ * @deprecated 9.0
2433
+ */
2434
+ static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MasonText; // inherited from UIAppearance
2435
+
2436
+ /**
2437
+ * @since 9.0
2438
+ */
2439
+ static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonText; // inherited from UIAppearance
2440
+
2441
+ static layerClass(): typeof NSObject;
2442
+
2443
+ static new(): MasonText; // inherited from NSObject
2444
+
2445
+ backgroundColorValue: number;
2446
+
2447
+ color: number;
2448
+
2449
+ decorationColor: number;
2450
+
2451
+ decorationLine: MasonDecorationLine;
2452
+
2453
+ engine: MasonTextEngine;
2454
+
2455
+ fontSize: number;
2456
+
2457
+ fontStyle: MasonFontStyle;
2458
+
2459
+ fontWeight: string;
2460
+
2461
+ lineHeight: number;
2462
+
2463
+ textContent: string;
2464
+
2465
+ textOverflowCompat: MasonTextOverflowCompat;
2466
+
2467
+ textTransform: MasonTextTransform;
2468
+
2469
+ readonly textValues: NSMutableData;
2470
+
2471
+ textWrap: MasonTextWrap;
2472
+
2473
+ readonly type: MasonTextType;
2474
+
2475
+ whiteSpace: MasonWhiteSpace;
2476
+
2477
+ readonly debugDescription: string; // inherited from NSObjectProtocol
2478
+
2479
+ readonly description: string; // inherited from NSObjectProtocol
2480
+
2481
+ readonly hash: number; // inherited from NSObjectProtocol
2482
+
2483
+ readonly isProxy: boolean; // inherited from NSObjectProtocol
2484
+
2485
+ readonly node: MasonNode; // inherited from MasonElementObjc
2486
+
2487
+ readonly style: MasonStyle; // inherited from MasonElementObjc
2488
+
2489
+ readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
2490
+
2491
+ readonly uiView: UIView; // inherited from MasonElementObjc
2492
+
2493
+ readonly // inherited from NSObjectProtocol
2494
+
2495
+ constructor(o: { mason: NSCMason; });
2496
+
2497
+ constructor(o: { mason: NSCMason; type: MasonTextType; });
2498
+
2499
+ addChild(child: MasonNode): void;
2500
+
2501
+ addView(view: UIView): void;
2502
+
2503
+ addViewAt(view: UIView, at: number): void;
2504
+
2505
+ class(): typeof NSObject;
2506
+
2507
+ conformsToProtocol(aProtocol: any /* Protocol */): boolean;
2508
+
2509
+ initWithMason(mason: NSCMason): this;
2510
+
2511
+ initWithMasonType(mason: NSCMason, textType: MasonTextType): this;
2512
+
2513
+ isEqual(object: any): boolean;
2514
+
2515
+ isKindOfClass(aClass: typeof NSObject): boolean;
2516
+
2517
+ isMemberOfClass(aClass: typeof NSObject): boolean;
2518
+
2519
+ onStyleChange(low: number, high: number): void;
2520
+
2521
+ performSelector(aSelector: string): any;
2522
+
2523
+ performSelectorWithObject(aSelector: string, object: any): any;
2524
+
2525
+ performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
2526
+
2527
+ removeAllViews(): void;
2528
+
2529
+ removeChild(child: MasonNode): MasonNode;
2530
+
2531
+ removeView(view: UIView): void;
2532
+
2533
+ removeViewAt(index: number): void;
2534
+
2535
+ requestLayout(): void;
2536
+
2537
+ respondsToSelector(aSelector: string): boolean;
2538
+
2539
+ retainCount(): number;
2540
+
2541
+ self(): this;
2542
+
2543
+ setBackgroundColorWithUi(color: UIColor): void;
2544
+
2545
+ setColorWithUi(color: UIColor): void;
2546
+
2547
+ setDecorationColorWithUi(color: UIColor): void;
2548
+
2549
+ setFontStyleSlant(style: MasonFontStyle, slant: number): void;
2550
+ }
2551
+
2552
+ declare const enum MasonTextAlign {
2553
+
2554
+ Auto = 0,
2555
+
2556
+ Left = 1,
2557
+
2558
+ Right = 2,
2559
+
2560
+ Center = 3,
2561
+
2562
+ Justify = 4,
2563
+
2564
+ Start = 5,
2565
+
2566
+ End = 6
2567
+ }
2568
+
2569
+ declare class MasonTextArea extends MasonTextInput implements MasonElementObjc {
2570
+
2571
+ static alloc(): MasonTextArea; // inherited from NSObject
2572
+
2573
+ static appearance(): MasonTextArea; // inherited from UIAppearance
2574
+
2575
+ /**
2576
+ * @since 8.0
2577
+ */
2578
+ static appearanceForTraitCollection(trait: UITraitCollection): MasonTextArea; // inherited from UIAppearance
2579
+
2580
+ /**
2581
+ * @since 8.0
2582
+ * @deprecated 9.0
2583
+ */
2584
+ static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MasonTextArea; // inherited from UIAppearance
2585
+
2586
+ /**
2587
+ * @since 9.0
2588
+ */
2589
+ static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonTextArea; // inherited from UIAppearance
2590
+
2591
+ /**
2592
+ * @since 5.0
2593
+ * @deprecated 9.0
2594
+ */
2595
+ static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MasonTextArea; // inherited from UIAppearance
2596
+
2597
+ /**
2598
+ * @since 9.0
2599
+ */
2600
+ static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonTextArea; // inherited from UIAppearance
2601
+
2602
+ static new(): MasonTextArea; // inherited from NSObject
2603
+
2604
+ /**
2605
+ * @since 16.0
2606
+ */
2607
+ static textViewUsingTextLayoutManager(usingTextLayoutManager: boolean): MasonTextArea; // inherited from UITextView
2608
+
2609
+ cols: number;
2610
+
2611
+ readonly mason: NSCMason;
2612
+
2613
+ maxLength: number;
2614
+
2615
+ name: string;
2616
+
2617
+ rows: number;
2618
+
2619
+ value: string;
2620
+
2621
+ readonly debugDescription: string; // inherited from NSObjectProtocol
2622
+
2623
+ readonly description: string; // inherited from NSObjectProtocol
2624
+
2625
+ readonly hash: number; // inherited from NSObjectProtocol
2626
+
2627
+ readonly isProxy: boolean; // inherited from NSObjectProtocol
2628
+
2629
+ readonly node: MasonNode; // inherited from MasonElementObjc
2630
+
2631
+ readonly style: MasonStyle; // inherited from MasonElementObjc
2632
+
2633
+ readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
2634
+
2635
+ readonly uiView: UIView; // inherited from MasonElementObjc
2636
+
2637
+ readonly // inherited from NSObjectProtocol
2638
+
2639
+ constructor(o: { mason: NSCMason; });
2640
+
2641
+ class(): typeof NSObject;
2642
+
2643
+ conformsToProtocol(aProtocol: any /* Protocol */): boolean;
2644
+
2645
+ initWithMason(doc: NSCMason): this;
2646
+
2647
+ isEqual(object: any): boolean;
2648
+
2649
+ isKindOfClass(aClass: typeof NSObject): boolean;
2650
+
2651
+ isMemberOfClass(aClass: typeof NSObject): boolean;
2652
+
2653
+ onStyleChange(low: number, high: number): void;
2654
+
2655
+ performSelector(aSelector: string): any;
2656
+
2657
+ performSelectorWithObject(aSelector: string, object: any): any;
2658
+
2659
+ performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
2660
+
2661
+ respondsToSelector(aSelector: string): boolean;
2662
+
2663
+ retainCount(): number;
2664
+
2665
+ self(): this;
2666
+ }
2667
+
2668
+ interface MasonTextContainer extends NSObjectProtocol {
2669
+
2670
+ engine: MasonTextEngine;
2671
+
2672
+ node: MasonNode;
2673
+
2674
+ onStyleChange(low: number, high: number): void;
2675
+ }
2676
+ declare var MasonTextContainer: {
2677
+
2678
+ prototype: MasonTextContainer;
2679
+ };
2680
+
2681
+ declare class MasonTextEngine extends NSObject {
2682
+
2683
+ static alloc(): MasonTextEngine; // inherited from NSObject
2684
+
2685
+ static new(): MasonTextEngine; // inherited from NSObject
2686
+ }
2687
+
2688
+ declare class MasonTextInput extends UITextView implements UITextViewDelegate {
2689
+
2690
+ static alloc(): MasonTextInput; // inherited from NSObject
2691
+
2692
+ static appearance(): MasonTextInput; // inherited from UIAppearance
2693
+
2694
+ /**
2695
+ * @since 8.0
2696
+ */
2697
+ static appearanceForTraitCollection(trait: UITraitCollection): MasonTextInput; // inherited from UIAppearance
2698
+
2699
+ /**
2700
+ * @since 8.0
2701
+ * @deprecated 9.0
2702
+ */
2703
+ static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MasonTextInput; // inherited from UIAppearance
2704
+
2705
+ /**
2706
+ * @since 9.0
2707
+ */
2708
+ static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonTextInput; // inherited from UIAppearance
2709
+
2710
+ /**
2711
+ * @since 5.0
2712
+ * @deprecated 9.0
2713
+ */
2714
+ static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MasonTextInput; // inherited from UIAppearance
2715
+
2716
+ /**
2717
+ * @since 9.0
2718
+ */
2719
+ static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonTextInput; // inherited from UIAppearance
2720
+
2721
+ static new(): MasonTextInput; // inherited from NSObject
2722
+
2723
+ /**
2724
+ * @since 16.0
2725
+ */
2726
+ static textViewUsingTextLayoutManager(usingTextLayoutManager: boolean): MasonTextInput; // inherited from UITextView
2727
+
2728
+ placeholder: string;
2729
+
2730
+ readonly debugDescription: string; // inherited from NSObjectProtocol
2731
+
2732
+ readonly description: string; // inherited from NSObjectProtocol
2733
+
2734
+ readonly hash: number; // inherited from NSObjectProtocol
2735
+
2736
+ readonly isProxy: boolean; // inherited from NSObjectProtocol
2737
+
2738
+ readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
2739
+
2740
+ readonly // inherited from NSObjectProtocol
2741
+
2742
+ class(): typeof NSObject;
2743
+
2744
+ conformsToProtocol(aProtocol: any /* Protocol */): boolean;
2745
+
2746
+ isEqual(object: any): boolean;
2747
+
2748
+ isKindOfClass(aClass: typeof NSObject): boolean;
2749
+
2750
+ isMemberOfClass(aClass: typeof NSObject): boolean;
2751
+
2752
+ performSelector(aSelector: string): any;
2753
+
2754
+ performSelectorWithObject(aSelector: string, object: any): any;
2755
+
2756
+ performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
2757
+
2758
+ respondsToSelector(aSelector: string): boolean;
2759
+
2760
+ retainCount(): number;
2761
+
2762
+ /**
2763
+ * @since 11.0
2764
+ */
2765
+ scrollViewDidChangeAdjustedContentInset(scrollView: UIScrollView): void;
2766
+
2767
+ scrollViewDidEndDecelerating(scrollView: UIScrollView): void;
2768
+
2769
+ scrollViewDidEndDraggingWillDecelerate(scrollView: UIScrollView, decelerate: boolean): void;
2770
+
2771
+ scrollViewDidEndScrollingAnimation(scrollView: UIScrollView): void;
2772
+
2773
+ scrollViewDidEndZoomingWithViewAtScale(scrollView: UIScrollView, view: UIView, scale: number): void;
2774
+
2775
+ scrollViewDidScroll(scrollView: UIScrollView): void;
2776
+
2777
+ scrollViewDidScrollToTop(scrollView: UIScrollView): void;
2778
+
2779
+ /**
2780
+ * @since 3.2
2781
+ */
2782
+ scrollViewDidZoom(scrollView: UIScrollView): void;
2783
+
2784
+ scrollViewShouldScrollToTop(scrollView: UIScrollView): boolean;
2785
+
2786
+ scrollViewWillBeginDecelerating(scrollView: UIScrollView): void;
2787
+
2788
+ scrollViewWillBeginDragging(scrollView: UIScrollView): void;
2789
+
2790
+ /**
2791
+ * @since 3.2
2792
+ */
2793
+ scrollViewWillBeginZoomingWithView(scrollView: UIScrollView, view: UIView): void;
2794
+
2795
+ /**
2796
+ * @since 5.0
2797
+ */
2798
+ scrollViewWillEndDraggingWithVelocityTargetContentOffset(scrollView: UIScrollView, velocity: CGPoint, targetContentOffset: interop.Pointer | interop.Reference<CGPoint>): void;
2799
+
2800
+ self(): this;
2801
+
2802
+ textViewDidBeginEditing(textView: UITextView): void;
2803
+
2804
+ /**
2805
+ * @since 18.0
2806
+ */
2807
+ textViewDidBeginFormattingWithViewController(textView: UITextView, viewController: UITextFormattingViewController): void;
2808
+
2809
+ textViewDidChange(textView: UITextView): void;
2810
+
2811
+ textViewDidChangeSelection(textView: UITextView): void;
2812
+
2813
+ textViewDidEndEditing(textView: UITextView): void;
2814
+
2815
+ /**
2816
+ * @since 18.0
2817
+ */
2818
+ textViewDidEndFormattingWithViewController(textView: UITextView, viewController: UITextFormattingViewController): void;
2819
+
2820
+ /**
2821
+ * @since 16.0
2822
+ * @deprecated 100000
2823
+ */
2824
+ textViewEditMenuForTextInRangeSuggestedActions(textView: UITextView, range: NSRange, suggestedActions: NSArray<UIMenuElement> | UIMenuElement[]): UIMenu;
2825
+
2826
+ /**
2827
+ * @since 26.0
2828
+ */
2829
+ textViewEditMenuForTextInRangesSuggestedActions(textView: UITextView, ranges: NSArray<NSValue> | NSValue[], suggestedActions: NSArray<UIMenuElement> | UIMenuElement[]): UIMenu;
2830
+
2831
+ /**
2832
+ * @since 18.4
2833
+ */
2834
+ textViewInsertInputSuggestion(textView: UITextView, inputSuggestion: UIInputSuggestion): void;
2835
+
2836
+ /**
2837
+ * @since 17.0
2838
+ */
2839
+ textViewMenuConfigurationForTextItemDefaultMenu(textView: UITextView, textItem: UITextItem, defaultMenu: UIMenu): UITextItemMenuConfiguration;
2840
+
2841
+ /**
2842
+ * @since 17.0
2843
+ */
2844
+ textViewPrimaryActionForTextItemDefaultAction(textView: UITextView, textItem: UITextItem, defaultAction: UIAction): UIAction;
2845
+
2846
+ textViewShouldBeginEditing(textView: UITextView): boolean;
2847
+
2848
+ /**
2849
+ * @since 2.0
2850
+ * @deprecated 100000
2851
+ */
2852
+ textViewShouldChangeTextInRangeReplacementText(textView: UITextView, range: NSRange, text: string): boolean;
2853
+
2854
+ /**
2855
+ * @since 26.0
2856
+ */
2857
+ textViewShouldChangeTextInRangesReplacementText(textView: UITextView, ranges: NSArray<NSValue> | NSValue[], text: string): boolean;
2858
+
2859
+ textViewShouldEndEditing(textView: UITextView): boolean;
2860
+
2861
+ /**
2862
+ * @since 7.0
2863
+ * @deprecated 10.0
2864
+ */
2865
+ textViewShouldInteractWithTextAttachmentInRange(textView: UITextView, textAttachment: NSTextAttachment, characterRange: NSRange): boolean;
2866
+
2867
+ /**
2868
+ * @since 10.0
2869
+ * @deprecated 17.0
2870
+ */
2871
+ textViewShouldInteractWithTextAttachmentInRangeInteraction(textView: UITextView, textAttachment: NSTextAttachment, characterRange: NSRange, interaction: UITextItemInteraction): boolean;
2872
+
2873
+ /**
2874
+ * @since 7.0
2875
+ * @deprecated 10.0
2876
+ */
2877
+ textViewShouldInteractWithURLInRange(textView: UITextView, URL: NSURL, characterRange: NSRange): boolean;
2878
+
2879
+ /**
2880
+ * @since 10.0
2881
+ * @deprecated 17.0
2882
+ */
2883
+ textViewShouldInteractWithURLInRangeInteraction(textView: UITextView, URL: NSURL, characterRange: NSRange, interaction: UITextItemInteraction): boolean;
2884
+
2885
+ /**
2886
+ * @since 17.0
2887
+ */
2888
+ textViewTextItemMenuWillDisplayForTextItemAnimator(textView: UITextView, textItem: UITextItem, animator: UIContextMenuInteractionAnimating): void;
2889
+
2890
+ /**
2891
+ * @since 17.0
2892
+ */
2893
+ textViewTextItemMenuWillEndForTextItemAnimator(textView: UITextView, textItem: UITextItem, animator: UIContextMenuInteractionAnimating): void;
2894
+
2895
+ /**
2896
+ * @since 18.0
2897
+ */
2898
+ textViewWillBeginFormattingWithViewController(textView: UITextView, viewController: UITextFormattingViewController): void;
2899
+
2900
+ /**
2901
+ * @since 16.0
2902
+ */
2903
+ textViewWillDismissEditMenuWithAnimator(textView: UITextView, animator: UIEditMenuInteractionAnimating): void;
2904
+
2905
+ /**
2906
+ * @since 18.0
2907
+ */
2908
+ textViewWillEndFormattingWithViewController(textView: UITextView, viewController: UITextFormattingViewController): void;
2909
+
2910
+ /**
2911
+ * @since 16.0
2912
+ */
2913
+ textViewWillPresentEditMenuWithAnimator(textView: UITextView, animator: UIEditMenuInteractionAnimating): void;
2914
+
2915
+ /**
2916
+ * @since 18.0
2917
+ */
2918
+ textViewWritingToolsDidEnd(textView: UITextView): void;
2919
+
2920
+ /**
2921
+ * @since 18.0
2922
+ */
2923
+ textViewWritingToolsIgnoredRangesInEnclosingRange(textView: UITextView, enclosingRange: NSRange): NSArray<NSValue>;
2924
+
2925
+ /**
2926
+ * @since 18.0
2927
+ */
2928
+ textViewWritingToolsWillBegin(textView: UITextView): void;
2929
+
2930
+ viewForZoomingInScrollView(scrollView: UIScrollView): UIView;
2931
+ }
2932
+
2933
+ declare const enum MasonTextJustify {
2934
+
2935
+ None = 0,
2936
+
2937
+ Auto = 1,
2938
+
2939
+ InterWord = 2,
2940
+
2941
+ InterCharacter = 3,
2942
+
2943
+ Distribute = 4
2944
+ }
2945
+
2946
+ declare class MasonTextLayer extends CALayer {
2947
+
2948
+ static alloc(): MasonTextLayer; // inherited from NSObject
2949
+
2950
+ static layer(): MasonTextLayer; // inherited from CALayer
2951
+
2952
+ static new(): MasonTextLayer; // inherited from NSObject
2953
+ }
2954
+
2955
+ declare class MasonTextNode extends MasonNode implements MasonCharacterData {
2956
+
2957
+ static alloc(): MasonTextNode; // inherited from NSObject
2958
+
2959
+ static new(): MasonTextNode; // inherited from NSObject
2960
+
2961
+ data: string; // inherited from MasonCharacterData
2962
+
2963
+ readonly length: number; // inherited from MasonCharacterData
2964
+
2965
+ constructor(o: { mason: NSCMason; data: string; attributes: NSDictionary<string, any>; });
2966
+
2967
+ appendData(s: string): this;
2968
+
2969
+ attributed(): NSAttributedString;
2970
+
2971
+ deleteDataWithOffsetCount(offset: number, count: number): this;
2972
+
2973
+ deleteDataWithRange(range: NSRange): this;
2974
+
2975
+ initWithMasonDataAttributes(doc: NSCMason, text: string, attrs: NSDictionary<string, any>): this;
2976
+
2977
+ insertDataAt(s: string, offset: number): this;
2978
+
2979
+ replaceDataWithOffsetCountWith(offset: number, count: number, s: string): this;
2980
+
2981
+ replaceDataWithRangeWith(range: NSRange, s: string): this;
2982
+
2983
+ substringDataWithOffsetCount(offset: number, count: number): string;
2984
+ }
2985
+
2986
+ declare class MasonTextOverflowCompat extends NSObject {
2987
+
2988
+ static Custom(value: string): MasonTextOverflowCompat;
2989
+
2990
+ static Ellipse(value: string): MasonTextOverflowCompat;
2991
+
2992
+ static alloc(): MasonTextOverflowCompat; // inherited from NSObject
2993
+
2994
+ static new(): MasonTextOverflowCompat; // inherited from NSObject
2995
+
2996
+ static readonly Clip: MasonTextOverflowCompat;
2997
+ }
2998
+
2999
+ declare const enum MasonTextTransform {
3000
+
3001
+ None = 0,
3002
+
3003
+ Capitalize = 1,
3004
+
3005
+ Uppercase = 2,
3006
+
3007
+ Lowercase = 3,
3008
+
3009
+ FullWidth = 4,
3010
+
3011
+ FullSizeKana = 5,
3012
+
3013
+ MathAuto = 6
3014
+ }
3015
+
3016
+ declare const enum MasonTextType {
3017
+
3018
+ None = 0,
3019
+
3020
+ P = 1,
3021
+
3022
+ Span = 2,
3023
+
3024
+ Code = 3,
3025
+
3026
+ H1 = 4,
3027
+
3028
+ H2 = 5,
3029
+
3030
+ H3 = 6,
3031
+
3032
+ H4 = 7,
3033
+
3034
+ H5 = 8,
3035
+
3036
+ H6 = 9,
3037
+
3038
+ Li = 10,
3039
+
3040
+ Blockquote = 11,
3041
+
3042
+ B = 12,
3043
+
3044
+ Pre = 13,
3045
+
3046
+ Strong = 14,
3047
+
3048
+ Em = 15,
3049
+
3050
+ I = 16,
3051
+
3052
+ A = 17
3053
+ }
3054
+
3055
+ declare const enum MasonTextWrap {
3056
+
3057
+ Wrap = 0,
3058
+
3059
+ NoWrap = 1,
3060
+
3061
+ Balance = 2,
3062
+
3063
+ Pretty = 3
3064
+ }
3065
+
3066
+ declare class MasonUIView extends UIView implements MasonElementObjc {
3067
+
3068
+ static alloc(): MasonUIView; // inherited from NSObject
3069
+
3070
+ static appearance(): MasonUIView; // inherited from UIAppearance
3071
+
3072
+ /**
3073
+ * @since 8.0
3074
+ */
3075
+ static appearanceForTraitCollection(trait: UITraitCollection): MasonUIView; // inherited from UIAppearance
3076
+
3077
+ /**
3078
+ * @since 8.0
3079
+ * @deprecated 9.0
3080
+ */
3081
+ static appearanceForTraitCollectionWhenContainedIn(trait: UITraitCollection, ContainerClass: typeof NSObject): MasonUIView; // inherited from UIAppearance
3082
+
3083
+ /**
3084
+ * @since 9.0
3085
+ */
3086
+ static appearanceForTraitCollectionWhenContainedInInstancesOfClasses(trait: UITraitCollection, containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonUIView; // inherited from UIAppearance
3087
+
3088
+ /**
3089
+ * @since 5.0
3090
+ * @deprecated 9.0
3091
+ */
3092
+ static appearanceWhenContainedIn(ContainerClass: typeof NSObject): MasonUIView; // inherited from UIAppearance
3093
+
3094
+ /**
3095
+ * @since 9.0
3096
+ */
3097
+ static appearanceWhenContainedInInstancesOfClasses(containerTypes: NSArray<typeof NSObject> | typeof NSObject[]): MasonUIView; // inherited from UIAppearance
3098
+
3099
+ static createBlockView(mason: NSCMason): MasonUIView;
3100
+
3101
+ static createFlexView(mason: NSCMason): MasonUIView;
3102
+
3103
+ static createGridView(mason: NSCMason): MasonUIView;
3104
+
3105
+ static new(): MasonUIView; // inherited from NSObject
3106
+
3107
+ _position: MasonPosition;
3108
+
3109
+ alignContent: MasonAlignContent;
3110
+
3111
+ alignItems: MasonAlignItems;
3112
+
3113
+ alignSelf: MasonAlignSelf;
3114
+
3115
+ aspectRatio: number;
3116
+
3117
+ background: string;
3118
+
3119
+ contentOffset: CGPoint;
3120
+
3121
+ contentSize: CGSize;
3122
+
3123
+ direction: MasonDirection;
3124
+
3125
+ display: MasonDisplay;
3126
+
3127
+ flexBasisCompat: MasonDimensionCompat;
3128
+
3129
+ flexDirection: MasonFlexDirection;
3130
+
3131
+ flexGrow: number;
3132
+
3133
+ flexShrink: number;
3134
+
3135
+ flexWrap: MasonFlexWrap;
3136
+
3137
+ gridArea: string;
3138
+
3139
+ gridAutoColumns: string;
3140
+
3141
+ gridAutoFlow: MasonGridAutoFlowWrap;
3142
+
3143
+ gridAutoRows: string;
3144
+
3145
+ gridColumn: string;
3146
+
3147
+ gridColumnEnd: string;
3148
+
3149
+ gridColumnStart: string;
3150
+
3151
+ gridRow: string;
3152
+
3153
+ gridRowEnd: string;
3154
+
3155
+ gridRowStart: string;
3156
+
3157
+ gridTemplateAreas: string;
3158
+
3159
+ gridTemplateColumns: string;
3160
+
3161
+ gridTemplateRows: string;
3162
+
3163
+ inBatch: boolean;
3164
+
3165
+ justifyContent: MasonJustifyContent;
3166
+
3167
+ justifyItems: MasonJustifyItems;
3168
+
3169
+ justifySelf: MasonJustifySelf;
3170
+
3171
+ readonly mason: NSCMason;
3172
+
3173
+ overflowX: MasonOverflow;
3174
+
3175
+ overflowY: MasonOverflow;
3176
+
3177
+ scrollBarWidthCompat: MasonDimensionCompat;
3178
+
3179
+ readonly debugDescription: string; // inherited from NSObjectProtocol
3180
+
3181
+ readonly description: string; // inherited from NSObjectProtocol
3182
+
3183
+ readonly hash: number; // inherited from NSObjectProtocol
3184
+
3185
+ readonly isProxy: boolean; // inherited from NSObjectProtocol
3186
+
3187
+ readonly node: MasonNode; // inherited from MasonElementObjc
3188
+
3189
+ readonly style: MasonStyle; // inherited from MasonElementObjc
3190
+
3191
+ readonly superclass: typeof NSObject; // inherited from NSObjectProtocol
3192
+
3193
+ readonly uiView: UIView; // inherited from MasonElementObjc
3194
+
3195
+ readonly // inherited from NSObjectProtocol
3196
+
3197
+ addSubviews(views: NSArray<UIView> | UIView[]): void;
3198
+
3199
+ addSubviewsAt(views: NSArray<UIView> | UIView[], index: number): void;
3200
+
3201
+ addView(view: UIView): void;
3202
+
3203
+ addViewAt(view: UIView, at: number): void;
3204
+
3205
+ class(): typeof NSObject;
3206
+
3207
+ conformsToProtocol(aProtocol: any /* Protocol */): boolean;
3208
+
3209
+ getBorderBottom(): MasonLengthPercentageCompat;
3210
+
3211
+ getBorderLeft(): MasonLengthPercentageCompat;
3212
+
3213
+ getBorderRight(): MasonLengthPercentageCompat;
3214
+
3215
+ getBorderTop(): MasonLengthPercentageCompat;
3216
+
3217
+ getBorderWidth(): MasonLengthPercentageRectCompat;
3218
+
3219
+ getColumnGap(): MasonLengthPercentageCompat;
3220
+
3221
+ getGap(): MasonLengthPercentageSizeCompat;
3222
+
3223
+ getInset(): MasonLengthPercentageAutoRectCompat;
3224
+
3225
+ getInsetBottom(): MasonLengthPercentageAutoCompat;
3226
+
3227
+ getInsetLeft(): MasonLengthPercentageAutoCompat;
3228
+
3229
+ getInsetRight(): MasonLengthPercentageAutoCompat;
3230
+
3231
+ getInsetTop(): MasonLengthPercentageAutoCompat;
3232
+
3233
+ getMargin(): MasonLengthPercentageAutoRectCompat;
3234
+
3235
+ getMarginBottom(): MasonLengthPercentageAutoCompat;
3236
+
3237
+ getMarginLeft(): MasonLengthPercentageAutoCompat;
3238
+
3239
+ getMarginRight(): MasonLengthPercentageAutoCompat;
3240
+
3241
+ getMarginTop(): MasonLengthPercentageAutoCompat;
3242
+
3243
+ getMaxSize(): MasonDimensionSizeCompat;
3244
+
3245
+ getMaxSizeHeight(): MasonDimensionCompat;
3246
+
3247
+ getMaxSizeWidth(): MasonDimensionCompat;
3248
+
3249
+ getMinSize(): MasonDimensionSizeCompat;
3250
+
3251
+ getMinSizeHeight(): MasonDimensionCompat;
3252
+
3253
+ getMinSizeWidth(): MasonDimensionCompat;
3254
+
3255
+ getPadding(): MasonLengthPercentageRectCompat;
3256
+
3257
+ getPaddingBottom(): MasonLengthPercentageCompat;
3258
+
3259
+ getPaddingLeft(): MasonLengthPercentageCompat;
3260
+
3261
+ getPaddingRight(): MasonLengthPercentageCompat;
3262
+
3263
+ getPaddingTop(): MasonLengthPercentageCompat;
3264
+
3265
+ getRowGap(): MasonLengthPercentageCompat;
3266
+
3267
+ getSize(): MasonDimensionSizeCompat;
3268
+
3269
+ getSizeHeight(): MasonDimensionCompat;
3270
+
3271
+ getSizeWidth(): MasonDimensionCompat;
3272
+
3273
+ isEqual(object: any): boolean;
3274
+
3275
+ isKindOfClass(aClass: typeof NSObject): boolean;
3276
+
3277
+ isMemberOfClass(aClass: typeof NSObject): boolean;
3278
+
3279
+ isNodeDirty(): boolean;
3280
+
3281
+ markNodeDirty(): void;
3282
+
3283
+ performSelector(aSelector: string): any;
3284
+
3285
+ performSelectorWithObject(aSelector: string, object: any): any;
3286
+
3287
+ performSelectorWithObjectWithObject(aSelector: string, object1: any, object2: any): any;
3288
+
3289
+ respondsToSelector(aSelector: string): boolean;
3290
+
3291
+ retainCount(): number;
3292
+
3293
+ self(): this;
3294
+
3295
+ setBorderBottomWidth(bottom: number, type: number): void;
3296
+
3297
+ setBorderLeftWidth(left: number, type: number): void;
3298
+
3299
+ setBorderRightWidth(right: number, type: number): void;
3300
+
3301
+ setBorderTopWidth(top: number, type: number): void;
3302
+
3303
+ setBorderWidth(left: number, top: number, right: number, bottom: number): void;
3304
+
3305
+ setColumnGap(column: number, type: number): void;
3306
+
3307
+ setGap(width: number, height: number): void;
3308
+
3309
+ setGapWithWidthHeightType(width: number, width_type: number, height: number, height_type: number): void;
3310
+
3311
+ setInset(left: number, top: number, right: number, bottom: number): void;
3312
+
3313
+ setInsetBottom(bottom: number, type: number): void;
3314
+
3315
+ setInsetLeft(left: number, type: number): void;
3316
+
3317
+ setInsetRight(right: number, type: number): void;
3318
+
3319
+ setInsetTop(top: number, type: number): void;
3320
+
3321
+ setMargin(left: number, top: number, right: number, bottom: number): void;
3322
+
3323
+ setMarginBottom(bottom: number, type: number): void;
3324
+
3325
+ setMarginLeft(left: number, type: number): void;
3326
+
3327
+ setMarginRight(right: number, type: number): void;
3328
+
3329
+ setMarginTop(top: number, type: number): void;
3330
+
3331
+ setMaxSize(width: number, height: number): void;
3332
+
3333
+ setMaxSizeHeight(height: number, type: number): void;
3334
+
3335
+ setMaxSizeWidth(width: number, type: number): void;
3336
+
3337
+ setMinSize(width: number, height: number): void;
3338
+
3339
+ setMinSizeHeight(height: number, type: number): void;
3340
+
3341
+ setMinSizeWidth(width: number, type: number): void;
3342
+
3343
+ setPadding(left: number, top: number, right: number, bottom: number): void;
3344
+
3345
+ setPaddingBottom(bottom: number, type: number): void;
3346
+
3347
+ setPaddingLeft(left: number, type: number): void;
3348
+
3349
+ setPaddingRight(right: number, type: number): void;
3350
+
3351
+ setPaddingTop(top: number, type: number): void;
3352
+
3353
+ setRowGap(row: number, type: number): void;
3354
+
3355
+ setSize(width: number, height: number): void;
3356
+
3357
+ setSizeHeight(height: number, type: number): void;
3358
+
3359
+ setSizeWidth(width: number, type: number): void;
3360
+ }
3361
+
3362
+ declare var MasonVersionNumber: number;
3363
+
3364
+ declare var MasonVersionString: interop.Reference<number>;
3365
+
3366
+ declare class MasonVerticalAlignValue extends NSObject {
3367
+
3368
+ static alloc(): MasonVerticalAlignValue; // inherited from NSObject
3369
+
3370
+ static new(): MasonVerticalAlignValue; // inherited from NSObject
3371
+ }
3372
+
3373
+ declare const enum MasonWhiteSpace {
3374
+
3375
+ Normal = 0,
3376
+
3377
+ Pre = 1,
3378
+
3379
+ PreWrap = 2,
3380
+
3381
+ PreLine = 3,
3382
+
3383
+ NoWrap = 4,
3384
+
3385
+ BreakSpaces = 5
3386
+ }
3387
+
3388
+ declare class MaxSizing extends NSObject {
3389
+
3390
+ static FitContent(fit: number): MaxSizing;
3391
+
3392
+ static FitContentPercent(fit: number): MaxSizing;
3393
+
3394
+ static Fraction(flex: number): MaxSizing;
3395
+
3396
+ static Percent(percent: number): MaxSizing;
3397
+
3398
+ static Points(points: number): MaxSizing;
3399
+
3400
+ static alloc(): MaxSizing; // inherited from NSObject
3401
+
3402
+ static new(): MaxSizing; // inherited from NSObject
3403
+
3404
+ readonly cssValue: string;
3405
+
3406
+ readonly jsonValue: string;
3407
+
3408
+ readonly value: number;
3409
+
3410
+ static readonly Auto: MaxSizing;
3411
+
3412
+ static readonly MaxContent: MaxSizing;
3413
+
3414
+ static readonly MinContent: MaxSizing;
3415
+ }
3416
+
3417
+ declare class MeasureOutput extends NSObject {
3418
+
3419
+ static alloc(): MeasureOutput; // inherited from NSObject
3420
+
3421
+ static new(): MeasureOutput; // inherited from NSObject
3422
+ }
3423
+
3424
+ declare class MinMax extends NSObject {
3425
+
3426
+ static FitContentPercentWithFit(fit: number): MinMax;
3427
+
3428
+ static FitContentWithFit(fit: number): MinMax;
3429
+
3430
+ static FlexWithFlex(flex: number): MinMax;
3431
+
3432
+ static PercentWithPercent(percent: number): MinMax;
3433
+
3434
+ static PointsWithPoints(points: number): MinMax;
3435
+
3436
+ static alloc(): MinMax; // inherited from NSObject
3437
+
3438
+ static fromTypeValue(minType: number, minValue: number, maxType: number, maxValue: number): MinMax;
3439
+
3440
+ static new(): MinMax; // inherited from NSObject
3441
+
3442
+ readonly cssValue: string;
3443
+
3444
+ readonly jsonValue: string;
3445
+
3446
+ static readonly Auto: MinMax;
3447
+
3448
+ constructor();
3449
+
3450
+ init(min: MinSizing, max: MaxSizing): this;
3451
+ }
3452
+
3453
+ declare class MinSizing extends NSObject {
3454
+
3455
+ static Percent(percent: number): MinSizing;
3456
+
3457
+ static Points(points: number): MinSizing;
3458
+
3459
+ static alloc(): MinSizing; // inherited from NSObject
3460
+
3461
+ static new(): MinSizing; // inherited from NSObject
3462
+
3463
+ readonly cssValue: string;
3464
+
3465
+ readonly jsonValue: string;
3466
+
3467
+ readonly value: number;
3468
+
3469
+ static readonly Auto: MinSizing;
3470
+
3471
+ static readonly MaxContent: MinSizing;
3472
+
3473
+ static readonly MinContent: MinSizing;
3474
+ }
3475
+
3476
+ declare class NSCFontDescriptors extends NSObject implements NSMutableCopying {
3477
+
3478
+ static alloc(): NSCFontDescriptors; // inherited from NSObject
3479
+
3480
+ static new(): NSCFontDescriptors; // inherited from NSObject
3481
+
3482
+ constructor(o: { family: string; });
3483
+
3484
+ initWithFamily(family: string): this;
3485
+
3486
+ mutableCopyWithZone(zone: interop.Pointer | interop.Reference<any>): any;
3487
+
3488
+ setFontStyle(value: string): void;
3489
+
3490
+ setFontWeight(value: string): void;
3491
+
3492
+ update(value: string): void;
3493
+ }
3494
+
3495
+ declare const enum NSCFontDisplay {
3496
+
3497
+ Auto = 0,
3498
+
3499
+ Block = 1,
3500
+
3501
+ Fallback = 2,
3502
+
3503
+ Optional = 3,
3504
+
3505
+ Swap = 4
3506
+ }
3507
+
3508
+ declare class NSCFontFace extends NSObject {
3509
+
3510
+ static alloc(): NSCFontFace; // inherited from NSObject
3511
+
3512
+ static importFromRemoteWithUrlLoadCallback(url: string, load: boolean, callback: (p1: NSArray<NSCFontFace>, p2: string) => void): void;
3513
+
3514
+ static loadFromStyleWithStyle(style: string): NSCFontFace;
3515
+
3516
+ static new(): NSCFontFace; // inherited from NSObject
3517
+
3518
+ readonly ascentOverride: string;
3519
+
3520
+ readonly descentOverride: string;
3521
+
3522
+ display: NSCFontDisplay;
3523
+
3524
+ readonly family: string;
3525
+
3526
+ readonly font: any;
3527
+
3528
+ readonly fontData: NSData;
3529
+
3530
+ status: NSCFontFaceStatus;
3531
+
3532
+ style: string;
3533
+
3534
+ weight: NSCFontWeight;
3535
+
3536
+ constructor();
3537
+
3538
+ constructor(o: { data: string; });
3539
+
3540
+ constructor(o: { family: string; });
3541
+
3542
+ constructor(o: { family: string; data: NSData; });
3543
+
3544
+ constructor(o: { family: string; owner: MasonStyle; });
3545
+
3546
+ constructor(o: { family: string; source: string; });
3547
+
3548
+ init(family: string, source: string, descriptors: NSCFontDescriptors): this;
3549
+
3550
+ initData(family: string, data: NSData, descriptors: NSCFontDescriptors): this;
3551
+
3552
+ initWithFamily(family: string): this;
3553
+
3554
+ initWithFamilyData(family: string, source: NSData): this;
3555
+
3556
+ initWithFamilyOwner(family: string, style: MasonStyle): this;
3557
+
3558
+ initWithFamilySource(family: string, source: string): this;
3559
+
3560
+ load(callback: (p1: string) => void): void;
3561
+
3562
+ setFontDisplayWithValue(value: string): void;
3563
+
3564
+ setFontStyleWithValueAngle(value: string, angle: string): void;
3565
+
3566
+ setFontWeightWithValue(value: string): void;
3567
+
3568
+ updateDescriptorWithValue(value: string): void;
3569
+ }
3570
+
3571
+ declare class NSCFontFaceSet extends NSObject {
3572
+
3573
+ static alloc(): NSCFontFaceSet; // inherited from NSObject
3574
+
3575
+ static new(): NSCFontFaceSet; // inherited from NSObject
3576
+
3577
+ onStatus: (p1: NSCFontFaceSetStatus) => void;
3578
+
3579
+ readonly size: number;
3580
+
3581
+ status: NSCFontFaceSetStatus;
3582
+
3583
+ static readonly instance: NSCFontFaceSet;
3584
+
3585
+ add(font: NSCFontFace): void;
3586
+
3587
+ array(): NSArray<any>;
3588
+
3589
+ check(font: string, text: string): boolean;
3590
+
3591
+ clear(): void;
3592
+
3593
+ delete(font: NSCFontFace): void;
3594
+
3595
+ get(fontFamily: string): NSCFontFace;
3596
+
3597
+ getOrNil(fontFamily: string): NSCFontFace;
3598
+
3599
+ iter(): NSEnumerator<any>;
3600
+
3601
+ load(font: string, text: string, callback: (p1: NSArray<NSCFontFace>, p2: string) => void): void;
3602
+ }
3603
+
3604
+ declare const enum NSCFontFaceSetStatus {
3605
+
3606
+ Loading = 0,
3607
+
3608
+ Loaded = 1
3609
+ }
3610
+
3611
+ declare const enum NSCFontFaceStatus {
3612
+
3613
+ Unloaded = 0,
3614
+
3615
+ Loading = 1,
3616
+
3617
+ Loaded = 2,
3618
+
3619
+ Error = 3
3620
+ }
3621
+
3622
+ declare const enum NSCFontWeight {
3623
+
3624
+ Thin = 0,
3625
+
3626
+ ExtraLight = 1,
3627
+
3628
+ Light = 2,
3629
+
3630
+ Normal = 3,
3631
+
3632
+ Medium = 4,
3633
+
3634
+ SemiBold = 5,
3635
+
3636
+ Bold = 6,
3637
+
3638
+ ExtraBold = 7,
3639
+
3640
+ Black = 8
3641
+ }
3642
+
3643
+ declare class NSCMason extends NSObject {
3644
+
3645
+ static alloc(): NSCMason; // inherited from NSObject
3646
+
3647
+ static new(): NSCMason; // inherited from NSObject
3648
+
3649
+ static setShared(value: NSCMason): void;
3650
+
3651
+ htmlParser: MasonHTMLParser;
3652
+
3653
+ readonly nativePtr: interop.Pointer | interop.Reference<any>;
3654
+
3655
+ preflight: boolean;
3656
+
3657
+ static readonly scale: number;
3658
+
3659
+ static shared: NSCMason;
3660
+
3661
+ addEventListener(node: MasonNode, event: string, listener: (p1: MasonEvent) => void): NSUUID;
3662
+
3663
+ clear(): void;
3664
+
3665
+ configureStyleForView(view: UIView, block: (p1: MasonStyle) => void): void;
3666
+
3667
+ createBr(): MasonBr;
3668
+
3669
+ createButton(): MasonButton;
3670
+
3671
+ createButtonNode(): MasonNode;
3672
+
3673
+ createDocument(): MasonDocument;
3674
+
3675
+ createImageNode(): MasonNode;
3676
+
3677
+ createImageView(): MasonImg;
3678
+
3679
+ createInput(type: MasonInputType): MasonInput;
3680
+
3681
+ createLineBreakNode(): MasonNode;
3682
+
3683
+ createListItem(): MasonLi;
3684
+
3685
+ createListItemNode(): MasonNode;
3686
+
3687
+ createListViewWithIsOrdered(isOrdered: boolean): MasonList;
3688
+
3689
+ createNode(): MasonNode;
3690
+
3691
+ createScrollView(): MasonScroll;
3692
+
3693
+ createTextArea(): MasonTextArea;
3694
+
3695
+ createTextNode(): MasonNode;
3696
+
3697
+ createTextView(): MasonText;
3698
+
3699
+ createTextViewWithType(type: MasonTextType): MasonText;
3700
+
3701
+ createView(): MasonUIView;
3702
+
3703
+ dispatch(event: MasonEvent, node: MasonNode): void;
3704
+
3705
+ layoutForView(view: UIView): MasonLayout;
3706
+
3707
+ nodeForView(view: UIView, isLeaf: boolean): MasonNode;
3708
+
3709
+ printTree(node: MasonNode): void;
3710
+
3711
+ removeEventListener(node: MasonNode, event: string): boolean;
3712
+
3713
+ removeEventListenerId(node: MasonNode, event: string, id: NSUUID): boolean;
3714
+
3715
+ setDeviceScale(value: number): void;
3716
+
3717
+ styleForView(view: UIView): MasonStyle;
3718
+
3719
+ styleForViewOrNode(viewOrNode: any): MasonStyle;
3720
+ }
3721
+
3722
+ interface NodeArray {
3723
+ array: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>;
3724
+ length: number;
3725
+ }
3726
+ declare var NodeArray: interop.StructType<NodeArray>;
3727
+
3728
+ declare const enum PseudoState {
3729
+
3730
+ Default = 0,
3731
+
3732
+ Hover = 1,
3733
+
3734
+ Active = 2,
3735
+
3736
+ Focus = 4,
3737
+
3738
+ FocusWithin = 8,
3739
+
3740
+ FocusVisible = 16,
3741
+
3742
+ Disabled = 64,
3743
+
3744
+ Checked = 128
3745
+ }
3746
+
3747
+ declare class TrackSizingFunction extends NSObject {
3748
+
3749
+ static AutoRepeat(gridTrackRepetition: MasonGridTrackRepetition, value: NSArray<MinMax> | MinMax[]): TrackSizingFunction;
3750
+
3751
+ static Single(value: MinMax): TrackSizingFunction;
3752
+
3753
+ static alloc(): TrackSizingFunction; // inherited from NSObject
3754
+
3755
+ static new(): TrackSizingFunction; // inherited from NSObject
3756
+
3757
+ readonly cssValue: string;
3758
+
3759
+ readonly isRepeating: boolean;
3760
+
3761
+ readonly value: any;
3762
+ }
3763
+
3764
+ declare const enum TransformOpType {
3765
+
3766
+ None = 0,
3767
+
3768
+ Translate = 1,
3769
+
3770
+ TranslateX = 2,
3771
+
3772
+ TranslateY = 3,
3773
+
3774
+ Scale = 4,
3775
+
3776
+ ScaleX = 5,
3777
+
3778
+ ScaleY = 6,
3779
+
3780
+ Rotate = 7,
3781
+
3782
+ SkewX = 8,
3783
+
3784
+ SkewY = 9
3785
+ }
3786
+
3787
+ declare function mason_clear(mason: interop.Pointer | interop.Reference<any>): void;
3788
+
3789
+ declare function mason_get_buffer(mason: interop.Pointer | interop.Reference<any>, handle: number): interop.Pointer | interop.Reference<any>;
3790
+
3791
+ declare function mason_get_preflight(): boolean;
3792
+
3793
+ declare function mason_init(): interop.Pointer | interop.Reference<any>;
3794
+
3795
+ declare function mason_node_add_child(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, child: interop.Pointer | interop.Reference<any>): void;
3796
+
3797
+ declare function mason_node_add_child_at(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, child: interop.Pointer | interop.Reference<any>, index: number): void;
3798
+
3799
+ declare function mason_node_add_children(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, children: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>, children_size: number): void;
3800
+
3801
+ declare function mason_node_array_destroy(array: interop.Pointer | interop.Reference<NodeArray>): void;
3802
+
3803
+ declare function mason_node_clear_segments(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): void;
3804
+
3805
+ declare function mason_node_compute(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): void;
3806
+
3807
+ declare function mason_node_compute_and_layout(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, layout: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<number>, p2: number) => interop.Pointer | interop.Reference<any>>): interop.Pointer | interop.Reference<any>;
3808
+
3809
+ declare function mason_node_compute_max_content(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): void;
3810
+
3811
+ declare function mason_node_compute_max_content_and_layout(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, layout: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<number>, p2: number) => interop.Pointer | interop.Reference<any>>): interop.Pointer | interop.Reference<any>;
3812
+
3813
+ declare function mason_node_compute_min_content(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): void;
3814
+
3815
+ declare function mason_node_compute_min_content_and_layout(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, layout: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<number>, p2: number) => interop.Pointer | interop.Reference<any>>): interop.Pointer | interop.Reference<any>;
3816
+
3817
+ declare function mason_node_compute_wh(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, width: number, height: number): void;
3818
+
3819
+ declare function mason_node_compute_wh_and_layout(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, width: number, height: number, layout: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<number>, p2: number) => interop.Pointer | interop.Reference<any>>): interop.Pointer | interop.Reference<any>;
3820
+
3821
+ declare function mason_node_destroy(node: interop.Pointer | interop.Reference<any>): void;
3822
+
3823
+ declare function mason_node_dirty(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): boolean;
3824
+
3825
+ declare function mason_node_get_child_at(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, index: number): interop.Pointer | interop.Reference<any>;
3826
+
3827
+ declare function mason_node_get_children(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<NodeArray>;
3828
+
3829
+ declare function mason_node_get_float_rects(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, callback: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<number>) => interop.Pointer | interop.Reference<any>>): interop.Pointer | interop.Reference<any>;
3830
+
3831
+ declare function mason_node_get_float_rects_buffer(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<CMasonBuffer>;
3832
+
3833
+ declare function mason_node_get_pseudo_states(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): number;
3834
+
3835
+ declare function mason_node_get_pseudo_style_buffer(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, flags: number, out_len: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<any>;
3836
+
3837
+ declare function mason_node_get_pseudo_style_buffer_apple(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, flags: number): interop.Pointer | interop.Reference<any>;
3838
+
3839
+ declare function mason_node_get_state_buffer(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, out_len: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<any>;
3840
+
3841
+ declare function mason_node_get_state_buffer_mut(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, out_len: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<any>;
3842
+
3843
+ declare function mason_node_has_pseudo_state(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, flag: number): boolean;
3844
+
3845
+ declare function mason_node_insert_child_after(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, child: interop.Pointer | interop.Reference<any>, reference: interop.Pointer | interop.Reference<any>): void;
3846
+
3847
+ declare function mason_node_insert_child_before(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, child: interop.Pointer | interop.Reference<any>, reference: interop.Pointer | interop.Reference<any>): void;
3848
+
3849
+ declare function mason_node_is_children_same(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, children: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>, children_size: number): boolean;
3850
+
3851
+ declare function mason_node_is_equal(node_a: interop.Pointer | interop.Reference<any>, node_b: interop.Pointer | interop.Reference<any>): boolean;
3852
+
3853
+ declare function mason_node_layout(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, layout: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<number>, p2: number) => interop.Pointer | interop.Reference<any>>): interop.Pointer | interop.Reference<any>;
3854
+
3855
+ declare function mason_node_mark_dirty(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): void;
3856
+
3857
+ declare function mason_node_new_button_node(mason: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3858
+
3859
+ declare function mason_node_new_button_node_with_context(mason: interop.Pointer | interop.Reference<any>, measure_data: interop.Pointer | interop.Reference<any>, measure: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>, p2: number, p3: number, p4: number, p5: number) => number>): interop.Pointer | interop.Reference<any>;
3860
+
3861
+ declare function mason_node_new_image_node(mason: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3862
+
3863
+ declare function mason_node_new_line_break_node(mason: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3864
+
3865
+ declare function mason_node_new_line_break_node_with_context(mason: interop.Pointer | interop.Reference<any>, measure_data: interop.Pointer | interop.Reference<any>, measure: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>, p2: number, p3: number, p4: number, p5: number) => number>): interop.Pointer | interop.Reference<any>;
3866
+
3867
+ declare function mason_node_new_list_item_node(mason: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3868
+
3869
+ declare function mason_node_new_list_item_node_with_context(mason: interop.Pointer | interop.Reference<any>, measure_data: interop.Pointer | interop.Reference<any>, measure: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>, p2: number, p3: number, p4: number, p5: number) => number>): interop.Pointer | interop.Reference<any>;
3870
+
3871
+ declare function mason_node_new_node(mason: interop.Pointer | interop.Reference<any>, anonymous: boolean): interop.Pointer | interop.Reference<any>;
3872
+
3873
+ declare function mason_node_new_node_with_children(mason: interop.Pointer | interop.Reference<any>, children: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>, children_size: number): interop.Pointer | interop.Reference<any>;
3874
+
3875
+ declare function mason_node_new_node_with_context(mason: interop.Pointer | interop.Reference<any>, measure_data: interop.Pointer | interop.Reference<any>, measure: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>, p2: number, p3: number, p4: number, p5: number) => number>): interop.Pointer | interop.Reference<any>;
3876
+
3877
+ declare function mason_node_new_text_node(mason: interop.Pointer | interop.Reference<any>, anonymous: boolean): interop.Pointer | interop.Reference<any>;
3878
+
3879
+ declare function mason_node_new_text_node_with_children(mason: interop.Pointer | interop.Reference<any>, children: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>, children_size: number): interop.Pointer | interop.Reference<any>;
3880
+
3881
+ declare function mason_node_new_text_node_with_context(mason: interop.Pointer | interop.Reference<any>, measure_data: interop.Pointer | interop.Reference<any>, measure: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>, p2: number, p3: number, p4: number, p5: number) => number>): interop.Pointer | interop.Reference<any>;
3882
+
3883
+ declare function mason_node_prepare_pseudo_style_buffer(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, flags: number, out_len: interop.Pointer | interop.Reference<number>): interop.Pointer | interop.Reference<any>;
3884
+
3885
+ declare function mason_node_prepare_pseudo_style_buffer_apple(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, flags: number): interop.Pointer | interop.Reference<any>;
3886
+
3887
+ declare function mason_node_prepend(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, child: interop.Pointer | interop.Reference<any>): void;
3888
+
3889
+ declare function mason_node_prepend_children(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, children: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>, children_size: number): void;
3890
+
3891
+ declare function mason_node_release_float_rects_buffer(buffer: interop.Pointer | interop.Reference<CMasonBuffer>): void;
3892
+
3893
+ declare function mason_node_remove_child(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, child: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3894
+
3895
+ declare function mason_node_remove_child_at(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, index: number): interop.Pointer | interop.Reference<any>;
3896
+
3897
+ declare function mason_node_remove_children(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): void;
3898
+
3899
+ declare function mason_node_remove_context(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): void;
3900
+
3901
+ declare function mason_node_replace_child_at(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, child: interop.Pointer | interop.Reference<any>, index: number): interop.Pointer | interop.Reference<any>;
3902
+
3903
+ declare function mason_node_set_apple_node(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, apple_node: interop.Pointer | interop.Reference<any>): void;
3904
+
3905
+ declare function mason_node_set_children(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, children: interop.Pointer | interop.Reference<interop.Pointer | interop.Reference<any>>, children_size: number): void;
3906
+
3907
+ declare function mason_node_set_context(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, measure_data: interop.Pointer | interop.Reference<any>, measure: interop.FunctionReference<(p1: interop.Pointer | interop.Reference<any>, p2: number, p3: number, p4: number, p5: number) => number>): void;
3908
+
3909
+ declare function mason_node_set_pseudo_states(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, flags: number): void;
3910
+
3911
+ declare function mason_print_tree(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): void;
3912
+
3913
+ declare function mason_release(mason: interop.Pointer | interop.Reference<any>): void;
3914
+
3915
+ declare function mason_set_device_scale(mason: interop.Pointer | interop.Reference<any>, scale: number): void;
3916
+
3917
+ declare function mason_set_preflight(mason: interop.Pointer | interop.Reference<any>, enabled: boolean): void;
3918
+
3919
+ declare function mason_style_get_grid_area_css(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3920
+
3921
+ declare function mason_style_get_grid_auto_columns_css(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3922
+
3923
+ declare function mason_style_get_grid_auto_rows_css(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3924
+
3925
+ declare function mason_style_get_grid_column_css(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3926
+
3927
+ declare function mason_style_get_grid_column_end_css(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3928
+
3929
+ declare function mason_style_get_grid_column_start_css(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3930
+
3931
+ declare function mason_style_get_grid_row_css(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3932
+
3933
+ declare function mason_style_get_grid_row_end_css(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3934
+
3935
+ declare function mason_style_get_grid_row_start_css(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3936
+
3937
+ declare function mason_style_get_grid_template_areas_css(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3938
+
3939
+ declare function mason_style_get_grid_template_columns_css(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3940
+
3941
+ declare function mason_style_get_grid_template_rows_css(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3942
+
3943
+ declare function mason_style_get_style_buffer(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<CMasonBuffer>;
3944
+
3945
+ declare function mason_style_get_style_buffer_apple(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): interop.Pointer | interop.Reference<any>;
3946
+
3947
+ declare function mason_style_prepare_style_for_mut(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>): void;
3948
+
3949
+ declare function mason_style_release_style_buffer(buffer: interop.Pointer | interop.Reference<CMasonBuffer>): void;
3950
+
3951
+ declare function mason_style_set_with_values(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, display: number, position: number, direction: number, flex_direction: number, flex_wrap: number, overflow: number, align_items: number, align_self: number, align_content: number, justify_items: number, justify_self: number, justify_content: number, inset_left_type: number, inset_left_value: number, inset_right_type: number, inset_right_value: number, inset_top_type: number, inset_top_value: number, inset_bottom_type: number, inset_bottom_value: number, margin_left_type: number, margin_left_value: number, margin_right_type: number, margin_right_value: number, margin_top_type: number, margin_top_value: number, margin_bottom_type: number, margin_bottom_value: number, padding_left_type: number, padding_left_value: number, padding_right_type: number, padding_right_value: number, padding_top_type: number, padding_top_value: number, padding_bottom_type: number, padding_bottom_value: number, border_left_type: number, border_left_value: number, border_right_type: number, border_right_value: number, border_top_type: number, border_top_value: number, border_bottom_type: number, border_bottom_value: number, flex_grow: number, flex_shrink: number, flex_basis_type: number, flex_basis_value: number, width_type: number, width_value: number, height_type: number, height_value: number, min_width_type: number, min_width_value: number, min_height_type: number, min_height_value: number, max_width_type: number, max_width_value: number, max_height_type: number, max_height_value: number, gap_row_type: number, gap_row_value: number, gap_column_type: number, gap_column_value: number, aspect_ratio: number, grid_auto_rows: string | interop.Pointer | interop.Reference<any>, grid_auto_columns: string | interop.Pointer | interop.Reference<any>, grid_auto_flow: number, grid_column: string | interop.Pointer | interop.Reference<any>, grid_column_start: string | interop.Pointer | interop.Reference<any>, grid_column_end: string | interop.Pointer | interop.Reference<any>, grid_row: string | interop.Pointer | interop.Reference<any>, grid_row_start: string | interop.Pointer | interop.Reference<any>, grid_row_end: string | interop.Pointer | interop.Reference<any>, grid_template_rows: string | interop.Pointer | interop.Reference<any>, grid_template_columns: string | interop.Pointer | interop.Reference<any>, overflow_x: number, overflow_y: number, scrollbar_width: number, text_align: number, box_sizing: number, grid_area: string | interop.Pointer | interop.Reference<any>, grid_template_areas: string | interop.Pointer | interop.Reference<any>): void;
3952
+
3953
+ declare function mason_style_update_non_buffer_data(mason: interop.Pointer | interop.Reference<any>, node: interop.Pointer | interop.Reference<any>, grid_auto_rows: string | interop.Pointer | interop.Reference<any>, grid_auto_columns: string | interop.Pointer | interop.Reference<any>, grid_column: string | interop.Pointer | interop.Reference<any>, grid_column_start: string | interop.Pointer | interop.Reference<any>, grid_column_end: string | interop.Pointer | interop.Reference<any>, grid_row: string | interop.Pointer | interop.Reference<any>, grid_row_start: string | interop.Pointer | interop.Reference<any>, grid_row_end: string | interop.Pointer | interop.Reference<any>, grid_template_rows: string | interop.Pointer | interop.Reference<any>, grid_template_columns: string | interop.Pointer | interop.Reference<any>, grid_area: string | interop.Pointer | interop.Reference<any>, grid_template_areas: string | interop.Pointer | interop.Reference<any>): void;
3954
+
3955
+ declare function mason_util_create_track_sizing_function_with_type_value(track_type: number, track_value: number): CMasonMinMax;
3956
+
3957
+ declare function mason_util_destroy_string(string: string | interop.Pointer | interop.Reference<any>): void;