@meursyphus/flitter 0.0.1

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 (6) hide show
  1. package/index.cjs +18605 -0
  2. package/index.d.cts +5051 -0
  3. package/index.d.ts +5051 -0
  4. package/index.global.js +20064 -0
  5. package/index.js +18605 -0
  6. package/package.json +56 -0
package/index.d.ts ADDED
@@ -0,0 +1,5051 @@
1
+ import * as src from 'src';
2
+
3
+ type PaintContext = {
4
+ createSvgEl: (tagName: keyof SVGElementTagNameMap) => SVGElement;
5
+ appendSvgEl: (el: SVGElement) => void;
6
+ insertSvgEl: (el: SVGElement, index: number) => void;
7
+ isOnBrowser: boolean;
8
+ };
9
+ type VoidCallback = () => void;
10
+ type Nullable = undefined | null;
11
+
12
+ declare abstract class Data {
13
+ equals(_other: Data): boolean;
14
+ }
15
+
16
+ declare abstract class Calculable extends Data {
17
+ plus(_other: Calculable): Calculable;
18
+ minus(other: Calculable): Calculable;
19
+ multiply(_value: number): Calculable;
20
+ }
21
+
22
+ type OffsetProps = {
23
+ x: number;
24
+ y: number;
25
+ };
26
+ declare class Offset$1 extends Calculable {
27
+ readonly x: number;
28
+ readonly y: number;
29
+ constructor({ x, y }: OffsetProps);
30
+ static raw({ x, y }: {
31
+ x: number;
32
+ y: number;
33
+ }): Offset$1;
34
+ static zero(): Offset$1;
35
+ plus({ x, y }: Offset$1): Offset$1;
36
+ multiply(value: number): Offset$1;
37
+ equals(other: Offset$1): boolean;
38
+ minus(other: Offset$1): Offset$1;
39
+ }
40
+
41
+ declare class Rect {
42
+ left: number;
43
+ top: number;
44
+ right: number;
45
+ bottom: number;
46
+ private constructor();
47
+ get width(): number;
48
+ get height(): number;
49
+ get shortestSide(): number;
50
+ get longestSide(): number;
51
+ get topLeft(): Offset$1;
52
+ get topCenter(): Offset$1;
53
+ get topRight(): Offset$1;
54
+ get center(): Offset$1;
55
+ static fromLTRB({ left, top, right, bottom, }: {
56
+ left: number;
57
+ top: number;
58
+ right: number;
59
+ bottom: number;
60
+ }): Rect;
61
+ static fromLTWH({ left, top, width, height, }: {
62
+ left: number;
63
+ top: number;
64
+ width: number;
65
+ height: number;
66
+ }): Rect;
67
+ static fromCircle({ center, radius }: {
68
+ center: Offset$1;
69
+ radius: number;
70
+ }): Rect;
71
+ static fromCenter({ center, width, height, }: {
72
+ center: Offset$1;
73
+ width: number;
74
+ height: number;
75
+ }): Rect;
76
+ static fromPoints(a: Offset$1, b: Offset$1): Rect;
77
+ inflate(delta: number): Rect;
78
+ deflate(delta: number): Rect;
79
+ }
80
+
81
+ type SizeProps = {
82
+ width: number;
83
+ height: number;
84
+ };
85
+ declare class Size {
86
+ readonly width: number;
87
+ readonly height: number;
88
+ constructor({ width, height }: SizeProps);
89
+ equal(other: Size): boolean;
90
+ static zero: Size;
91
+ static maximum(): Size;
92
+ static infinite: Size;
93
+ get isFinite(): boolean;
94
+ get shortest(): number;
95
+ get longest(): number;
96
+ minus(other: Size): Offset$1;
97
+ }
98
+
99
+ declare enum TextDirection {
100
+ rtl = "rtl",
101
+ ltr = "ltr"
102
+ }
103
+
104
+ declare class Alignment extends Calculable {
105
+ x: number;
106
+ y: number;
107
+ plus(other: Alignment): Alignment;
108
+ multiply(value: number): Alignment;
109
+ equals(other: Alignment): boolean;
110
+ constructor({ x, y }: {
111
+ x: number;
112
+ y: number;
113
+ });
114
+ /**
115
+ * @deprecated The method should not be used
116
+ */
117
+ equal(other: Alignment): boolean;
118
+ add(target: Alignment): Alignment;
119
+ alongOffset(other: Offset$1): Offset$1;
120
+ alongSize(other: Size): Offset$1;
121
+ withRect(rect: Rect): Offset$1;
122
+ inscribe(size: Size, rect: Rect): Rect;
123
+ static lerp({ start, end, t, }: {
124
+ start?: Alignment;
125
+ end?: Alignment;
126
+ t: number;
127
+ }): Alignment | undefined;
128
+ getOffset({ target, current, }: {
129
+ target: {
130
+ width: number;
131
+ height: number;
132
+ };
133
+ current: {
134
+ width: number;
135
+ height: number;
136
+ };
137
+ }): Offset$1;
138
+ static of({ x, y }: {
139
+ x: number;
140
+ y: number;
141
+ }): Alignment;
142
+ static topLeft: Alignment;
143
+ static topCenter: Alignment;
144
+ static topRight: Alignment;
145
+ static centerLeft: Alignment;
146
+ static center: Alignment;
147
+ static centerRight: Alignment;
148
+ static bottomLeft: Alignment;
149
+ static bottomCenter: Alignment;
150
+ static bottomRight: Alignment;
151
+ resolve(_?: TextDirection): this;
152
+ }
153
+
154
+ type EdgeInsetsProps = {
155
+ top: number;
156
+ bottom: number;
157
+ left: number;
158
+ right: number;
159
+ };
160
+ declare class EdgeInsetsGeometry extends Calculable {
161
+ readonly top: number;
162
+ readonly bottom: number;
163
+ readonly left: number;
164
+ readonly right: number;
165
+ plus(other: EdgeInsetsGeometry): EdgeInsetsGeometry;
166
+ multiply(value: number): EdgeInsetsGeometry;
167
+ equals(other: EdgeInsetsGeometry): boolean;
168
+ /**
169
+ * @deprecated The method should not be used
170
+ * Instead use elquals
171
+ */
172
+ eqaul(other: EdgeInsetsGeometry): boolean;
173
+ get horizontal(): number;
174
+ get vertical(): number;
175
+ constructor({ top, bottom, left, right }: EdgeInsetsProps);
176
+ deflateRect(rect: Rect): Rect;
177
+ add(outer: EdgeInsetsGeometry): EdgeInsetsGeometry;
178
+ }
179
+ declare class EdgeInsets extends EdgeInsetsGeometry {
180
+ static all(value: number): EdgeInsets;
181
+ static symmetric({ horizontal, vertical, }: {
182
+ horizontal?: number;
183
+ vertical?: number;
184
+ }): EdgeInsets;
185
+ static only({ top, bottom, left, right, }: {
186
+ top?: number;
187
+ bottom?: number;
188
+ left?: number;
189
+ right?: number;
190
+ }): EdgeInsets;
191
+ static fromLTRB({ left, right, top, bottom, }: {
192
+ left: number;
193
+ right: number;
194
+ top: number;
195
+ bottom: number;
196
+ }): EdgeInsets;
197
+ }
198
+
199
+ type ConstraintsProps = {
200
+ minWidth?: number;
201
+ maxWidth?: number;
202
+ minHeight?: number;
203
+ maxHeight?: number;
204
+ };
205
+ declare class Constraints extends Data {
206
+ minWidth: number;
207
+ maxWidth: number;
208
+ minHeight: number;
209
+ maxHeight: number;
210
+ constructor({ maxHeight, maxWidth, minHeight, minWidth, }?: ConstraintsProps);
211
+ static lerp(a: Constraints, b: Constraints, t: number): Constraints;
212
+ static expand({ width, height, }?: {
213
+ width?: number;
214
+ height?: number;
215
+ }): Constraints;
216
+ static zero(): Constraints;
217
+ static loose(size: {
218
+ width: number;
219
+ height: number;
220
+ }): Constraints;
221
+ static tight({ width, height }: {
222
+ width: number;
223
+ height: number;
224
+ }): Constraints;
225
+ static tightFor({ width, height }: {
226
+ width?: number;
227
+ height?: number;
228
+ }): Constraints;
229
+ enforce(parent: Constraints): Constraints;
230
+ loosen(): Constraints;
231
+ constrain({ width, height }: Size): Size;
232
+ normalize(): Constraints;
233
+ getMax(key: "width" | "height"): number;
234
+ getMin(key: "width" | "height"): number;
235
+ get hasTightWidth(): boolean;
236
+ get hasTightHeight(): boolean;
237
+ get isTight(): boolean;
238
+ get hasBoundedWidth(): boolean;
239
+ get hasBoundedHeight(): boolean;
240
+ get isUnbounded(): boolean;
241
+ get hasInfiniteWidth(): boolean;
242
+ get hasInfiniteHeight(): boolean;
243
+ copyWith({ maxHeight, maxWidth, minHeight, minWidth, }: {
244
+ minWidth?: number;
245
+ minHeight?: number;
246
+ maxWidth?: number;
247
+ maxHeight?: number;
248
+ }): Constraints;
249
+ deflate(edge: EdgeInsets): Constraints;
250
+ constrainWidth(width?: number): number;
251
+ constrainHeight(height?: number): number;
252
+ tighten({ width, height }: {
253
+ width?: number;
254
+ height?: number;
255
+ }): Constraints;
256
+ widthConstraints(): Constraints;
257
+ heightConstraints(): Constraints;
258
+ get smallest(): Size;
259
+ get biggest(): Size;
260
+ /**
261
+ * @deprecated The method should not be used
262
+ */
263
+ equal(other: Constraints): boolean;
264
+ equals(other: Constraints): boolean;
265
+ private clampDouble;
266
+ }
267
+
268
+ declare class Gap {
269
+ x: number;
270
+ y: number;
271
+ constructor({ x, y }: {
272
+ x?: number;
273
+ y?: number;
274
+ });
275
+ static only({ x, y }: {
276
+ x?: number;
277
+ y?: number;
278
+ }): Gap;
279
+ static all(value: number): Gap;
280
+ }
281
+
282
+ declare class Radius$1 extends Calculable {
283
+ readonly x: number;
284
+ readonly y: number;
285
+ constructor(x: number, y: number);
286
+ static circular(r: number): Radius$1;
287
+ static elliptical({ x, y }: {
288
+ x: number;
289
+ y: number;
290
+ }): Radius$1;
291
+ static zero: Radius$1;
292
+ plus(other: Radius$1): Radius$1;
293
+ multiply(value: number): Radius$1;
294
+ equals(other: Radius$1): boolean;
295
+ /**
296
+ * @deprecated The method should not be used
297
+ */
298
+ equal(other: Radius$1): boolean;
299
+ clamp({ minimum, maximum }: {
300
+ minimum?: Radius$1;
301
+ maximum?: Radius$1;
302
+ }): Radius$1;
303
+ clampValues({ maximumX, maximumY, minimumX, minimumY, }: {
304
+ minimumX?: number;
305
+ minimumY?: number;
306
+ maximumX?: number;
307
+ maximumY?: number;
308
+ }): Radius$1;
309
+ }
310
+
311
+ type RRectProps = {
312
+ top: number;
313
+ left: number;
314
+ bottom: number;
315
+ right: number;
316
+ tlRadiusX: number;
317
+ tlRadiusY: number;
318
+ blRadiusX: number;
319
+ blRadiusY: number;
320
+ trRadiusX: number;
321
+ trRadiusY: number;
322
+ brRadiusX: number;
323
+ brRadiusY: number;
324
+ };
325
+ declare class RRect {
326
+ top: number;
327
+ left: number;
328
+ bottom: number;
329
+ right: number;
330
+ tlRadiusX: number;
331
+ tlRadiusY: number;
332
+ blRadiusX: number;
333
+ blRadiusY: number;
334
+ trRadiusX: number;
335
+ trRadiusY: number;
336
+ brRadiusX: number;
337
+ brRadiusY: number;
338
+ get width(): number;
339
+ get height(): number;
340
+ static fromLTRBXY({ left, top, right, bottom, radiusX, radiusY, }: {
341
+ left: number;
342
+ top: number;
343
+ right: number;
344
+ bottom: number;
345
+ radiusX: number;
346
+ radiusY: number;
347
+ }): RRect;
348
+ static fromLTRBR({ left, radius, top, right, bottom, }: {
349
+ left: number;
350
+ top: number;
351
+ right: number;
352
+ bottom: number;
353
+ radius: Radius$1;
354
+ }): RRect;
355
+ static fromRectXY({ radiusX, radiusY, rect, }: {
356
+ rect: Rect;
357
+ radiusX: number;
358
+ radiusY: number;
359
+ }): RRect;
360
+ static fromRecAndRadius({ radius, rect }: {
361
+ rect: Rect;
362
+ radius: Radius$1;
363
+ }): RRect;
364
+ static fromLTRBAndCorners({ left, right, bottom, top, topLeft, topRight, bottomLeft, bottomRight, }: {
365
+ left: number;
366
+ right: number;
367
+ bottom: number;
368
+ top: number;
369
+ topLeft?: Radius$1;
370
+ topRight?: Radius$1;
371
+ bottomLeft?: Radius$1;
372
+ bottomRight?: Radius$1;
373
+ }): RRect;
374
+ static fromRectAndCorners({ rect, topLeft, topRight, bottomLeft, bottomRight, }: {
375
+ rect: Rect;
376
+ topLeft?: Radius$1;
377
+ topRight?: Radius$1;
378
+ bottomLeft?: Radius$1;
379
+ bottomRight?: Radius$1;
380
+ }): RRect;
381
+ private constructor();
382
+ static raw({ top, left, bottom, right, tlRadiusX, tlRadiusY, blRadiusX, blRadiusY, trRadiusX, trRadiusY, brRadiusX, brRadiusY, }: RRectProps): RRect;
383
+ inflate(delta: number): RRect;
384
+ deflate(delta: number): RRect;
385
+ }
386
+
387
+ declare class BorderRadiusGeometry extends Calculable {
388
+ topLeft: Radius$1;
389
+ topRight: Radius$1;
390
+ bottomLeft: Radius$1;
391
+ bottomRight: Radius$1;
392
+ constructor({ topLeft, topRight, bottomLeft, bottomRight, }: {
393
+ topLeft: Radius$1;
394
+ topRight: Radius$1;
395
+ bottomLeft: Radius$1;
396
+ bottomRight: Radius$1;
397
+ });
398
+ static lerp(a: BorderRadiusGeometry, b: BorderRadiusGeometry, t: any): BorderRadiusGeometry;
399
+ equals(other: BorderRadiusGeometry): boolean;
400
+ /**
401
+ * @deprecated The method should not be used
402
+ */
403
+ equal(other: BorderRadiusGeometry): boolean;
404
+ toRRect(_rect: Rect): RRect;
405
+ }
406
+
407
+ declare class Path {
408
+ private _d;
409
+ getD(): string;
410
+ moveTo(point: Offset): this;
411
+ relativeMoveTo(point: Offset): this;
412
+ lineTo(point: Offset): this;
413
+ relativeLineTo(point: Offset): this;
414
+ quadraticBezierTo(props: {
415
+ controlPoint: Offset;
416
+ endPoint: Offset;
417
+ }): this;
418
+ relativeQuadraticBezierTo(props: {
419
+ controlPoint: Offset;
420
+ endPoint: Offset;
421
+ }): this;
422
+ cubicTo(props: {
423
+ endControlPoint: Offset;
424
+ startControlPoint: Offset;
425
+ endPoint: Offset;
426
+ }): this;
427
+ relativeCubicTo(props: {
428
+ endControlPoint: Offset;
429
+ startControlPoint: Offset;
430
+ endPoint: Offset;
431
+ }): this;
432
+ arcToPoint(props: {
433
+ endPoint: Offset;
434
+ rotation: number;
435
+ radius: Radius;
436
+ largeArc: boolean;
437
+ clockwise: boolean;
438
+ }): this;
439
+ relativeArcToPoint(props: {
440
+ endPoint: Offset;
441
+ rotation: number;
442
+ radius: Radius;
443
+ largeArc: boolean;
444
+ clockwise: boolean;
445
+ }): this;
446
+ addRect(rect: Rect): this;
447
+ addRRect(rRect: RRect, { clockwise }?: {
448
+ clockwise?: boolean;
449
+ }): this;
450
+ addDRRect({ inner, outer }: {
451
+ inner: RRect;
452
+ outer: RRect;
453
+ }): Path;
454
+ addOval(rect: Rect): this;
455
+ addPolygons(points: Offset[]): this;
456
+ close(): this;
457
+ private _quadraticBezierTo;
458
+ private _lineTo;
459
+ private _moveTo;
460
+ private _cubicTo;
461
+ private _arcToPoint;
462
+ }
463
+ type Offset = {
464
+ x: number;
465
+ y: number;
466
+ };
467
+ type Radius = {
468
+ x: number;
469
+ y: number;
470
+ };
471
+
472
+ declare enum MainAxisSize {
473
+ min = "min",
474
+ max = "max"
475
+ }
476
+ declare enum VerticalDirection {
477
+ up = "up",
478
+ down = "down"
479
+ }
480
+ declare enum MainAxisAlignment {
481
+ start = "start",
482
+ end = "end",
483
+ center = "center",
484
+ spaceBetween = "spaceBetween",
485
+ spaceAround = "spaceAround",
486
+ spaceEvenly = "spaceEvenly"
487
+ }
488
+ declare enum CrossAxisAlignment {
489
+ start = "start",
490
+ end = "end",
491
+ center = "center",
492
+ stretch = "stretch"
493
+ }
494
+ declare enum Axis {
495
+ horizontal = "horizontal",
496
+ vertical = "vertical"
497
+ }
498
+
499
+ declare class Matrix2 {
500
+ get storage(): Array4;
501
+ _m2storage: Array4;
502
+ constructor(arg1: number, arg2: number, arg3: number, arg4: number);
503
+ }
504
+
505
+ type Array4 = [number, number, number, number];
506
+
507
+ declare class Matrix3 {
508
+ get storage(): Array9;
509
+ _m3storage: Array9;
510
+ constructor(...args: Array9);
511
+ static zero(): Matrix3;
512
+ }
513
+
514
+ type Array9 = [
515
+ number,
516
+ number,
517
+ number,
518
+ number,
519
+ number,
520
+ number,
521
+ number,
522
+ number,
523
+ number
524
+ ];
525
+
526
+ interface Vector {
527
+ }
528
+
529
+ declare class Vector4 implements Vector {
530
+ _v4storage: [number, number, number, number];
531
+ get storage(): [number, number, number, number];
532
+ constructor(arg0: number, arg1: number, arg2: number, arg3: number);
533
+ static zero(): Vector4;
534
+ set xy(arg: Vector2);
535
+ set xz(arg: Vector2);
536
+ set xw(arg: Vector2);
537
+ set yx(arg: Vector2);
538
+ set yz(arg: Vector2);
539
+ set yw(arg: Vector2);
540
+ set zx(arg: Vector2);
541
+ set zy(arg: Vector2);
542
+ set zw(arg: Vector2);
543
+ set wx(arg: Vector2);
544
+ set wy(arg: Vector2);
545
+ set wz(arg: Vector2);
546
+ set xyz(arg: Vector3);
547
+ set xyw(arg: Vector3);
548
+ set xzy(arg: Vector3);
549
+ set xzw(arg: Vector3);
550
+ set xwy(arg: Vector3);
551
+ set xwz(arg: Vector3);
552
+ set yxz(arg: Vector3);
553
+ set yxw(arg: Vector3);
554
+ set yzx(arg: Vector3);
555
+ set yzw(arg: Vector3);
556
+ set ywx(arg: Vector3);
557
+ set ywz(arg: Vector3);
558
+ set zxy(arg: Vector3);
559
+ set zxw(arg: Vector3);
560
+ set zyx(arg: Vector3);
561
+ set zyw(arg: Vector3);
562
+ set zwx(arg: Vector3);
563
+ set zwy(arg: Vector3);
564
+ set wxy(arg: Vector3);
565
+ set wxz(arg: Vector3);
566
+ set wyx(arg: Vector3);
567
+ set wyz(arg: Vector3);
568
+ set wzx(arg: Vector3);
569
+ set wzy(arg: Vector3);
570
+ set xyzw(arg: Vector4);
571
+ set xywz(arg: Vector4);
572
+ set xzyw(arg: Vector4);
573
+ set xzwy(arg: Vector4);
574
+ set xwyz(arg: Vector4);
575
+ set xwzy(arg: Vector4);
576
+ set yxzw(arg: Vector4);
577
+ set yxwz(arg: Vector4);
578
+ set yzxw(arg: Vector4);
579
+ set yzwx(arg: Vector4);
580
+ set ywxz(arg: Vector4);
581
+ set ywzx(arg: Vector4);
582
+ set zxyw(arg: Vector4);
583
+ set zxwy(arg: Vector4);
584
+ set zyxw(arg: Vector4);
585
+ set zywx(arg: Vector4);
586
+ set zwxy(arg: Vector4);
587
+ set zwyx(arg: Vector4);
588
+ set wxyz(arg: Vector4);
589
+ set wxzy(arg: Vector4);
590
+ set wyxz(arg: Vector4);
591
+ set wyzx(arg: Vector4);
592
+ set wzxy(arg: Vector4);
593
+ set wzyx(arg: Vector4);
594
+ set r(arg: number);
595
+ set g(arg: number);
596
+ set b(arg: number);
597
+ set a(arg: number);
598
+ set s(arg: number);
599
+ set t(arg: number);
600
+ set p(arg: number);
601
+ set q(arg: number);
602
+ set x(arg: number);
603
+ set y(arg: number);
604
+ set z(arg: number);
605
+ set w(arg: number);
606
+ set rg(arg: Vector2);
607
+ set rb(arg: Vector2);
608
+ set ra(arg: Vector2);
609
+ set gr(arg: Vector2);
610
+ set gb(arg: Vector2);
611
+ set ga(arg: Vector2);
612
+ set br(arg: Vector2);
613
+ set bg(arg: Vector2);
614
+ set ba(arg: Vector2);
615
+ set ar(arg: Vector2);
616
+ set ag(arg: Vector2);
617
+ set ab(arg: Vector2);
618
+ set rgb(arg: Vector3);
619
+ set rga(arg: Vector3);
620
+ set rbg(arg: Vector3);
621
+ set rba(arg: Vector3);
622
+ set rag(arg: Vector3);
623
+ set rab(arg: Vector3);
624
+ set grb(arg: Vector3);
625
+ set gra(arg: Vector3);
626
+ set gbr(arg: Vector3);
627
+ set gba(arg: Vector3);
628
+ set gar(arg: Vector3);
629
+ set gab(arg: Vector3);
630
+ set brg(arg: Vector3);
631
+ set bra(arg: Vector3);
632
+ set bgr(arg: Vector3);
633
+ set bga(arg: Vector3);
634
+ set bar(arg: Vector3);
635
+ set bag(arg: Vector3);
636
+ set arg(arg: Vector3);
637
+ set arb(arg: Vector3);
638
+ set agr(arg: Vector3);
639
+ set agb(arg: Vector3);
640
+ set abr(arg: Vector3);
641
+ set abg(arg: Vector3);
642
+ set rgba(arg: Vector4);
643
+ set rgab(arg: Vector4);
644
+ set rbga(arg: Vector4);
645
+ set rbag(arg: Vector4);
646
+ set ragb(arg: Vector4);
647
+ set rabg(arg: Vector4);
648
+ set grba(arg: Vector4);
649
+ set grab(arg: Vector4);
650
+ set gbra(arg: Vector4);
651
+ set gbar(arg: Vector4);
652
+ set garb(arg: Vector4);
653
+ set gabr(arg: Vector4);
654
+ set brga(arg: Vector4);
655
+ set brag(arg: Vector4);
656
+ set bgra(arg: Vector4);
657
+ set bgar(arg: Vector4);
658
+ set barg(arg: Vector4);
659
+ set bagr(arg: Vector4);
660
+ set argb(arg: Vector4);
661
+ set arbg(arg: Vector4);
662
+ set agrb(arg: Vector4);
663
+ set agbr(arg: Vector4);
664
+ set abrg(arg: Vector4);
665
+ set abgr(arg: Vector4);
666
+ set st(arg: Vector2);
667
+ set sp(arg: Vector2);
668
+ set sq(arg: Vector2);
669
+ set ts(arg: Vector2);
670
+ set tp(arg: Vector2);
671
+ set tq(arg: Vector2);
672
+ set ps(arg: Vector2);
673
+ set pt(arg: Vector2);
674
+ set pq(arg: Vector2);
675
+ set qs(arg: Vector2);
676
+ set qt(arg: Vector2);
677
+ set qp(arg: Vector2);
678
+ set stp(arg: Vector3);
679
+ set stq(arg: Vector3);
680
+ set spt(arg: Vector3);
681
+ set spq(arg: Vector3);
682
+ set sqt(arg: Vector3);
683
+ set sqp(arg: Vector3);
684
+ set tsp(arg: Vector3);
685
+ set tsq(arg: Vector3);
686
+ set tps(arg: Vector3);
687
+ set tpq(arg: Vector3);
688
+ set tqs(arg: Vector3);
689
+ set tqp(arg: Vector3);
690
+ set pst(arg: Vector3);
691
+ set psq(arg: Vector3);
692
+ set pts(arg: Vector3);
693
+ set ptq(arg: Vector3);
694
+ set pqs(arg: Vector3);
695
+ set pqt(arg: Vector3);
696
+ set qst(arg: Vector3);
697
+ set qsp(arg: Vector3);
698
+ set qts(arg: Vector3);
699
+ set qtp(arg: Vector3);
700
+ set qps(arg: Vector3);
701
+ set qpt(arg: Vector3);
702
+ set stpq(arg: Vector4);
703
+ set stqp(arg: Vector4);
704
+ set sptq(arg: Vector4);
705
+ set spqt(arg: Vector4);
706
+ set sqtp(arg: Vector4);
707
+ set sqpt(arg: Vector4);
708
+ set tspq(arg: Vector4);
709
+ set tsqp(arg: Vector4);
710
+ set tpsq(arg: Vector4);
711
+ set tpqs(arg: Vector4);
712
+ set tqsp(arg: Vector4);
713
+ set tqps(arg: Vector4);
714
+ set pstq(arg: Vector4);
715
+ set psqt(arg: Vector4);
716
+ set ptsq(arg: Vector4);
717
+ set ptqs(arg: Vector4);
718
+ set pqst(arg: Vector4);
719
+ set pqts(arg: Vector4);
720
+ set qstp(arg: Vector4);
721
+ set qspt(arg: Vector4);
722
+ set qtsp(arg: Vector4);
723
+ set qtps(arg: Vector4);
724
+ set qpst(arg: Vector4);
725
+ set qpts(arg: Vector4);
726
+ get xx(): Vector2;
727
+ get xy(): Vector2;
728
+ get xz(): Vector2;
729
+ get xw(): Vector2;
730
+ get yx(): Vector2;
731
+ get yy(): Vector2;
732
+ get yz(): Vector2;
733
+ get yw(): Vector2;
734
+ get zx(): Vector2;
735
+ get zy(): Vector2;
736
+ get zz(): Vector2;
737
+ get zw(): Vector2;
738
+ get wx(): Vector2;
739
+ get wy(): Vector2;
740
+ get wz(): Vector2;
741
+ get ww(): Vector2;
742
+ get xxx(): Vector3;
743
+ get xxy(): Vector3;
744
+ get xxz(): Vector3;
745
+ get xxw(): Vector3;
746
+ get xyx(): Vector3;
747
+ get xyy(): Vector3;
748
+ get xyz(): Vector3;
749
+ get xyw(): Vector3;
750
+ get xzx(): Vector3;
751
+ get xzy(): Vector3;
752
+ get xzz(): Vector3;
753
+ get xzw(): Vector3;
754
+ get xwx(): Vector3;
755
+ get xwy(): Vector3;
756
+ get xwz(): Vector3;
757
+ get xww(): Vector3;
758
+ get yxx(): Vector3;
759
+ get yxy(): Vector3;
760
+ get yxz(): Vector3;
761
+ get yxw(): Vector3;
762
+ get yyx(): Vector3;
763
+ get yyy(): Vector3;
764
+ get yyz(): Vector3;
765
+ get yyw(): Vector3;
766
+ get yzx(): Vector3;
767
+ get yzy(): Vector3;
768
+ get yzz(): Vector3;
769
+ get yzw(): Vector3;
770
+ get ywx(): Vector3;
771
+ get ywy(): Vector3;
772
+ get ywz(): Vector3;
773
+ get yww(): Vector3;
774
+ get zxx(): Vector3;
775
+ get zxy(): Vector3;
776
+ get zxz(): Vector3;
777
+ get zxw(): Vector3;
778
+ get zyx(): Vector3;
779
+ get zyy(): Vector3;
780
+ get zyz(): Vector3;
781
+ get zyw(): Vector3;
782
+ get zzx(): Vector3;
783
+ get zzy(): Vector3;
784
+ get zzz(): Vector3;
785
+ get zzw(): Vector3;
786
+ get zwx(): Vector3;
787
+ get zwy(): Vector3;
788
+ get zwz(): Vector3;
789
+ get zww(): Vector3;
790
+ get wxx(): Vector3;
791
+ get wxy(): Vector3;
792
+ get wxz(): Vector3;
793
+ get wxw(): Vector3;
794
+ get wyx(): Vector3;
795
+ get wyy(): Vector3;
796
+ get wyz(): Vector3;
797
+ get wyw(): Vector3;
798
+ get wzx(): Vector3;
799
+ get wzy(): Vector3;
800
+ get wzz(): Vector3;
801
+ get wzw(): Vector3;
802
+ get wwx(): Vector3;
803
+ get wwy(): Vector3;
804
+ get wwz(): Vector3;
805
+ get www(): Vector3;
806
+ get xxxx(): Vector4;
807
+ get xxxy(): Vector4;
808
+ get xxxz(): Vector4;
809
+ get xxxw(): Vector4;
810
+ get xxyx(): Vector4;
811
+ get xxyy(): Vector4;
812
+ get xxyz(): Vector4;
813
+ get xxyw(): Vector4;
814
+ get xxzx(): Vector4;
815
+ get xxzy(): Vector4;
816
+ get xxzz(): Vector4;
817
+ get xxzw(): Vector4;
818
+ get xxwx(): Vector4;
819
+ get xxwy(): Vector4;
820
+ get xxwz(): Vector4;
821
+ get xxww(): Vector4;
822
+ get xyxx(): Vector4;
823
+ get xyxy(): Vector4;
824
+ get xyxz(): Vector4;
825
+ get xyxw(): Vector4;
826
+ get xyyx(): Vector4;
827
+ get xyyy(): Vector4;
828
+ get xyyz(): Vector4;
829
+ get xyyw(): Vector4;
830
+ get xyzx(): Vector4;
831
+ get xyzy(): Vector4;
832
+ get xyzz(): Vector4;
833
+ get xyzw(): Vector4;
834
+ get xywx(): Vector4;
835
+ get xywy(): Vector4;
836
+ get xywz(): Vector4;
837
+ get xyww(): Vector4;
838
+ get xzxx(): Vector4;
839
+ get xzxy(): Vector4;
840
+ get xzxz(): Vector4;
841
+ get xzxw(): Vector4;
842
+ get xzyx(): Vector4;
843
+ get xzyy(): Vector4;
844
+ get xzyz(): Vector4;
845
+ get xzyw(): Vector4;
846
+ get xzzx(): Vector4;
847
+ get xzzy(): Vector4;
848
+ get xzzz(): Vector4;
849
+ get xzzw(): Vector4;
850
+ get xzwx(): Vector4;
851
+ get xzwy(): Vector4;
852
+ get xzwz(): Vector4;
853
+ get xzww(): Vector4;
854
+ get xwxx(): Vector4;
855
+ get xwxy(): Vector4;
856
+ get xwxz(): Vector4;
857
+ get xwxw(): Vector4;
858
+ get xwyx(): Vector4;
859
+ get xwyy(): Vector4;
860
+ get xwyz(): Vector4;
861
+ get xwyw(): Vector4;
862
+ get xwzx(): Vector4;
863
+ get xwzy(): Vector4;
864
+ get xwzz(): Vector4;
865
+ get xwzw(): Vector4;
866
+ get xwwx(): Vector4;
867
+ get xwwy(): Vector4;
868
+ get xwwz(): Vector4;
869
+ get xwww(): Vector4;
870
+ get yxxx(): Vector4;
871
+ get yxxy(): Vector4;
872
+ get yxxz(): Vector4;
873
+ get yxxw(): Vector4;
874
+ get yxyx(): Vector4;
875
+ get yxyy(): Vector4;
876
+ get yxyz(): Vector4;
877
+ get yxyw(): Vector4;
878
+ get yxzx(): Vector4;
879
+ get yxzy(): Vector4;
880
+ get yxzz(): Vector4;
881
+ get yxzw(): Vector4;
882
+ get yxwx(): Vector4;
883
+ get yxwy(): Vector4;
884
+ get yxwz(): Vector4;
885
+ get yxww(): Vector4;
886
+ get yyxx(): Vector4;
887
+ get yyxy(): Vector4;
888
+ get yyxz(): Vector4;
889
+ get yyxw(): Vector4;
890
+ get yyyx(): Vector4;
891
+ get yyyy(): Vector4;
892
+ get yyyz(): Vector4;
893
+ get yyyw(): Vector4;
894
+ get yyzx(): Vector4;
895
+ get yyzy(): Vector4;
896
+ get yyzz(): Vector4;
897
+ get yyzw(): Vector4;
898
+ get yywx(): Vector4;
899
+ get yywy(): Vector4;
900
+ get yywz(): Vector4;
901
+ get yyww(): Vector4;
902
+ get yzxx(): Vector4;
903
+ get yzxy(): Vector4;
904
+ get yzxz(): Vector4;
905
+ get yzxw(): Vector4;
906
+ get yzyx(): Vector4;
907
+ get yzyy(): Vector4;
908
+ get yzyz(): Vector4;
909
+ get yzyw(): Vector4;
910
+ get yzzx(): Vector4;
911
+ get yzzy(): Vector4;
912
+ get yzzz(): Vector4;
913
+ get yzzw(): Vector4;
914
+ get yzwx(): Vector4;
915
+ get yzwy(): Vector4;
916
+ get yzwz(): Vector4;
917
+ get yzww(): Vector4;
918
+ get ywxx(): Vector4;
919
+ get ywxy(): Vector4;
920
+ get ywxz(): Vector4;
921
+ get ywxw(): Vector4;
922
+ get ywyx(): Vector4;
923
+ get ywyy(): Vector4;
924
+ get ywyz(): Vector4;
925
+ get ywyw(): Vector4;
926
+ get ywzx(): Vector4;
927
+ get ywzy(): Vector4;
928
+ get ywzz(): Vector4;
929
+ get ywzw(): Vector4;
930
+ get ywwx(): Vector4;
931
+ get ywwy(): Vector4;
932
+ get ywwz(): Vector4;
933
+ get ywww(): Vector4;
934
+ get zxxx(): Vector4;
935
+ get zxxy(): Vector4;
936
+ get zxxz(): Vector4;
937
+ get zxxw(): Vector4;
938
+ get zxyx(): Vector4;
939
+ get zxyy(): Vector4;
940
+ get zxyz(): Vector4;
941
+ get zxyw(): Vector4;
942
+ get zxzx(): Vector4;
943
+ get zxzy(): Vector4;
944
+ get zxzz(): Vector4;
945
+ get zxzw(): Vector4;
946
+ get zxwx(): Vector4;
947
+ get zxwy(): Vector4;
948
+ get zxwz(): Vector4;
949
+ get zxww(): Vector4;
950
+ get zyxx(): Vector4;
951
+ get zyxy(): Vector4;
952
+ get zyxz(): Vector4;
953
+ get zyxw(): Vector4;
954
+ get zyyx(): Vector4;
955
+ get zyyy(): Vector4;
956
+ get zyyz(): Vector4;
957
+ get zyyw(): Vector4;
958
+ get zyzx(): Vector4;
959
+ get zyzy(): Vector4;
960
+ get zyzz(): Vector4;
961
+ get zyzw(): Vector4;
962
+ get zywx(): Vector4;
963
+ get zywy(): Vector4;
964
+ get zywz(): Vector4;
965
+ get zyww(): Vector4;
966
+ get zzxx(): Vector4;
967
+ get zzxy(): Vector4;
968
+ get zzxz(): Vector4;
969
+ get zzxw(): Vector4;
970
+ get zzyx(): Vector4;
971
+ get zzyy(): Vector4;
972
+ get zzyz(): Vector4;
973
+ get zzyw(): Vector4;
974
+ get zzzx(): Vector4;
975
+ get zzzy(): Vector4;
976
+ get zzzz(): Vector4;
977
+ get zzzw(): Vector4;
978
+ get zzwx(): Vector4;
979
+ get zzwy(): Vector4;
980
+ get zzwz(): Vector4;
981
+ get zzww(): Vector4;
982
+ get zwxx(): Vector4;
983
+ get zwxy(): Vector4;
984
+ get zwxz(): Vector4;
985
+ get zwxw(): Vector4;
986
+ get zwyx(): Vector4;
987
+ get zwyy(): Vector4;
988
+ get zwyz(): Vector4;
989
+ get zwyw(): Vector4;
990
+ get zwzx(): Vector4;
991
+ get zwzy(): Vector4;
992
+ get zwzz(): Vector4;
993
+ get zwzw(): Vector4;
994
+ get zwwx(): Vector4;
995
+ get zwwy(): Vector4;
996
+ get zwwz(): Vector4;
997
+ get zwww(): Vector4;
998
+ get wxxx(): Vector4;
999
+ get wxxy(): Vector4;
1000
+ get wxxz(): Vector4;
1001
+ get wxxw(): Vector4;
1002
+ get wxyx(): Vector4;
1003
+ get wxyy(): Vector4;
1004
+ get wxyz(): Vector4;
1005
+ get wxyw(): Vector4;
1006
+ get wxzx(): Vector4;
1007
+ get wxzy(): Vector4;
1008
+ get wxzz(): Vector4;
1009
+ get wxzw(): Vector4;
1010
+ get wxwx(): Vector4;
1011
+ get wxwy(): Vector4;
1012
+ get wxwz(): Vector4;
1013
+ get wxww(): Vector4;
1014
+ get wyxx(): Vector4;
1015
+ get wyxy(): Vector4;
1016
+ get wyxz(): Vector4;
1017
+ get wyxw(): Vector4;
1018
+ get wyyx(): Vector4;
1019
+ get wyyy(): Vector4;
1020
+ get wyyz(): Vector4;
1021
+ get wyyw(): Vector4;
1022
+ get wyzx(): Vector4;
1023
+ get wyzy(): Vector4;
1024
+ get wyzz(): Vector4;
1025
+ get wyzw(): Vector4;
1026
+ get wywx(): Vector4;
1027
+ get wywy(): Vector4;
1028
+ get wywz(): Vector4;
1029
+ get wyww(): Vector4;
1030
+ get wzxx(): Vector4;
1031
+ get wzxy(): Vector4;
1032
+ get wzxz(): Vector4;
1033
+ get wzxw(): Vector4;
1034
+ get wzyx(): Vector4;
1035
+ get wzyy(): Vector4;
1036
+ get wzyz(): Vector4;
1037
+ get wzyw(): Vector4;
1038
+ get wzzx(): Vector4;
1039
+ get wzzy(): Vector4;
1040
+ get wzzz(): Vector4;
1041
+ get wzzw(): Vector4;
1042
+ get wzwx(): Vector4;
1043
+ get wzwy(): Vector4;
1044
+ get wzwz(): Vector4;
1045
+ get wzww(): Vector4;
1046
+ get wwxx(): Vector4;
1047
+ get wwxy(): Vector4;
1048
+ get wwxz(): Vector4;
1049
+ get wwxw(): Vector4;
1050
+ get wwyx(): Vector4;
1051
+ get wwyy(): Vector4;
1052
+ get wwyz(): Vector4;
1053
+ get wwyw(): Vector4;
1054
+ get wwzx(): Vector4;
1055
+ get wwzy(): Vector4;
1056
+ get wwzz(): Vector4;
1057
+ get wwzw(): Vector4;
1058
+ get wwwx(): Vector4;
1059
+ get wwwy(): Vector4;
1060
+ get wwwz(): Vector4;
1061
+ get wwww(): Vector4;
1062
+ get r(): number;
1063
+ get g(): number;
1064
+ get b(): number;
1065
+ get a(): number;
1066
+ get s(): number;
1067
+ get t(): number;
1068
+ get p(): number;
1069
+ get q(): number;
1070
+ get x(): number;
1071
+ get y(): number;
1072
+ get z(): number;
1073
+ get w(): number;
1074
+ get rr(): Vector2;
1075
+ get rg(): Vector2;
1076
+ get rb(): Vector2;
1077
+ get ra(): Vector2;
1078
+ get gr(): Vector2;
1079
+ get gg(): Vector2;
1080
+ get gb(): Vector2;
1081
+ get ga(): Vector2;
1082
+ get br(): Vector2;
1083
+ get bg(): Vector2;
1084
+ get bb(): Vector2;
1085
+ get ba(): Vector2;
1086
+ get ar(): Vector2;
1087
+ get ag(): Vector2;
1088
+ get ab(): Vector2;
1089
+ get aa(): Vector2;
1090
+ get rrr(): Vector3;
1091
+ get rrg(): Vector3;
1092
+ get rrb(): Vector3;
1093
+ get rra(): Vector3;
1094
+ get rgr(): Vector3;
1095
+ get rgg(): Vector3;
1096
+ get rgb(): Vector3;
1097
+ get rga(): Vector3;
1098
+ get rbr(): Vector3;
1099
+ get rbg(): Vector3;
1100
+ get rbb(): Vector3;
1101
+ get rba(): Vector3;
1102
+ get rar(): Vector3;
1103
+ get rag(): Vector3;
1104
+ get rab(): Vector3;
1105
+ get raa(): Vector3;
1106
+ get grr(): Vector3;
1107
+ get grg(): Vector3;
1108
+ get grb(): Vector3;
1109
+ get gra(): Vector3;
1110
+ get ggr(): Vector3;
1111
+ get ggg(): Vector3;
1112
+ get ggb(): Vector3;
1113
+ get gga(): Vector3;
1114
+ get gbr(): Vector3;
1115
+ get gbg(): Vector3;
1116
+ get gbb(): Vector3;
1117
+ get gba(): Vector3;
1118
+ get gar(): Vector3;
1119
+ get gag(): Vector3;
1120
+ get gab(): Vector3;
1121
+ get gaa(): Vector3;
1122
+ get brr(): Vector3;
1123
+ get brg(): Vector3;
1124
+ get brb(): Vector3;
1125
+ get bra(): Vector3;
1126
+ get bgr(): Vector3;
1127
+ get bgg(): Vector3;
1128
+ get bgb(): Vector3;
1129
+ get bga(): Vector3;
1130
+ get bbr(): Vector3;
1131
+ get bbg(): Vector3;
1132
+ get bbb(): Vector3;
1133
+ get bba(): Vector3;
1134
+ get bar(): Vector3;
1135
+ get bag(): Vector3;
1136
+ get bab(): Vector3;
1137
+ get baa(): Vector3;
1138
+ get arr(): Vector3;
1139
+ get arg(): Vector3;
1140
+ get arb(): Vector3;
1141
+ get ara(): Vector3;
1142
+ get agr(): Vector3;
1143
+ get agg(): Vector3;
1144
+ get agb(): Vector3;
1145
+ get aga(): Vector3;
1146
+ get abr(): Vector3;
1147
+ get abg(): Vector3;
1148
+ get abb(): Vector3;
1149
+ get aba(): Vector3;
1150
+ get aar(): Vector3;
1151
+ get aag(): Vector3;
1152
+ get aab(): Vector3;
1153
+ get aaa(): Vector3;
1154
+ get rrrr(): Vector4;
1155
+ get rrrg(): Vector4;
1156
+ get rrrb(): Vector4;
1157
+ get rrra(): Vector4;
1158
+ get rrgr(): Vector4;
1159
+ get rrgg(): Vector4;
1160
+ get rrgb(): Vector4;
1161
+ get rrga(): Vector4;
1162
+ get rrbr(): Vector4;
1163
+ get rrbg(): Vector4;
1164
+ get rrbb(): Vector4;
1165
+ get rrba(): Vector4;
1166
+ get rrar(): Vector4;
1167
+ get rrag(): Vector4;
1168
+ get rrab(): Vector4;
1169
+ get rraa(): Vector4;
1170
+ get rgrr(): Vector4;
1171
+ get rgrg(): Vector4;
1172
+ get rgrb(): Vector4;
1173
+ get rgra(): Vector4;
1174
+ get rggr(): Vector4;
1175
+ get rggg(): Vector4;
1176
+ get rggb(): Vector4;
1177
+ get rgga(): Vector4;
1178
+ get rgbr(): Vector4;
1179
+ get rgbg(): Vector4;
1180
+ get rgbb(): Vector4;
1181
+ get rgba(): Vector4;
1182
+ get rgar(): Vector4;
1183
+ get rgag(): Vector4;
1184
+ get rgab(): Vector4;
1185
+ get rgaa(): Vector4;
1186
+ get rbrr(): Vector4;
1187
+ get rbrg(): Vector4;
1188
+ get rbrb(): Vector4;
1189
+ get rbra(): Vector4;
1190
+ get rbgr(): Vector4;
1191
+ get rbgg(): Vector4;
1192
+ get rbgb(): Vector4;
1193
+ get rbga(): Vector4;
1194
+ get rbbr(): Vector4;
1195
+ get rbbg(): Vector4;
1196
+ get rbbb(): Vector4;
1197
+ get rbba(): Vector4;
1198
+ get rbar(): Vector4;
1199
+ get rbag(): Vector4;
1200
+ get rbab(): Vector4;
1201
+ get rbaa(): Vector4;
1202
+ get rarr(): Vector4;
1203
+ get rarg(): Vector4;
1204
+ get rarb(): Vector4;
1205
+ get rara(): Vector4;
1206
+ get ragr(): Vector4;
1207
+ get ragg(): Vector4;
1208
+ get ragb(): Vector4;
1209
+ get raga(): Vector4;
1210
+ get rabr(): Vector4;
1211
+ get rabg(): Vector4;
1212
+ get rabb(): Vector4;
1213
+ get raba(): Vector4;
1214
+ get raar(): Vector4;
1215
+ get raag(): Vector4;
1216
+ get raab(): Vector4;
1217
+ get raaa(): Vector4;
1218
+ get grrr(): Vector4;
1219
+ get grrg(): Vector4;
1220
+ get grrb(): Vector4;
1221
+ get grra(): Vector4;
1222
+ get grgr(): Vector4;
1223
+ get grgg(): Vector4;
1224
+ get grgb(): Vector4;
1225
+ get grga(): Vector4;
1226
+ get grbr(): Vector4;
1227
+ get grbg(): Vector4;
1228
+ get grbb(): Vector4;
1229
+ get grba(): Vector4;
1230
+ get grar(): Vector4;
1231
+ get grag(): Vector4;
1232
+ get grab(): Vector4;
1233
+ get graa(): Vector4;
1234
+ get ggrr(): Vector4;
1235
+ get ggrg(): Vector4;
1236
+ get ggrb(): Vector4;
1237
+ get ggra(): Vector4;
1238
+ get gggr(): Vector4;
1239
+ get gggg(): Vector4;
1240
+ get gggb(): Vector4;
1241
+ get ggga(): Vector4;
1242
+ get ggbr(): Vector4;
1243
+ get ggbg(): Vector4;
1244
+ get ggbb(): Vector4;
1245
+ get ggba(): Vector4;
1246
+ get ggar(): Vector4;
1247
+ get ggag(): Vector4;
1248
+ get ggab(): Vector4;
1249
+ get ggaa(): Vector4;
1250
+ get gbrr(): Vector4;
1251
+ get gbrg(): Vector4;
1252
+ get gbrb(): Vector4;
1253
+ get gbra(): Vector4;
1254
+ get gbgr(): Vector4;
1255
+ get gbgg(): Vector4;
1256
+ get gbgb(): Vector4;
1257
+ get gbga(): Vector4;
1258
+ get gbbr(): Vector4;
1259
+ get gbbg(): Vector4;
1260
+ get gbbb(): Vector4;
1261
+ get gbba(): Vector4;
1262
+ get gbar(): Vector4;
1263
+ get gbag(): Vector4;
1264
+ get gbab(): Vector4;
1265
+ get gbaa(): Vector4;
1266
+ get garr(): Vector4;
1267
+ get garg(): Vector4;
1268
+ get garb(): Vector4;
1269
+ get gara(): Vector4;
1270
+ get gagr(): Vector4;
1271
+ get gagg(): Vector4;
1272
+ get gagb(): Vector4;
1273
+ get gaga(): Vector4;
1274
+ get gabr(): Vector4;
1275
+ get gabg(): Vector4;
1276
+ get gabb(): Vector4;
1277
+ get gaba(): Vector4;
1278
+ get gaar(): Vector4;
1279
+ get gaag(): Vector4;
1280
+ get gaab(): Vector4;
1281
+ get gaaa(): Vector4;
1282
+ get brrr(): Vector4;
1283
+ get brrg(): Vector4;
1284
+ get brrb(): Vector4;
1285
+ get brra(): Vector4;
1286
+ get brgr(): Vector4;
1287
+ get brgg(): Vector4;
1288
+ get brgb(): Vector4;
1289
+ get brga(): Vector4;
1290
+ get brbr(): Vector4;
1291
+ get brbg(): Vector4;
1292
+ get brbb(): Vector4;
1293
+ get brba(): Vector4;
1294
+ get brar(): Vector4;
1295
+ get brag(): Vector4;
1296
+ get brab(): Vector4;
1297
+ get braa(): Vector4;
1298
+ get bgrr(): Vector4;
1299
+ get bgrg(): Vector4;
1300
+ get bgrb(): Vector4;
1301
+ get bgra(): Vector4;
1302
+ get bggr(): Vector4;
1303
+ get bggg(): Vector4;
1304
+ get bggb(): Vector4;
1305
+ get bgga(): Vector4;
1306
+ get bgbr(): Vector4;
1307
+ get bgbg(): Vector4;
1308
+ get bgbb(): Vector4;
1309
+ get bgba(): Vector4;
1310
+ get bgar(): Vector4;
1311
+ get bgag(): Vector4;
1312
+ get bgab(): Vector4;
1313
+ get bgaa(): Vector4;
1314
+ get bbrr(): Vector4;
1315
+ get bbrg(): Vector4;
1316
+ get bbrb(): Vector4;
1317
+ get bbra(): Vector4;
1318
+ get bbgr(): Vector4;
1319
+ get bbgg(): Vector4;
1320
+ get bbgb(): Vector4;
1321
+ get bbga(): Vector4;
1322
+ get bbbr(): Vector4;
1323
+ get bbbg(): Vector4;
1324
+ get bbbb(): Vector4;
1325
+ get bbba(): Vector4;
1326
+ get bbar(): Vector4;
1327
+ get bbag(): Vector4;
1328
+ get bbab(): Vector4;
1329
+ get bbaa(): Vector4;
1330
+ get barr(): Vector4;
1331
+ get barg(): Vector4;
1332
+ get barb(): Vector4;
1333
+ get bara(): Vector4;
1334
+ get bagr(): Vector4;
1335
+ get bagg(): Vector4;
1336
+ get bagb(): Vector4;
1337
+ get baga(): Vector4;
1338
+ get babr(): Vector4;
1339
+ get babg(): Vector4;
1340
+ get babb(): Vector4;
1341
+ get baba(): Vector4;
1342
+ get baar(): Vector4;
1343
+ get baag(): Vector4;
1344
+ get baab(): Vector4;
1345
+ get baaa(): Vector4;
1346
+ get arrr(): Vector4;
1347
+ get arrg(): Vector4;
1348
+ get arrb(): Vector4;
1349
+ get arra(): Vector4;
1350
+ get argr(): Vector4;
1351
+ get argg(): Vector4;
1352
+ get argb(): Vector4;
1353
+ get arga(): Vector4;
1354
+ get arbr(): Vector4;
1355
+ get arbg(): Vector4;
1356
+ get arbb(): Vector4;
1357
+ get arba(): Vector4;
1358
+ get arar(): Vector4;
1359
+ get arag(): Vector4;
1360
+ get arab(): Vector4;
1361
+ get araa(): Vector4;
1362
+ get agrr(): Vector4;
1363
+ get agrg(): Vector4;
1364
+ get agrb(): Vector4;
1365
+ get agra(): Vector4;
1366
+ get aggr(): Vector4;
1367
+ get aggg(): Vector4;
1368
+ get aggb(): Vector4;
1369
+ get agga(): Vector4;
1370
+ get agbr(): Vector4;
1371
+ get agbg(): Vector4;
1372
+ get agbb(): Vector4;
1373
+ get agba(): Vector4;
1374
+ get agar(): Vector4;
1375
+ get agag(): Vector4;
1376
+ get agab(): Vector4;
1377
+ get agaa(): Vector4;
1378
+ get abrr(): Vector4;
1379
+ get abrg(): Vector4;
1380
+ get abrb(): Vector4;
1381
+ get abra(): Vector4;
1382
+ get abgr(): Vector4;
1383
+ get abgg(): Vector4;
1384
+ get abgb(): Vector4;
1385
+ get abga(): Vector4;
1386
+ get abbr(): Vector4;
1387
+ get abbg(): Vector4;
1388
+ get abbb(): Vector4;
1389
+ get abba(): Vector4;
1390
+ get abar(): Vector4;
1391
+ get abag(): Vector4;
1392
+ get abab(): Vector4;
1393
+ get abaa(): Vector4;
1394
+ get aarr(): Vector4;
1395
+ get aarg(): Vector4;
1396
+ get aarb(): Vector4;
1397
+ get aara(): Vector4;
1398
+ get aagr(): Vector4;
1399
+ get aagg(): Vector4;
1400
+ get aagb(): Vector4;
1401
+ get aaga(): Vector4;
1402
+ get aabr(): Vector4;
1403
+ get aabg(): Vector4;
1404
+ get aabb(): Vector4;
1405
+ get aaba(): Vector4;
1406
+ get aaar(): Vector4;
1407
+ get aaag(): Vector4;
1408
+ get aaab(): Vector4;
1409
+ get aaaa(): Vector4;
1410
+ get ss(): Vector2;
1411
+ get st(): Vector2;
1412
+ get sp(): Vector2;
1413
+ get sq(): Vector2;
1414
+ get ts(): Vector2;
1415
+ get tt(): Vector2;
1416
+ get tp(): Vector2;
1417
+ get tq(): Vector2;
1418
+ get ps(): Vector2;
1419
+ get pt(): Vector2;
1420
+ get pp(): Vector2;
1421
+ get pq(): Vector2;
1422
+ get qs(): Vector2;
1423
+ get qt(): Vector2;
1424
+ get qp(): Vector2;
1425
+ get qq(): Vector2;
1426
+ get sss(): Vector3;
1427
+ get sst(): Vector3;
1428
+ get ssp(): Vector3;
1429
+ get ssq(): Vector3;
1430
+ get sts(): Vector3;
1431
+ get stt(): Vector3;
1432
+ get stp(): Vector3;
1433
+ get stq(): Vector3;
1434
+ get sps(): Vector3;
1435
+ get spt(): Vector3;
1436
+ get spp(): Vector3;
1437
+ get spq(): Vector3;
1438
+ get sqs(): Vector3;
1439
+ get sqt(): Vector3;
1440
+ get sqp(): Vector3;
1441
+ get sqq(): Vector3;
1442
+ get tss(): Vector3;
1443
+ get tst(): Vector3;
1444
+ get tsp(): Vector3;
1445
+ get tsq(): Vector3;
1446
+ get tts(): Vector3;
1447
+ get ttt(): Vector3;
1448
+ get ttp(): Vector3;
1449
+ get ttq(): Vector3;
1450
+ get tps(): Vector3;
1451
+ get tpt(): Vector3;
1452
+ get tpp(): Vector3;
1453
+ get tpq(): Vector3;
1454
+ get tqs(): Vector3;
1455
+ get tqt(): Vector3;
1456
+ get tqp(): Vector3;
1457
+ get tqq(): Vector3;
1458
+ get pss(): Vector3;
1459
+ get pst(): Vector3;
1460
+ get psp(): Vector3;
1461
+ get psq(): Vector3;
1462
+ get pts(): Vector3;
1463
+ get ptt(): Vector3;
1464
+ get ptp(): Vector3;
1465
+ get ptq(): Vector3;
1466
+ get pps(): Vector3;
1467
+ get ppt(): Vector3;
1468
+ get ppp(): Vector3;
1469
+ get ppq(): Vector3;
1470
+ get pqs(): Vector3;
1471
+ get pqt(): Vector3;
1472
+ get pqp(): Vector3;
1473
+ get pqq(): Vector3;
1474
+ get qss(): Vector3;
1475
+ get qst(): Vector3;
1476
+ get qsp(): Vector3;
1477
+ get qsq(): Vector3;
1478
+ get qts(): Vector3;
1479
+ get qtt(): Vector3;
1480
+ get qtp(): Vector3;
1481
+ get qtq(): Vector3;
1482
+ get qps(): Vector3;
1483
+ get qpt(): Vector3;
1484
+ get qpp(): Vector3;
1485
+ get qpq(): Vector3;
1486
+ get qqs(): Vector3;
1487
+ get qqt(): Vector3;
1488
+ get qqp(): Vector3;
1489
+ get qqq(): Vector3;
1490
+ get ssss(): Vector4;
1491
+ get ssst(): Vector4;
1492
+ get sssp(): Vector4;
1493
+ get sssq(): Vector4;
1494
+ get ssts(): Vector4;
1495
+ get sstt(): Vector4;
1496
+ get sstp(): Vector4;
1497
+ get sstq(): Vector4;
1498
+ get ssps(): Vector4;
1499
+ get sspt(): Vector4;
1500
+ get sspp(): Vector4;
1501
+ get sspq(): Vector4;
1502
+ get ssqs(): Vector4;
1503
+ get ssqt(): Vector4;
1504
+ get ssqp(): Vector4;
1505
+ get ssqq(): Vector4;
1506
+ get stss(): Vector4;
1507
+ get stst(): Vector4;
1508
+ get stsp(): Vector4;
1509
+ get stsq(): Vector4;
1510
+ get stts(): Vector4;
1511
+ get sttt(): Vector4;
1512
+ get sttp(): Vector4;
1513
+ get sttq(): Vector4;
1514
+ get stps(): Vector4;
1515
+ get stpt(): Vector4;
1516
+ get stpp(): Vector4;
1517
+ get stpq(): Vector4;
1518
+ get stqs(): Vector4;
1519
+ get stqt(): Vector4;
1520
+ get stqp(): Vector4;
1521
+ get stqq(): Vector4;
1522
+ get spss(): Vector4;
1523
+ get spst(): Vector4;
1524
+ get spsp(): Vector4;
1525
+ get spsq(): Vector4;
1526
+ get spts(): Vector4;
1527
+ get sptt(): Vector4;
1528
+ get sptp(): Vector4;
1529
+ get sptq(): Vector4;
1530
+ get spps(): Vector4;
1531
+ get sppt(): Vector4;
1532
+ get sppp(): Vector4;
1533
+ get sppq(): Vector4;
1534
+ get spqs(): Vector4;
1535
+ get spqt(): Vector4;
1536
+ get spqp(): Vector4;
1537
+ get spqq(): Vector4;
1538
+ get sqss(): Vector4;
1539
+ get sqst(): Vector4;
1540
+ get sqsp(): Vector4;
1541
+ get sqsq(): Vector4;
1542
+ get sqts(): Vector4;
1543
+ get sqtt(): Vector4;
1544
+ get sqtp(): Vector4;
1545
+ get sqtq(): Vector4;
1546
+ get sqps(): Vector4;
1547
+ get sqpt(): Vector4;
1548
+ get sqpp(): Vector4;
1549
+ get sqpq(): Vector4;
1550
+ get sqqs(): Vector4;
1551
+ get sqqt(): Vector4;
1552
+ get sqqp(): Vector4;
1553
+ get sqqq(): Vector4;
1554
+ get tsss(): Vector4;
1555
+ get tsst(): Vector4;
1556
+ get tssp(): Vector4;
1557
+ get tssq(): Vector4;
1558
+ get tsts(): Vector4;
1559
+ get tstt(): Vector4;
1560
+ get tstp(): Vector4;
1561
+ get tstq(): Vector4;
1562
+ get tsps(): Vector4;
1563
+ get tspt(): Vector4;
1564
+ get tspp(): Vector4;
1565
+ get tspq(): Vector4;
1566
+ get tsqs(): Vector4;
1567
+ get tsqt(): Vector4;
1568
+ get tsqp(): Vector4;
1569
+ get tsqq(): Vector4;
1570
+ get ttss(): Vector4;
1571
+ get ttst(): Vector4;
1572
+ get ttsp(): Vector4;
1573
+ get ttsq(): Vector4;
1574
+ get ttts(): Vector4;
1575
+ get tttt(): Vector4;
1576
+ get tttp(): Vector4;
1577
+ get tttq(): Vector4;
1578
+ get ttps(): Vector4;
1579
+ get ttpt(): Vector4;
1580
+ get ttpp(): Vector4;
1581
+ get ttpq(): Vector4;
1582
+ get ttqs(): Vector4;
1583
+ get ttqt(): Vector4;
1584
+ get ttqp(): Vector4;
1585
+ get ttqq(): Vector4;
1586
+ get tpss(): Vector4;
1587
+ get tpst(): Vector4;
1588
+ get tpsp(): Vector4;
1589
+ get tpsq(): Vector4;
1590
+ get tpts(): Vector4;
1591
+ get tptt(): Vector4;
1592
+ get tptp(): Vector4;
1593
+ get tptq(): Vector4;
1594
+ get tpps(): Vector4;
1595
+ get tppt(): Vector4;
1596
+ get tppp(): Vector4;
1597
+ get tppq(): Vector4;
1598
+ get tpqs(): Vector4;
1599
+ get tpqt(): Vector4;
1600
+ get tpqp(): Vector4;
1601
+ get tpqq(): Vector4;
1602
+ get tqss(): Vector4;
1603
+ get tqst(): Vector4;
1604
+ get tqsp(): Vector4;
1605
+ get tqsq(): Vector4;
1606
+ get tqts(): Vector4;
1607
+ get tqtt(): Vector4;
1608
+ get tqtp(): Vector4;
1609
+ get tqtq(): Vector4;
1610
+ get tqps(): Vector4;
1611
+ get tqpt(): Vector4;
1612
+ get tqpp(): Vector4;
1613
+ get tqpq(): Vector4;
1614
+ get tqqs(): Vector4;
1615
+ get tqqt(): Vector4;
1616
+ get tqqp(): Vector4;
1617
+ get tqqq(): Vector4;
1618
+ get psss(): Vector4;
1619
+ get psst(): Vector4;
1620
+ get pssp(): Vector4;
1621
+ get pssq(): Vector4;
1622
+ get psts(): Vector4;
1623
+ get pstt(): Vector4;
1624
+ get pstp(): Vector4;
1625
+ get pstq(): Vector4;
1626
+ get psps(): Vector4;
1627
+ get pspt(): Vector4;
1628
+ get pspp(): Vector4;
1629
+ get pspq(): Vector4;
1630
+ get psqs(): Vector4;
1631
+ get psqt(): Vector4;
1632
+ get psqp(): Vector4;
1633
+ get psqq(): Vector4;
1634
+ get ptss(): Vector4;
1635
+ get ptst(): Vector4;
1636
+ get ptsp(): Vector4;
1637
+ get ptsq(): Vector4;
1638
+ get ptts(): Vector4;
1639
+ get pttt(): Vector4;
1640
+ get pttp(): Vector4;
1641
+ get pttq(): Vector4;
1642
+ get ptps(): Vector4;
1643
+ get ptpt(): Vector4;
1644
+ get ptpp(): Vector4;
1645
+ get ptpq(): Vector4;
1646
+ get ptqs(): Vector4;
1647
+ get ptqt(): Vector4;
1648
+ get ptqp(): Vector4;
1649
+ get ptqq(): Vector4;
1650
+ get ppss(): Vector4;
1651
+ get ppst(): Vector4;
1652
+ get ppsp(): Vector4;
1653
+ get ppsq(): Vector4;
1654
+ get ppts(): Vector4;
1655
+ get pptt(): Vector4;
1656
+ get pptp(): Vector4;
1657
+ get pptq(): Vector4;
1658
+ get ppps(): Vector4;
1659
+ get pppt(): Vector4;
1660
+ get pppp(): Vector4;
1661
+ get pppq(): Vector4;
1662
+ get ppqs(): Vector4;
1663
+ get ppqt(): Vector4;
1664
+ get ppqp(): Vector4;
1665
+ get ppqq(): Vector4;
1666
+ get pqss(): Vector4;
1667
+ get pqst(): Vector4;
1668
+ get pqsp(): Vector4;
1669
+ get pqsq(): Vector4;
1670
+ get pqts(): Vector4;
1671
+ get pqtt(): Vector4;
1672
+ get pqtp(): Vector4;
1673
+ get pqtq(): Vector4;
1674
+ get pqps(): Vector4;
1675
+ get pqpt(): Vector4;
1676
+ get pqpp(): Vector4;
1677
+ get pqpq(): Vector4;
1678
+ get pqqs(): Vector4;
1679
+ get pqqt(): Vector4;
1680
+ get pqqp(): Vector4;
1681
+ get pqqq(): Vector4;
1682
+ get qsss(): Vector4;
1683
+ get qsst(): Vector4;
1684
+ get qssp(): Vector4;
1685
+ get qssq(): Vector4;
1686
+ get qsts(): Vector4;
1687
+ get qstt(): Vector4;
1688
+ get qstp(): Vector4;
1689
+ get qstq(): Vector4;
1690
+ get qsps(): Vector4;
1691
+ get qspt(): Vector4;
1692
+ get qspp(): Vector4;
1693
+ get qspq(): Vector4;
1694
+ get qsqs(): Vector4;
1695
+ get qsqt(): Vector4;
1696
+ get qsqp(): Vector4;
1697
+ get qsqq(): Vector4;
1698
+ get qtss(): Vector4;
1699
+ get qtst(): Vector4;
1700
+ get qtsp(): Vector4;
1701
+ get qtsq(): Vector4;
1702
+ get qtts(): Vector4;
1703
+ get qttt(): Vector4;
1704
+ get qttp(): Vector4;
1705
+ get qttq(): Vector4;
1706
+ get qtps(): Vector4;
1707
+ get qtpt(): Vector4;
1708
+ get qtpp(): Vector4;
1709
+ get qtpq(): Vector4;
1710
+ get qtqs(): Vector4;
1711
+ get qtqt(): Vector4;
1712
+ get qtqp(): Vector4;
1713
+ get qtqq(): Vector4;
1714
+ get qpss(): Vector4;
1715
+ get qpst(): Vector4;
1716
+ get qpsp(): Vector4;
1717
+ get qpsq(): Vector4;
1718
+ get qpts(): Vector4;
1719
+ get qptt(): Vector4;
1720
+ get qptp(): Vector4;
1721
+ get qptq(): Vector4;
1722
+ get qpps(): Vector4;
1723
+ get qppt(): Vector4;
1724
+ get qppp(): Vector4;
1725
+ get qppq(): Vector4;
1726
+ get qpqs(): Vector4;
1727
+ get qpqt(): Vector4;
1728
+ get qpqp(): Vector4;
1729
+ get qpqq(): Vector4;
1730
+ get qqss(): Vector4;
1731
+ get qqst(): Vector4;
1732
+ get qqsp(): Vector4;
1733
+ get qqsq(): Vector4;
1734
+ get qqts(): Vector4;
1735
+ get qqtt(): Vector4;
1736
+ get qqtp(): Vector4;
1737
+ get qqtq(): Vector4;
1738
+ get qqps(): Vector4;
1739
+ get qqpt(): Vector4;
1740
+ get qqpp(): Vector4;
1741
+ get qqpq(): Vector4;
1742
+ get qqqs(): Vector4;
1743
+ get qqqt(): Vector4;
1744
+ get qqqp(): Vector4;
1745
+ get qqqq(): Vector4;
1746
+ }
1747
+
1748
+ declare class Vector3 implements Vector {
1749
+ get storage(): [number, number, number];
1750
+ _v3storage: [number, number, number];
1751
+ constructor(arg0: number, arg1: number, arg2: number);
1752
+ static copy(arg: Vector3): Vector3;
1753
+ setValues(x: number, y: number, z: number): void;
1754
+ setZero(): void;
1755
+ setFrom(other: Vector3): void;
1756
+ splat(arg: number): void;
1757
+ toString(): string;
1758
+ /**
1759
+ * Set the length of the vector. A negative `value` will change the vectors
1760
+ * orientation and a `value` of zero will set the vector to zero.
1761
+ */
1762
+ set length(value: number);
1763
+ /**
1764
+ * Length.
1765
+ */
1766
+ get length(): number;
1767
+ /**
1768
+ * Length squared.
1769
+ */
1770
+ get length2(): number;
1771
+ /**
1772
+ * Normalizes this.
1773
+ */
1774
+ normalize(): number;
1775
+ normalized(): Vector3;
1776
+ normalizeInto(out: Vector3): Vector3;
1777
+ distanceTo(arg: Vector3): number;
1778
+ distanceToSquared(arg: Vector3): number;
1779
+ angleTo(other: Vector3): number;
1780
+ angleToSigned(other: Vector3, normal: Vector3): number;
1781
+ dot(other: Vector3): number;
1782
+ /**
1783
+ * Transforms this into the product of this as a row vector,
1784
+ * postmultiplied by matrix, [arg].
1785
+ * If [arg] is a rotation matrix, this is a computational shortcut for applying,
1786
+ * the inverse of the transformation.
1787
+ */
1788
+ postmultiply(arg: Matrix3): void;
1789
+ cross(other: Vector3): Vector3;
1790
+ crossInto(other: Vector3, out: Vector3): Vector3;
1791
+ reflected(normal: Vector3): Vector3;
1792
+ clone(): Vector3;
1793
+ reflect(normal: Vector3): void;
1794
+ applyProjection(arg: Matrix4): void;
1795
+ applyMatrix3(arg: Matrix3): void;
1796
+ applyMatrix4(arg: Matrix4): void;
1797
+ relativeError(correct: Vector3): number;
1798
+ absoluteError(correct: Vector3): number;
1799
+ /**
1800
+ * Returns true if any component is infinite.
1801
+ */
1802
+ get isInfinite(): boolean;
1803
+ /**
1804
+ * Returns true if any component is NaN.
1805
+ */
1806
+ get isNaN(): boolean;
1807
+ /**
1808
+ * Add `arg` to this vector.
1809
+ */
1810
+ add(arg: Vector3): void;
1811
+ /**
1812
+ * Add [arg] scaled by [factor] to this.
1813
+ */
1814
+ addScaled(arg: Vector3, factor: number): void;
1815
+ sub(arg: Vector3): void;
1816
+ /**
1817
+ * Multiply entries in this with entries in [arg].
1818
+ */
1819
+ multiply(arg: Vector3): void;
1820
+ /**
1821
+ * Divide entries in this with entries in [arg].
1822
+ */
1823
+ divide(arg: Vector3): void;
1824
+ /**
1825
+ Scale this.
1826
+ */
1827
+ scale(arg: number): void;
1828
+ /**
1829
+
1830
+ Create a copy of this and scale it by [arg].
1831
+ */
1832
+ scaled(arg: number): Vector3;
1833
+ /**
1834
+ * Negate each component of this vector.
1835
+ */
1836
+ negate(): void;
1837
+ /**
1838
+ * Absolute value.
1839
+ */
1840
+ absolute(): void;
1841
+ /**
1842
+
1843
+ Clamp each entry n in this in the range [min[n]]-[max[n]].
1844
+ */
1845
+ clamp(min: Vector3, max: Vector3): void;
1846
+ /**
1847
+ * Clamp entries in this in the range [min]-[max].
1848
+ */
1849
+ clampScalar(min: number, max: number): void;
1850
+ /**
1851
+ Floor entries in this.
1852
+ */
1853
+ floor(): void;
1854
+ /**
1855
+
1856
+ Ceil entries in this.
1857
+ */
1858
+ ceil(): void;
1859
+ /**
1860
+ Round entries in this.
1861
+ */
1862
+ round(): void;
1863
+ private _clamp;
1864
+ set xy(arg: Vector2);
1865
+ set xz(arg: Vector2);
1866
+ set yx(arg: Vector2);
1867
+ set yz(arg: Vector2);
1868
+ set zx(arg: Vector2);
1869
+ set zy(arg: Vector2);
1870
+ set xyz(arg: Vector3);
1871
+ set xzy(arg: Vector3);
1872
+ set yxz(arg: Vector3);
1873
+ set yzx(arg: Vector3);
1874
+ set zxy(arg: Vector3);
1875
+ set zyx(arg: Vector3);
1876
+ set r(arg: number);
1877
+ set g(arg: number);
1878
+ set b(arg: number);
1879
+ set s(arg: number);
1880
+ set t(arg: number);
1881
+ set p(arg: number);
1882
+ set x(arg: number);
1883
+ set y(arg: number);
1884
+ set z(arg: number);
1885
+ set rg(arg: Vector2);
1886
+ set rb(arg: Vector2);
1887
+ set gr(arg: Vector2);
1888
+ set gb(arg: Vector2);
1889
+ set br(arg: Vector2);
1890
+ set bg(arg: Vector2);
1891
+ set rgb(arg: Vector3);
1892
+ set rbg(arg: Vector3);
1893
+ set grb(arg: Vector3);
1894
+ set gbr(arg: Vector3);
1895
+ set brg(arg: Vector3);
1896
+ set bgr(arg: Vector3);
1897
+ set st(arg: Vector2);
1898
+ set sp(arg: Vector2);
1899
+ set ts(arg: Vector2);
1900
+ set tp(arg: Vector2);
1901
+ set ps(arg: Vector2);
1902
+ set pt(arg: Vector2);
1903
+ set stp(arg: Vector3);
1904
+ set spt(arg: Vector3);
1905
+ set tsp(arg: Vector3);
1906
+ set tps(arg: Vector3);
1907
+ set pst(arg: Vector3);
1908
+ set pts(arg: Vector3);
1909
+ get xx(): Vector2;
1910
+ get xy(): Vector2;
1911
+ get xz(): Vector2;
1912
+ get yx(): Vector2;
1913
+ get yy(): Vector2;
1914
+ get yz(): Vector2;
1915
+ get zx(): Vector2;
1916
+ get zy(): Vector2;
1917
+ get zz(): Vector2;
1918
+ get xxx(): Vector3;
1919
+ get xxy(): Vector3;
1920
+ get xxz(): Vector3;
1921
+ get xyx(): Vector3;
1922
+ get xyy(): Vector3;
1923
+ get xyz(): Vector3;
1924
+ get xzx(): Vector3;
1925
+ get xzy(): Vector3;
1926
+ get xzz(): Vector3;
1927
+ get yxx(): Vector3;
1928
+ get yxy(): Vector3;
1929
+ get yxz(): Vector3;
1930
+ get yyx(): Vector3;
1931
+ get yyy(): Vector3;
1932
+ get yyz(): Vector3;
1933
+ get yzx(): Vector3;
1934
+ get yzy(): Vector3;
1935
+ get yzz(): Vector3;
1936
+ get zxx(): Vector3;
1937
+ get zxy(): Vector3;
1938
+ get zxz(): Vector3;
1939
+ get zyx(): Vector3;
1940
+ get zyy(): Vector3;
1941
+ get zyz(): Vector3;
1942
+ get zzx(): Vector3;
1943
+ get zzy(): Vector3;
1944
+ get zzz(): Vector3;
1945
+ get xxxx(): Vector4;
1946
+ get xxxy(): Vector4;
1947
+ get xxxz(): Vector4;
1948
+ get xxyx(): Vector4;
1949
+ get xxyy(): Vector4;
1950
+ get xxyz(): Vector4;
1951
+ get xxzx(): Vector4;
1952
+ get xxzy(): Vector4;
1953
+ get xxzz(): Vector4;
1954
+ get xyxx(): Vector4;
1955
+ get xyxy(): Vector4;
1956
+ get xyxz(): Vector4;
1957
+ get xyyx(): Vector4;
1958
+ get xyyy(): Vector4;
1959
+ get xyyz(): Vector4;
1960
+ get xyzx(): Vector4;
1961
+ get xyzy(): Vector4;
1962
+ get xyzz(): Vector4;
1963
+ get xzxx(): Vector4;
1964
+ get xzxy(): Vector4;
1965
+ get xzxz(): Vector4;
1966
+ get xzyx(): Vector4;
1967
+ get xzyy(): Vector4;
1968
+ get xzyz(): Vector4;
1969
+ get xzzx(): Vector4;
1970
+ get xzzy(): Vector4;
1971
+ get xzzz(): Vector4;
1972
+ get yxxx(): Vector4;
1973
+ get yxxy(): Vector4;
1974
+ get yxxz(): Vector4;
1975
+ get yxyx(): Vector4;
1976
+ get yxyy(): Vector4;
1977
+ get yxyz(): Vector4;
1978
+ get yxzx(): Vector4;
1979
+ get yxzy(): Vector4;
1980
+ get yxzz(): Vector4;
1981
+ get yyxx(): Vector4;
1982
+ get yyxy(): Vector4;
1983
+ get yyxz(): Vector4;
1984
+ get yyyx(): Vector4;
1985
+ get yyyy(): Vector4;
1986
+ get yyyz(): Vector4;
1987
+ get yyzx(): Vector4;
1988
+ get yyzy(): Vector4;
1989
+ get yyzz(): Vector4;
1990
+ get yzxx(): Vector4;
1991
+ get yzxy(): Vector4;
1992
+ get yzxz(): Vector4;
1993
+ get yzyx(): Vector4;
1994
+ get yzyy(): Vector4;
1995
+ get yzyz(): Vector4;
1996
+ get yzzx(): Vector4;
1997
+ get yzzy(): Vector4;
1998
+ get yzzz(): Vector4;
1999
+ get zxxx(): Vector4;
2000
+ get zxxy(): Vector4;
2001
+ get zxxz(): Vector4;
2002
+ get zxyx(): Vector4;
2003
+ get zxyy(): Vector4;
2004
+ get zxyz(): Vector4;
2005
+ get zxzx(): Vector4;
2006
+ get zxzy(): Vector4;
2007
+ get zxzz(): Vector4;
2008
+ get zyxx(): Vector4;
2009
+ get zyxy(): Vector4;
2010
+ get zyxz(): Vector4;
2011
+ get zyyx(): Vector4;
2012
+ get zyyy(): Vector4;
2013
+ get zyyz(): Vector4;
2014
+ get zyzx(): Vector4;
2015
+ get zyzy(): Vector4;
2016
+ get zyzz(): Vector4;
2017
+ get zzxx(): Vector4;
2018
+ get zzxy(): Vector4;
2019
+ get zzxz(): Vector4;
2020
+ get zzyx(): Vector4;
2021
+ get zzyy(): Vector4;
2022
+ get zzyz(): Vector4;
2023
+ get zzzx(): Vector4;
2024
+ get zzzy(): Vector4;
2025
+ get zzzz(): Vector4;
2026
+ get r(): number;
2027
+ get g(): number;
2028
+ get b(): number;
2029
+ get s(): number;
2030
+ get t(): number;
2031
+ get p(): number;
2032
+ get x(): number;
2033
+ get y(): number;
2034
+ get z(): number;
2035
+ get rr(): Vector2;
2036
+ get rg(): Vector2;
2037
+ get rb(): Vector2;
2038
+ get gr(): Vector2;
2039
+ get gg(): Vector2;
2040
+ get gb(): Vector2;
2041
+ get br(): Vector2;
2042
+ get bg(): Vector2;
2043
+ get bb(): Vector2;
2044
+ get rrr(): Vector3;
2045
+ get rrg(): Vector3;
2046
+ get rrb(): Vector3;
2047
+ get rgr(): Vector3;
2048
+ get rgg(): Vector3;
2049
+ get rgb(): Vector3;
2050
+ get rbr(): Vector3;
2051
+ get rbg(): Vector3;
2052
+ get rbb(): Vector3;
2053
+ get grr(): Vector3;
2054
+ get grg(): Vector3;
2055
+ get grb(): Vector3;
2056
+ get ggr(): Vector3;
2057
+ get ggg(): Vector3;
2058
+ get ggb(): Vector3;
2059
+ get gbr(): Vector3;
2060
+ get gbg(): Vector3;
2061
+ get gbb(): Vector3;
2062
+ get brr(): Vector3;
2063
+ get brg(): Vector3;
2064
+ get brb(): Vector3;
2065
+ get bgr(): Vector3;
2066
+ get bgg(): Vector3;
2067
+ get bgb(): Vector3;
2068
+ get bbr(): Vector3;
2069
+ get bbg(): Vector3;
2070
+ get bbb(): Vector3;
2071
+ get rrrr(): Vector4;
2072
+ get rrrg(): Vector4;
2073
+ get rrrb(): Vector4;
2074
+ get rrgr(): Vector4;
2075
+ get rrgg(): Vector4;
2076
+ get rrgb(): Vector4;
2077
+ get rrbr(): Vector4;
2078
+ get rrbg(): Vector4;
2079
+ get rrbb(): Vector4;
2080
+ get rgrr(): Vector4;
2081
+ get rgrg(): Vector4;
2082
+ get rgrb(): Vector4;
2083
+ get rggr(): Vector4;
2084
+ get rggg(): Vector4;
2085
+ get rggb(): Vector4;
2086
+ get rgbr(): Vector4;
2087
+ get rgbg(): Vector4;
2088
+ get rgbb(): Vector4;
2089
+ get rbrr(): Vector4;
2090
+ get rbrg(): Vector4;
2091
+ get rbrb(): Vector4;
2092
+ get rbgr(): Vector4;
2093
+ get rbgg(): Vector4;
2094
+ get rbgb(): Vector4;
2095
+ get rbbr(): Vector4;
2096
+ get rbbg(): Vector4;
2097
+ get rbbb(): Vector4;
2098
+ get grrr(): Vector4;
2099
+ get grrg(): Vector4;
2100
+ get grrb(): Vector4;
2101
+ get grgr(): Vector4;
2102
+ get grgg(): Vector4;
2103
+ get grgb(): Vector4;
2104
+ get grbr(): Vector4;
2105
+ get grbg(): Vector4;
2106
+ get grbb(): Vector4;
2107
+ get ggrr(): Vector4;
2108
+ get ggrg(): Vector4;
2109
+ get ggrb(): Vector4;
2110
+ get gggr(): Vector4;
2111
+ get gggg(): Vector4;
2112
+ get gggb(): Vector4;
2113
+ get ggbr(): Vector4;
2114
+ get ggbg(): Vector4;
2115
+ get ggbb(): Vector4;
2116
+ get gbrr(): Vector4;
2117
+ get gbrg(): Vector4;
2118
+ get gbrb(): Vector4;
2119
+ get gbgr(): Vector4;
2120
+ get gbgg(): Vector4;
2121
+ get gbgb(): Vector4;
2122
+ get gbbr(): Vector4;
2123
+ get gbbg(): Vector4;
2124
+ get gbbb(): Vector4;
2125
+ get brrr(): Vector4;
2126
+ get brrg(): Vector4;
2127
+ get brrb(): Vector4;
2128
+ get brgr(): Vector4;
2129
+ get brgg(): Vector4;
2130
+ get brgb(): Vector4;
2131
+ get brbr(): Vector4;
2132
+ get brbg(): Vector4;
2133
+ get brbb(): Vector4;
2134
+ get bgrr(): Vector4;
2135
+ get bgrg(): Vector4;
2136
+ get bgrb(): Vector4;
2137
+ get bggr(): Vector4;
2138
+ get bggg(): Vector4;
2139
+ get bggb(): Vector4;
2140
+ get bgbr(): Vector4;
2141
+ get bgbg(): Vector4;
2142
+ get bgbb(): Vector4;
2143
+ get bbrr(): Vector4;
2144
+ get bbrg(): Vector4;
2145
+ get bbrb(): Vector4;
2146
+ get bbgr(): Vector4;
2147
+ get bbgg(): Vector4;
2148
+ get bbgb(): Vector4;
2149
+ get bbbr(): Vector4;
2150
+ get bbbg(): Vector4;
2151
+ get bbbb(): Vector4;
2152
+ get ss(): Vector2;
2153
+ get st(): Vector2;
2154
+ get sp(): Vector2;
2155
+ get ts(): Vector2;
2156
+ get tt(): Vector2;
2157
+ get tp(): Vector2;
2158
+ get ps(): Vector2;
2159
+ get pt(): Vector2;
2160
+ get pp(): Vector2;
2161
+ get sss(): Vector3;
2162
+ get sst(): Vector3;
2163
+ get ssp(): Vector3;
2164
+ get sts(): Vector3;
2165
+ get stt(): Vector3;
2166
+ get stp(): Vector3;
2167
+ get sps(): Vector3;
2168
+ get spt(): Vector3;
2169
+ get spp(): Vector3;
2170
+ get tss(): Vector3;
2171
+ get tst(): Vector3;
2172
+ get tsp(): Vector3;
2173
+ get tts(): Vector3;
2174
+ get ttt(): Vector3;
2175
+ get ttp(): Vector3;
2176
+ get tps(): Vector3;
2177
+ get tpt(): Vector3;
2178
+ get tpp(): Vector3;
2179
+ get pss(): Vector3;
2180
+ get pst(): Vector3;
2181
+ get psp(): Vector3;
2182
+ get pts(): Vector3;
2183
+ get ptt(): Vector3;
2184
+ get ptp(): Vector3;
2185
+ get pps(): Vector3;
2186
+ get ppt(): Vector3;
2187
+ get ppp(): Vector3;
2188
+ get ssss(): Vector4;
2189
+ get ssst(): Vector4;
2190
+ get sssp(): Vector4;
2191
+ get ssts(): Vector4;
2192
+ get sstt(): Vector4;
2193
+ get sstp(): Vector4;
2194
+ get ssps(): Vector4;
2195
+ get sspt(): Vector4;
2196
+ get sspp(): Vector4;
2197
+ get stss(): Vector4;
2198
+ get stst(): Vector4;
2199
+ get stsp(): Vector4;
2200
+ get stts(): Vector4;
2201
+ get sttt(): Vector4;
2202
+ get sttp(): Vector4;
2203
+ get stps(): Vector4;
2204
+ get stpt(): Vector4;
2205
+ get stpp(): Vector4;
2206
+ get spss(): Vector4;
2207
+ get spst(): Vector4;
2208
+ get spsp(): Vector4;
2209
+ get spts(): Vector4;
2210
+ get sptt(): Vector4;
2211
+ get sptp(): Vector4;
2212
+ get spps(): Vector4;
2213
+ get sppt(): Vector4;
2214
+ get sppp(): Vector4;
2215
+ get tsss(): Vector4;
2216
+ get tsst(): Vector4;
2217
+ get tssp(): Vector4;
2218
+ get tsts(): Vector4;
2219
+ get tstt(): Vector4;
2220
+ get tstp(): Vector4;
2221
+ get tsps(): Vector4;
2222
+ get tspt(): Vector4;
2223
+ get tspp(): Vector4;
2224
+ get ttss(): Vector4;
2225
+ get ttst(): Vector4;
2226
+ get ttsp(): Vector4;
2227
+ get ttts(): Vector4;
2228
+ get tttt(): Vector4;
2229
+ get tttp(): Vector4;
2230
+ get ttps(): Vector4;
2231
+ get ttpt(): Vector4;
2232
+ get ttpp(): Vector4;
2233
+ get tpss(): Vector4;
2234
+ get tpst(): Vector4;
2235
+ get tpsp(): Vector4;
2236
+ get tpts(): Vector4;
2237
+ get tptt(): Vector4;
2238
+ get tptp(): Vector4;
2239
+ get tpps(): Vector4;
2240
+ get tppt(): Vector4;
2241
+ get tppp(): Vector4;
2242
+ get psss(): Vector4;
2243
+ get psst(): Vector4;
2244
+ get pssp(): Vector4;
2245
+ get psts(): Vector4;
2246
+ get pstt(): Vector4;
2247
+ get pstp(): Vector4;
2248
+ get psps(): Vector4;
2249
+ get pspt(): Vector4;
2250
+ get pspp(): Vector4;
2251
+ get ptss(): Vector4;
2252
+ get ptst(): Vector4;
2253
+ get ptsp(): Vector4;
2254
+ get ptts(): Vector4;
2255
+ get pttt(): Vector4;
2256
+ get pttp(): Vector4;
2257
+ get ptps(): Vector4;
2258
+ get ptpt(): Vector4;
2259
+ get ptpp(): Vector4;
2260
+ get ppss(): Vector4;
2261
+ get ppst(): Vector4;
2262
+ get ppsp(): Vector4;
2263
+ get ppts(): Vector4;
2264
+ get pptt(): Vector4;
2265
+ get pptp(): Vector4;
2266
+ get ppps(): Vector4;
2267
+ get pppt(): Vector4;
2268
+ get pppp(): Vector4;
2269
+ }
2270
+
2271
+ declare class Vector2 implements Vector {
2272
+ _v2storage: [number, number];
2273
+ constructor(arg0: number, arg1: number);
2274
+ set xy(arg: Vector2);
2275
+ set yx(arg: Vector2);
2276
+ set r(arg: number);
2277
+ set g(arg: number);
2278
+ set s(arg: number);
2279
+ set t(arg: number);
2280
+ set x(arg: number);
2281
+ set y(arg: number);
2282
+ set rg(arg: Vector2);
2283
+ set gr(arg: Vector2);
2284
+ set st(arg: Vector2);
2285
+ set ts(arg: Vector2);
2286
+ get xx(): Vector2;
2287
+ get xy(): Vector2;
2288
+ get yx(): Vector2;
2289
+ get yy(): Vector2;
2290
+ get xxx(): Vector3;
2291
+ get xxy(): Vector3;
2292
+ get xyx(): Vector3;
2293
+ get xyy(): Vector3;
2294
+ get yxx(): Vector3;
2295
+ get yxy(): Vector3;
2296
+ get yyx(): Vector3;
2297
+ get yyy(): Vector3;
2298
+ get xxxx(): Vector4;
2299
+ get xxxy(): Vector4;
2300
+ get xxyx(): Vector4;
2301
+ get xxyy(): Vector4;
2302
+ get xyxx(): Vector4;
2303
+ get xyxy(): Vector4;
2304
+ get xyyx(): Vector4;
2305
+ get xyyy(): Vector4;
2306
+ get yxxx(): Vector4;
2307
+ get yxxy(): Vector4;
2308
+ get yxyx(): Vector4;
2309
+ get yxyy(): Vector4;
2310
+ get yyxx(): Vector4;
2311
+ get yyxy(): Vector4;
2312
+ get yyyx(): Vector4;
2313
+ get yyyy(): Vector4;
2314
+ get r(): number;
2315
+ get g(): number;
2316
+ get s(): number;
2317
+ get t(): number;
2318
+ get x(): number;
2319
+ get y(): number;
2320
+ get rr(): Vector2;
2321
+ get rg(): Vector2;
2322
+ get gr(): Vector2;
2323
+ get gg(): Vector2;
2324
+ get rrr(): Vector3;
2325
+ get rrg(): Vector3;
2326
+ get rgr(): Vector3;
2327
+ get rgg(): Vector3;
2328
+ get grr(): Vector3;
2329
+ get grg(): Vector3;
2330
+ get ggr(): Vector3;
2331
+ get ggg(): Vector3;
2332
+ get rrrr(): Vector4;
2333
+ get rrrg(): Vector4;
2334
+ get rrgr(): Vector4;
2335
+ get rrgg(): Vector4;
2336
+ get rgrr(): Vector4;
2337
+ get rgrg(): Vector4;
2338
+ get rggr(): Vector4;
2339
+ get rggg(): Vector4;
2340
+ get grrr(): Vector4;
2341
+ get grrg(): Vector4;
2342
+ get grgr(): Vector4;
2343
+ get grgg(): Vector4;
2344
+ get ggrr(): Vector4;
2345
+ get ggrg(): Vector4;
2346
+ get gggr(): Vector4;
2347
+ get gggg(): Vector4;
2348
+ getss(): Vector2;
2349
+ getst(): Vector2;
2350
+ getts(): Vector2;
2351
+ gettt(): Vector2;
2352
+ get sss(): Vector3;
2353
+ get sst(): Vector3;
2354
+ get sts(): Vector3;
2355
+ get stt(): Vector3;
2356
+ get tss(): Vector3;
2357
+ get tst(): Vector3;
2358
+ get tts(): Vector3;
2359
+ get ttt(): Vector3;
2360
+ get ssss(): Vector4;
2361
+ get ssst(): Vector4;
2362
+ get ssts(): Vector4;
2363
+ get sstt(): Vector4;
2364
+ get stss(): Vector4;
2365
+ get stst(): Vector4;
2366
+ get stts(): Vector4;
2367
+ get sttt(): Vector4;
2368
+ get tsss(): Vector4;
2369
+ get tsst(): Vector4;
2370
+ get tsts(): Vector4;
2371
+ get tstt(): Vector4;
2372
+ get ttss(): Vector4;
2373
+ get ttst(): Vector4;
2374
+ get ttts(): Vector4;
2375
+ get tttt(): Vector4;
2376
+ }
2377
+
2378
+ type Array16 = [
2379
+ number,
2380
+ number,
2381
+ number,
2382
+ number,
2383
+ number,
2384
+ number,
2385
+ number,
2386
+ number,
2387
+ number,
2388
+ number,
2389
+ number,
2390
+ number,
2391
+ number,
2392
+ number,
2393
+ number,
2394
+ number
2395
+ ];
2396
+ declare class Matrix4 extends Calculable {
2397
+ _m4storage: Array16;
2398
+ get storage(): Array16;
2399
+ get dimension(): number;
2400
+ plus(other: Matrix4): Matrix4;
2401
+ multiply(value: number): Matrix4;
2402
+ equals(other: Matrix4): boolean;
2403
+ /**
2404
+ * @deprecated The method should not be used
2405
+ */
2406
+ equal(other: Matrix4): void;
2407
+ static zero(): Matrix4;
2408
+ static copy(arg: Matrix4): Matrix4;
2409
+ /**
2410
+ * Solve [A] * [x] = [b].
2411
+ */
2412
+ static solve2(A: Matrix4, x: Vector2, b: Vector2): void;
2413
+ /**
2414
+ * Solve [A] * [x] = [b].
2415
+ */
2416
+ static solve3(A: Matrix4, x: Vector3, b: Vector3): void;
2417
+ static solve(A: Matrix4, x: Vector4, b: Vector4): void;
2418
+ static tryInvert(other: Matrix4): Matrix4 | null;
2419
+ static identity(): Matrix4;
2420
+ static translation(translation: Vector3): Matrix4;
2421
+ static translationValues(x: number, y: number, z: number): Matrix4;
2422
+ static diagonal3(scale: Vector3): Matrix4;
2423
+ static diagonal3Values(x: number, y: number, z: number): Matrix4;
2424
+ static skewX(alpha: number): Matrix4;
2425
+ static skewY(beta: number): Matrix4;
2426
+ static skew(alpha: number, beta: number): Matrix4;
2427
+ constructor(arg0: number, arg1: number, arg2: number, arg3: number, arg4: number, arg5: number, arg6: number, arg7: number, arg8: number, arg9: number, arg10: number, arg11: number, arg12: number, arg13: number, arg14: number, arg15: number);
2428
+ /**
2429
+
2430
+ Return index in storage for [row], [col] value.
2431
+ */
2432
+ index(row: number, col: number): number;
2433
+ /**
2434
+
2435
+ Value at [row], [col].
2436
+ */
2437
+ entry(row: number, col: number): number;
2438
+ /**
2439
+
2440
+ Set value at [row], [col] to be [v].
2441
+ */
2442
+ setEntry(row: number, col: number, v: number): void;
2443
+ splatDiagonal(arg: number): void;
2444
+ setValues(arg0: number, arg1: number, arg2: number, arg3: number, arg4: number, arg5: number, arg6: number, arg7: number, arg8: number, arg9: number, arg10: number, arg11: number, arg12: number, arg13: number, arg14: number, arg15: number): void;
2445
+ /**
2446
+ * Sets the entire matrix to the column values.
2447
+ */
2448
+ setColumns(arg0: Vector4, arg1: Vector4, arg2: Vector4, arg3: Vector4): void;
2449
+ /**
2450
+
2451
+ Sets the entire matrix to the matrix in [arg].
2452
+ */
2453
+ setFrom(arg: Matrix4): void;
2454
+ setUpper2x2(arg: Matrix2): void;
2455
+ setDiagonal(arg: Vector4): void;
2456
+ setOuter(u: Vector4, v: Vector4): void;
2457
+ /** Returns row 0 */
2458
+ get row0(): Vector4;
2459
+ /** Returns row 1 */
2460
+ get row1(): Vector4;
2461
+ /** Returns row 2 */
2462
+ get row2(): Vector4;
2463
+ /** Returns row 3 */
2464
+ get row3(): Vector4;
2465
+ /** Sets row 0 to [arg] */
2466
+ set row0(arg: Vector4);
2467
+ /** Sets row 1 to [arg] */
2468
+ set row1(arg: Vector4);
2469
+ /** Sets row 2 to [arg] */
2470
+ set row2(arg: Vector4);
2471
+ /** Sets row 3 to [arg] */
2472
+ set row3(arg: Vector4);
2473
+ /** Assigns the [row] of the matrix [arg] */
2474
+ setRow(row: number, arg: Vector4): void;
2475
+ /** Gets the [row] of the matrix */
2476
+ getRow(row: number): Vector4;
2477
+ /**
2478
+ * Assigns the [column] of the matrix [arg]
2479
+ * @param column the column index
2480
+ * @param arg the vector to be assigned
2481
+ */
2482
+ setColumn(column: number, arg: Vector4): void;
2483
+ /**
2484
+ * Gets the [column] of the matrix
2485
+ * @param column the column index
2486
+ * @returns the column as a Vector4
2487
+ */
2488
+ getColumn(column: number): Vector4;
2489
+ /** Clone matrix. */
2490
+ clone(): Matrix4;
2491
+ /**
2492
+ * Copy into [arg].
2493
+ */
2494
+ copyInto(arg: Matrix4): Matrix4;
2495
+ /**
2496
+ * Translate this matrix by a [Vector3], [Vector4], or x,y,z
2497
+ * @param x the x coordinate or Vector3/Vector4 to translate by.
2498
+ * @param y the y coordinate or undefined if `x` is a Vector3/Vector4.
2499
+ * @param z the z coordinate or undefined if `x` is a Vector3/Vector4.
2500
+ */
2501
+ translate(x: Vector3 | Vector4 | number, y?: number, z?: number): this;
2502
+ translated(x: Vector3 | Vector4 | number, y?: number, z?: number): Matrix4;
2503
+ /**
2504
+ * Multiplies this matrix by a translation from the left.
2505
+ * The translation can be specified with a [Vector3], [Vector4], or x, y, z.
2506
+ */
2507
+ leftTranslate(x: Vector3 | Vector4 | number, y?: number, z?: number): this;
2508
+ /**
2509
+
2510
+ Rotate this matrix [angle] radians around [axis].
2511
+ */
2512
+ rotate(axis: Vector3, angle: number): this;
2513
+ rotateX(angle: number): this;
2514
+ /**
2515
+ * Rotate this matrix [angle] radians around Y
2516
+ */
2517
+ rotateY(angle: number): this;
2518
+ /**
2519
+ * Rotate this matrix [angle] radians around Z
2520
+ */
2521
+ rotateZ(angle: number): this;
2522
+ /**
2523
+ * Scale this matrix by a Vector3, Vector4, or x,y,z
2524
+ */
2525
+ scale(x: Vector3 | Vector4 | number, y?: number, z?: number): this;
2526
+ /**
2527
+ * Create a copy of this scaled by a [Vector3], [Vector4] or [x],[y], and [z].
2528
+ */
2529
+ scaled(x: Vector3 | Vector4 | number, y?: number, z?: number): Matrix4;
2530
+ setZero(): void;
2531
+ setIdentity(): void;
2532
+ transposed(): Matrix4;
2533
+ transpose(): void;
2534
+ /**
2535
+ * Returns the component wise absolute value of this.
2536
+ */
2537
+ absolute(): Matrix4;
2538
+ determinant(): number;
2539
+ /** Returns the dot product of row [i] and [v]. */
2540
+ dotRow(i: number, v: Vector4): number;
2541
+ /** Returns the dot product of column [j] and [v]. */
2542
+ dotColumn(j: number, v: Vector4): number;
2543
+ /** Returns the trace of the matrix. The trace of a matrix is the sum of the diagonal entries. */
2544
+ trace(): number;
2545
+ /**
2546
+ * Returns infinity norm of the matrix. Used for numerical analysis.
2547
+ */
2548
+ infinityNorm(): number;
2549
+ relativeError(correct: Matrix4): number;
2550
+ /**
2551
+ * Returns absolute error between this and [correct]
2552
+ */
2553
+ absoluteError(correct: Matrix4): number;
2554
+ getTranslation(): Vector3;
2555
+ setTranslation(t: Vector3): void;
2556
+ /**
2557
+ * Sets the translation vector in this homogeneous transformation matrix.
2558
+ */
2559
+ setTranslationRaw(x: number, y: number, z: number): void;
2560
+ getRotation(): Matrix3;
2561
+ copyRotation(rotation: Matrix3): void;
2562
+ setRotation(r: Matrix3): void;
2563
+ /**
2564
+ * Returns the normal matrix from this homogeneous transformation matrix. The normal
2565
+ * matrix is the transpose of the inverse of the top-left 3x3 part of this 4x4 matrix.
2566
+ */
2567
+ getMaxScaleOnAxis(): number;
2568
+ transposeRotation(): void;
2569
+ invert(): number;
2570
+ copyInverse(arg: Matrix4): number;
2571
+ invertRotation(): number;
2572
+ setRotationX(radians: number): void;
2573
+ setRotationY(radians: number): void;
2574
+ setRotationZ(radians: number): void;
2575
+ scaleAdjoint(scale: number): void;
2576
+ absoluteRotate(arg: Vector3): Vector3;
2577
+ add(o: Matrix4): void;
2578
+ sub(o: Matrix4): void;
2579
+ negate(): void;
2580
+ multiplyMatrix(arg: Matrix4): void;
2581
+ multipliedMatrix(arg: Matrix4): Matrix4;
2582
+ transposeMultiply(arg: Matrix4): void;
2583
+ multiplyTranspose(arg: Matrix4): void;
2584
+ rotate3(arg: Vector3): Vector3;
2585
+ transform(arg: Vector4): Vector4;
2586
+ perspectiveTransform(arg: Vector3): Vector3;
2587
+ copyIntoArray(array: number[], offset?: number): void;
2588
+ /**
2589
+ * Copies elements from `array` into this starting at `offset`.
2590
+ */
2591
+ copyFromArray(array: number[], offset?: number): void;
2592
+ get right(): Vector3;
2593
+ get up(): Vector3;
2594
+ get forward(): Vector3;
2595
+ isIdentity(): boolean;
2596
+ isZero(): boolean;
2597
+ }
2598
+
2599
+ declare enum StackFit {
2600
+ loose = "loose",
2601
+ expand = "expand",
2602
+ passthrough = "passthrough"
2603
+ }
2604
+
2605
+ declare class BorderRadius extends BorderRadiusGeometry {
2606
+ static all(radius: Radius$1): BorderRadius;
2607
+ static circular(radius: number): BorderRadius;
2608
+ static vertical({ top, bottom, }: {
2609
+ top?: Radius$1;
2610
+ bottom?: Radius$1;
2611
+ }): BorderRadius;
2612
+ static left({ left, right, }: {
2613
+ left?: Radius$1;
2614
+ right?: Radius$1;
2615
+ }): BorderRadius;
2616
+ static only({ topLeft, topRight, bottomLeft, bottomRight, }: {
2617
+ topLeft?: Radius$1;
2618
+ topRight?: Radius$1;
2619
+ bottomLeft?: Radius$1;
2620
+ bottomRight?: Radius$1;
2621
+ }): BorderRadius;
2622
+ plus(other: BorderRadiusGeometry): BorderRadiusGeometry;
2623
+ multiply(value: number): BorderRadiusGeometry;
2624
+ copyWith({ topLeft, topRight, bottomLeft, bottomRight, }: {
2625
+ topLeft?: Radius$1;
2626
+ topRight?: Radius$1;
2627
+ bottomLeft?: Radius$1;
2628
+ bottomRight?: Radius$1;
2629
+ }): BorderRadius;
2630
+ static zero: BorderRadius;
2631
+ toRRect(rect: Rect): RRect;
2632
+ }
2633
+
2634
+ declare enum BorderStyle$1 {
2635
+ normal = "normal"
2636
+ }
2637
+
2638
+ declare class Color extends Calculable {
2639
+ private readonly r;
2640
+ private readonly g;
2641
+ private readonly b;
2642
+ private readonly a;
2643
+ static of(value: string): Color;
2644
+ constructor({ r, g, b, a }: {
2645
+ r: number;
2646
+ g: number;
2647
+ b: number;
2648
+ a: number;
2649
+ });
2650
+ get value(): string;
2651
+ multiply(value: number): Color;
2652
+ plus(other: Color): Color;
2653
+ equals(other: Color): boolean;
2654
+ }
2655
+
2656
+ type StrokeAlign = -1 | 0 | 1;
2657
+ interface ShapeBorder {
2658
+ get dimensions(): EdgeInsetsGeometry;
2659
+ getInnerPath(rect: Rect): Path;
2660
+ getOuterPath(rect: Rect): Path;
2661
+ paint(svgEls: Record<string, SVGElement>, _: {
2662
+ rect: Rect;
2663
+ }): void;
2664
+ }
2665
+ declare class BorderSide extends Data {
2666
+ readonly color: Color;
2667
+ readonly width: number;
2668
+ readonly style: BorderStyle;
2669
+ readonly strokeAlign: number;
2670
+ constructor({ style, width, color, strokeAlign, }?: {
2671
+ color?: string | Color;
2672
+ width?: number;
2673
+ style?: BorderStyle;
2674
+ strokeAlign?: StrokeAlign;
2675
+ });
2676
+ static lerp(a: BorderSide, b: BorderSide, t: number): BorderSide;
2677
+ /**
2678
+ * @deprecated The method should not be used
2679
+ */
2680
+ equal(other: BorderSide): boolean;
2681
+ equals(other: BorderSide): boolean;
2682
+ static strokeAlignInside: -1;
2683
+ static strokeAlignCenter: 0;
2684
+ static strokeAlignOutside: 1;
2685
+ static get none(): BorderSide;
2686
+ get strokeInset(): number;
2687
+ get strokeOutset(): number;
2688
+ get strokeOffset(): number;
2689
+ paint(path: SVGPathElement): void;
2690
+ }
2691
+ type BorderStyle = "solid" | "none";
2692
+
2693
+ declare class BoxShadow extends Calculable {
2694
+ readonly color: Color;
2695
+ readonly offset: Offset$1;
2696
+ readonly blurRadius: number;
2697
+ constructor({ color, offset, blurRadius, }?: {
2698
+ color?: string | Color;
2699
+ offset?: {
2700
+ x: number;
2701
+ y: number;
2702
+ };
2703
+ blurRadius?: number;
2704
+ });
2705
+ static equals(targets: BoxShadow[], others: BoxShadow[]): boolean;
2706
+ static lerp(a: BoxShadow[], b: BoxShadow[], t: number): BoxShadow[];
2707
+ plus(other: BoxShadow): BoxShadow;
2708
+ multiply(value: number): BoxShadow;
2709
+ equals(other: BoxShadow): boolean;
2710
+ /**
2711
+ * @deprecated The method should not be used
2712
+ */
2713
+ eqaul(other: BoxShadow): boolean;
2714
+ }
2715
+
2716
+ type Decoration = BoxDecoration;
2717
+ declare class BoxDecoration extends Data {
2718
+ readonly color: Color;
2719
+ readonly border?: Border;
2720
+ readonly borderRadius?: BorderRadiusGeometry;
2721
+ readonly boxShadow?: BoxShadow[];
2722
+ readonly shape: BoxShape;
2723
+ static lerp(a: BoxDecoration, b: BoxDecoration, t: number): BoxDecoration;
2724
+ equals(other: BoxDecoration): boolean;
2725
+ /**
2726
+ * @deprecated The method should not be used
2727
+ */
2728
+ equal(other: BoxDecoration): boolean;
2729
+ constructor({ color, border, borderRadius, shape, boxShadow, }: {
2730
+ color?: string | Color;
2731
+ border?: BoxBorder;
2732
+ borderRadius?: BorderRadiusGeometry;
2733
+ shape?: BoxShape;
2734
+ boxShadow?: BoxShadow[];
2735
+ });
2736
+ get padding(): EdgeInsetsGeometry | undefined;
2737
+ getClipPath(rect: Rect): Path;
2738
+ createBoxPainter(): BoxPainter;
2739
+ }
2740
+ type BoxShape = "rectangle" | "circle";
2741
+ interface BoxPainter {
2742
+ paint(svgEls: Record<string, SVGElement>, size: Size): void;
2743
+ }
2744
+
2745
+ declare class _BoxBorder extends Data implements ShapeBorder {
2746
+ get dimensions(): EdgeInsetsGeometry;
2747
+ getInnerPath(rect: Rect): Path;
2748
+ getOuterPath(rect: Rect): Path;
2749
+ paint(_: BorderPathEls, __: {
2750
+ rect: Rect;
2751
+ borderRadius?: BorderRadiusGeometry;
2752
+ shape?: BoxShape;
2753
+ }): void;
2754
+ /**
2755
+ * @deprecated The method should not be used
2756
+ */
2757
+ equal(_: BoxBorder): boolean;
2758
+ protected static paintUniformBorderWidthRadius(paths: BorderPathEls, { side, borderRadius, rect, }: {
2759
+ side: BorderSide;
2760
+ borderRadius: BorderRadiusGeometry;
2761
+ rect: Rect;
2762
+ }): void;
2763
+ protected static paintUniformBorderWidthCircle(paths: BorderPathEls, { side, rect }: {
2764
+ side: BorderSide;
2765
+ rect: Rect;
2766
+ }): void;
2767
+ protected static paintUniformBorderWidthRectangle(paths: BorderPathEls, { side, rect }: {
2768
+ side: BorderSide;
2769
+ rect: Rect;
2770
+ }): void;
2771
+ }
2772
+ declare class Border extends _BoxBorder {
2773
+ top: BorderSide;
2774
+ right: BorderSide;
2775
+ bottom: BorderSide;
2776
+ left: BorderSide;
2777
+ constructor({ top, right, bottom, left, }: {
2778
+ top?: BorderSide;
2779
+ right?: BorderSide;
2780
+ bottom?: BorderSide;
2781
+ left?: BorderSide;
2782
+ });
2783
+ static lerp(a: Border, b: Border, t: number): Border;
2784
+ equals(other: BoxBorder): boolean;
2785
+ /**
2786
+ * @deprecated The method should not be used
2787
+ */
2788
+ equal(other: BoxBorder): boolean;
2789
+ static fromBorderSide(side: BorderSide): Border;
2790
+ static symmetric({ vertical, horizontal, }: {
2791
+ vertical?: BorderSide;
2792
+ horizontal?: BorderSide;
2793
+ }): Border;
2794
+ static all({ color, width, style, strokeAlign, }?: {
2795
+ color?: string;
2796
+ width?: number;
2797
+ style?: BorderStyle;
2798
+ strokeAlign?: StrokeAlign;
2799
+ }): Border;
2800
+ get dimensions(): EdgeInsetsGeometry;
2801
+ get isUniform(): boolean;
2802
+ paint(paths: BorderPathEls, { rect, borderRadius, shape, }: {
2803
+ rect: Rect;
2804
+ borderRadius?: BorderRadiusGeometry;
2805
+ shape?: BoxShape;
2806
+ }): void;
2807
+ private paintBorder;
2808
+ private get _colorIsUniform();
2809
+ private get _widthIsUniform();
2810
+ private get _styleIsUniform();
2811
+ private get _strokeAlignIsUniform();
2812
+ }
2813
+ type BorderPathEls = {
2814
+ top: SVGPathElement;
2815
+ bottom: SVGPathElement;
2816
+ left: SVGPathElement;
2817
+ right: SVGPathElement;
2818
+ };
2819
+ type BoxBorder = Border;
2820
+
2821
+ declare enum TextAlign {
2822
+ left = "left",
2823
+ right = "right",
2824
+ center = "center",
2825
+ start = "start",
2826
+ end = "end"
2827
+ }
2828
+
2829
+ declare enum TextOverflow {
2830
+ clip = "clip",
2831
+ visible = "visible",
2832
+ ellipsis = "ellipsis"
2833
+ }
2834
+
2835
+ declare enum TextWidthBasis {
2836
+ parent = "parent",
2837
+ longestLine = "longestLine"
2838
+ }
2839
+
2840
+ declare enum TextBaseline {
2841
+ alphabetic = "alphabetic",
2842
+ ideographic = "ideographic"
2843
+ }
2844
+
2845
+ declare class TextStyle {
2846
+ inherit: boolean;
2847
+ color?: string;
2848
+ fontSize?: number;
2849
+ fontWeight?: string;
2850
+ fontFamily?: string;
2851
+ textBaseline?: string;
2852
+ fontStyle?: FontStyle;
2853
+ height?: number;
2854
+ equals(other: TextStyle): boolean;
2855
+ constructor({ inherit, color, fontSize, fontWeight, fontFamily, textBaseline, fontStyle, height, }?: TextStyleProps);
2856
+ copyWidth({ inherit, color, fontSize, fontWeight, fontFamily, textBaseline, fontStyle, height, }: TextStyleProps): TextStyle;
2857
+ merge(other?: TextStyle): TextStyle;
2858
+ getParagraphStyle({ textAlign, textDirection, maxLines, fontFamily, fontSize, fontWeight, fontStyle, ellipsis, height, textScaleFactor, }: {
2859
+ textAlign?: TextAlign;
2860
+ textDirection?: TextDirection;
2861
+ maxLines?: number;
2862
+ fontFamily?: string;
2863
+ fontSize?: number;
2864
+ fontWeight?: string;
2865
+ fontStyle?: FontStyle;
2866
+ ellipsis?: string;
2867
+ height?: number;
2868
+ textScaleFactor?: number;
2869
+ }): ParagraphStyle;
2870
+ }
2871
+ type TextStyleProps = {
2872
+ inherit?: boolean;
2873
+ color?: string;
2874
+ fontSize?: number;
2875
+ fontWeight?: string;
2876
+ textBaseline?: string;
2877
+ fontFamily?: string;
2878
+ fontStyle?: FontStyle;
2879
+ height?: number;
2880
+ };
2881
+
2882
+ declare class ParagraphStyle {
2883
+ textAlign?: TextAlign;
2884
+ textDirection?: TextDirection;
2885
+ maxLines?: number;
2886
+ fontFamily?: string;
2887
+ fontSize?: number;
2888
+ fontWeight?: string;
2889
+ fontStyle?: FontStyle;
2890
+ ellipsis?: string;
2891
+ height?: number;
2892
+ constructor({ textAlign, textDirection, maxLines, fontFamily, fontSize, fontStyle, fontWeight, ellipsis, height, }: {
2893
+ textAlign?: TextAlign;
2894
+ textDirection?: TextDirection;
2895
+ maxLines?: number;
2896
+ fontFamily?: string;
2897
+ fontSize?: number;
2898
+ fontWeight?: string;
2899
+ fontStyle?: FontStyle;
2900
+ ellipsis?: string;
2901
+ height?: number;
2902
+ });
2903
+ }
2904
+ declare enum FontStyle {
2905
+ normal = "normal",
2906
+ italic = "italic"
2907
+ }
2908
+
2909
+ declare class Paragraph {
2910
+ ellipsis?: string;
2911
+ source: Span[];
2912
+ lines: ParagraphLine[];
2913
+ textDirection: TextDirection;
2914
+ textAlign: TextAlign;
2915
+ constructor(text: InlineSpan | null, { textAlign, ellipsis, textDirection, }: {
2916
+ textAlign: TextAlign;
2917
+ ellipsis?: string;
2918
+ textDirection: TextDirection;
2919
+ });
2920
+ build(text: InlineSpan | null): void;
2921
+ width: number;
2922
+ get height(): number;
2923
+ get longestLine(): number;
2924
+ get intrinsicWidth(): number;
2925
+ get intrinsicHeight(): number;
2926
+ layout(width?: number): void;
2927
+ private addLine;
2928
+ private align;
2929
+ get resolvedTextAlign(): "left" | "right" | "center";
2930
+ addText({ fontFamily, fontSize, fontWeight, content, height, fontStyle, color, }: {
2931
+ fontSize?: number;
2932
+ fontFamily?: string;
2933
+ content?: string;
2934
+ fontStyle?: FontStyle;
2935
+ fontWeight?: string;
2936
+ color?: string;
2937
+ height?: number;
2938
+ }): void;
2939
+ }
2940
+ type Span = {
2941
+ fontSize: number;
2942
+ fontFamily: string;
2943
+ fontWeight: string;
2944
+ fontStyle: FontStyle;
2945
+ color: string;
2946
+ content: string;
2947
+ height: number;
2948
+ };
2949
+ declare class SpanBox {
2950
+ fontSize: number;
2951
+ fontFamily: string;
2952
+ fontWeight: string;
2953
+ fontStyle: FontStyle;
2954
+ color: string;
2955
+ content: string;
2956
+ height: number;
2957
+ size: {
2958
+ width: number;
2959
+ height: number;
2960
+ };
2961
+ offset: {
2962
+ x: number;
2963
+ y: number;
2964
+ };
2965
+ constructor({ fontFamily, fontSize, fontStyle, fontWeight, color, content, height, size, }: Span & {
2966
+ size: {
2967
+ width: number;
2968
+ height: number;
2969
+ };
2970
+ });
2971
+ }
2972
+ declare class ParagraphLine {
2973
+ spanBoxes: SpanBox[];
2974
+ get height(): number;
2975
+ get width(): number;
2976
+ layout(textAlign: "left" | "right" | "center", { paragraphWidth, offsetY }: {
2977
+ offsetY: number;
2978
+ paragraphWidth: number;
2979
+ }): void;
2980
+ private alignHorizontally;
2981
+ addSpanBox(spanBox: SpanBox): void;
2982
+ }
2983
+
2984
+ declare class InlineSpan {
2985
+ style?: TextStyle;
2986
+ static equals(targets: InlineSpan[], values: InlineSpan[]): boolean;
2987
+ eqauls(other: InlineSpan): boolean;
2988
+ constructor({ style }: {
2989
+ style?: TextStyle;
2990
+ });
2991
+ protected computeToPlainText(): string;
2992
+ build(_paragraph: Paragraph, _inheritedStyle?: TextStyle): void;
2993
+ visitChildren(_visitor: (span: InlineSpan) => void): void;
2994
+ toPlainText(): string;
2995
+ }
2996
+
2997
+ declare class TextSpan extends InlineSpan {
2998
+ text?: string;
2999
+ children: InlineSpan[];
3000
+ eqauls(other: TextSpan): boolean;
3001
+ constructor({ style, text, children, }: {
3002
+ style?: TextStyle;
3003
+ text?: string;
3004
+ children?: InlineSpan[];
3005
+ });
3006
+ visitChildren(visitor: (span: InlineSpan) => void): void;
3007
+ protected computeToPlainText(): string;
3008
+ build(paragraph: Paragraph, parentStyle?: TextStyle): void;
3009
+ }
3010
+
3011
+ declare enum ToolTipPosition {
3012
+ topCenter = "topCenter",
3013
+ topLeft = "topLeft",
3014
+ topRight = "topRight",
3015
+ bottomCenter = "bottomCenter",
3016
+ bottomLeft = "bottomLeft",
3017
+ bottomRight = "bottomRight",
3018
+ center = "center",
3019
+ centerLeft = "centerLeft",
3020
+ centerRight = "centerRight"
3021
+ }
3022
+
3023
+ declare class MultiChildRenderObject extends RenderObject {
3024
+ }
3025
+
3026
+ declare class RenderBox extends RenderObject {
3027
+ }
3028
+
3029
+ declare class ComponentElement extends Element {
3030
+ child: Element;
3031
+ widget: Widget;
3032
+ constructor(widget: Widget);
3033
+ unmount(): void;
3034
+ mount(newParent?: Element | undefined): void;
3035
+ update(newWidget: Widget): void;
3036
+ initState(): void;
3037
+ build(): Widget;
3038
+ _firstBuild(): void;
3039
+ performRebuild(): void;
3040
+ visitChildren(visitor: (child: Element) => void): void;
3041
+ }
3042
+
3043
+ declare class RenderObjectWidget extends Widget {
3044
+ children: Widget[];
3045
+ constructor({ children, key }: {
3046
+ children: Widget[];
3047
+ key?: any;
3048
+ });
3049
+ createElement(): RenderObjectElement;
3050
+ createRenderObject(): RenderObject;
3051
+ updateRenderObject(renderObject: RenderObject): void;
3052
+ }
3053
+
3054
+ declare class RenderObjectElement extends Element {
3055
+ children: Element[];
3056
+ _renderObject: RenderObject;
3057
+ createRenderObject(): RenderObject;
3058
+ get renderObject(): RenderObject;
3059
+ constructor(widget: RenderObjectWidget);
3060
+ unmount(): void;
3061
+ mount(newParent?: Element | undefined): void;
3062
+ update(newWidget: Widget): void;
3063
+ updateChildren(newWidgets: Widget[]): void;
3064
+ performRebuild(): void;
3065
+ visitChildren(visitor: (child: Element) => void): void;
3066
+ private ancestorRenderObjectElement;
3067
+ private findAncestorRenderObjectElement;
3068
+ }
3069
+
3070
+ declare class MultiChildRenderObjectWidget extends RenderObjectWidget {
3071
+ }
3072
+
3073
+ declare class SingleChildRenderObject extends RenderObject {
3074
+ get child(): RenderObject | undefined;
3075
+ protected preformLayout(): void;
3076
+ protected computeSizeForNoChild(constraints: Constraints): Size;
3077
+ getIntrinsicWidth(height: number): number;
3078
+ getIntrinsicHeight(width: number): number;
3079
+ }
3080
+
3081
+ declare class SingleChildRenderObjectWidget extends RenderObjectWidget {
3082
+ constructor({ child, key }?: {
3083
+ child?: Widget;
3084
+ key?: any;
3085
+ });
3086
+ protected _child?: Widget;
3087
+ set child(value: Widget | undefined);
3088
+ get child(): Widget | undefined;
3089
+ createRenderObject(): SingleChildRenderObject;
3090
+ }
3091
+
3092
+ declare class RenderObjectToWidgetAdapter extends RenderObjectWidget {
3093
+ renderOwner: RenderOwner;
3094
+ buildOwner: BuildOwner;
3095
+ renderContext: RenderContext;
3096
+ scheduler: Scheduler;
3097
+ constructor({ app, renderOwner, buildOwner, renderContext, scheduler, }: {
3098
+ app: Widget;
3099
+ renderOwner: RenderOwner;
3100
+ buildOwner: BuildOwner;
3101
+ renderContext: RenderContext;
3102
+ scheduler: Scheduler;
3103
+ });
3104
+ createElement(): RenderObjectElement;
3105
+ createRenderObject(): RenderObject;
3106
+ updateRenderObject(renderObject: RenderObject): void;
3107
+ }
3108
+
3109
+ declare class StatelessWidget extends Widget {
3110
+ createElement(): StatelessElement;
3111
+ initState(_: Element): void;
3112
+ build(_: Element): Widget;
3113
+ }
3114
+
3115
+ declare class StatefulWidget extends Widget {
3116
+ createElement(): StatefulElement;
3117
+ createState(): State<StatefulWidget>;
3118
+ }
3119
+
3120
+ declare abstract class Listenable {
3121
+ addListener(_listener: VoidCallback): void;
3122
+ removeListener(_listener: VoidCallback): void;
3123
+ }
3124
+
3125
+ declare abstract class Animation<T> extends Listenable {
3126
+ get value(): T;
3127
+ status: "completed" | "dismissed" | "forward" | "reverse";
3128
+ get isDismissed(): boolean;
3129
+ get isCompleted(): boolean;
3130
+ }
3131
+
3132
+ declare class AnimationController extends Animation<number> {
3133
+ isAnimating: boolean;
3134
+ get isDismissed(): boolean;
3135
+ get isCompleted(): boolean;
3136
+ _value: number;
3137
+ get value(): number;
3138
+ private set value(value);
3139
+ private internalSetValue;
3140
+ private direction;
3141
+ private readonly lowerBound;
3142
+ private readonly upperBound;
3143
+ duration: number;
3144
+ private animation;
3145
+ private listeners;
3146
+ constructor({ value, duration, lowerBound, upperBound, }: {
3147
+ value?: number;
3148
+ lowerBound?: number;
3149
+ upperBound?: number;
3150
+ duration: number;
3151
+ });
3152
+ reset(): this;
3153
+ forward({ from }?: {
3154
+ from?: number;
3155
+ }): this;
3156
+ reverse({ from }?: {
3157
+ from?: number;
3158
+ }): this;
3159
+ repeat({ reverse }?: {
3160
+ reverse?: boolean;
3161
+ }): this;
3162
+ stop(): void;
3163
+ dispose(): void;
3164
+ private animate;
3165
+ addListener(callback: () => void): void;
3166
+ removeListener(callback: () => void): void;
3167
+ clearListeners(): void;
3168
+ notifyListeners(): void;
3169
+ }
3170
+
3171
+ declare class Curve {
3172
+ private transfromInternal;
3173
+ constructor(transform: (_: number) => number);
3174
+ transform(value: number): number;
3175
+ }
3176
+
3177
+ declare const _default$h: {
3178
+ linear: Curve;
3179
+ easeIn: Curve;
3180
+ easeInOut: Curve;
3181
+ easeOut: Curve;
3182
+ circIn: Curve;
3183
+ circInOut: Curve;
3184
+ circOut: Curve;
3185
+ backIn: Curve;
3186
+ backInOut: Curve;
3187
+ backOut: Curve;
3188
+ anticipate: Curve;
3189
+ bounceIn: Curve;
3190
+ bounceInOut: Curve;
3191
+ bounceOut: Curve;
3192
+ };
3193
+
3194
+ declare abstract class Animatable<T> {
3195
+ transform(_value: number): T;
3196
+ evaluate(animation: Animation<number>): T;
3197
+ animated(animation: Animation<number>): Animation<T>;
3198
+ }
3199
+
3200
+ declare class Tween<T extends number | Data = number | Data> extends Animatable<T> {
3201
+ begin: T;
3202
+ end: T;
3203
+ constructor({ begin, end }: {
3204
+ begin: T;
3205
+ end?: T;
3206
+ });
3207
+ transform(value: number): T;
3208
+ protected lerp(t: number): T;
3209
+ }
3210
+
3211
+ declare class CurvedAnimation extends Animation<number> {
3212
+ parent: Animation<number>;
3213
+ curve: Curve;
3214
+ constructor({ parent, curve, }: {
3215
+ parent: Animation<number>;
3216
+ curve?: Curve;
3217
+ });
3218
+ get value(): number;
3219
+ dispose(): void;
3220
+ }
3221
+
3222
+ declare class CalculableTween<T extends Calculable> extends Tween<T> {
3223
+ protected lerp(t: number): T;
3224
+ }
3225
+
3226
+ declare class StatefulElement extends ComponentElement {
3227
+ state: State<StatefulWidget>;
3228
+ constructor(widget: StatefulWidget);
3229
+ initState(): void;
3230
+ build(): Widget;
3231
+ unmount(): void;
3232
+ update(newWidget: StatefulWidget): void;
3233
+ }
3234
+ declare class State<T extends StatefulWidget> {
3235
+ widget: T;
3236
+ element: StatefulElement;
3237
+ initState(_context: Element): void;
3238
+ build(_context: Element): Widget;
3239
+ setState(callback?: () => any): void;
3240
+ dispose(): void;
3241
+ didUpdateWidget(_oldWidget: T): void;
3242
+ }
3243
+
3244
+ declare class ImplicitlyAnimatedWidget extends StatefulWidget {
3245
+ curve: Curve;
3246
+ duration: number;
3247
+ constructor({ key, curve, duration, }: {
3248
+ key?: any;
3249
+ curve?: Curve;
3250
+ duration: number;
3251
+ });
3252
+ createState(): State<StatefulWidget>;
3253
+ }
3254
+
3255
+ declare class ImplicitlyAnimatedWidgetState<T extends ImplicitlyAnimatedWidget> extends State<T> {
3256
+ protected controller: AnimationController;
3257
+ protected animation: CurvedAnimation;
3258
+ constructor();
3259
+ initState(context: Element): void;
3260
+ didUpdateWidget(oldWidget: T): void;
3261
+ private createCurve;
3262
+ private constructTweens;
3263
+ private updateTween;
3264
+ private shouldAnimateTween;
3265
+ didUpdateTweens(): void;
3266
+ forEachTween(_: <V extends Data | number, T extends Tween<V>>(props: {
3267
+ tween: T | Nullable;
3268
+ targetValue: V | Nullable;
3269
+ constructor: (value: V) => T;
3270
+ }) => T | Nullable): void;
3271
+ dispose(): void;
3272
+ }
3273
+ declare class AnimatedBaseWidgetState<T extends ImplicitlyAnimatedWidget> extends ImplicitlyAnimatedWidgetState<T> {
3274
+ initState(context: Element): void;
3275
+ private handleChange;
3276
+ }
3277
+
3278
+ declare class StatelessElement extends ComponentElement {
3279
+ initState(): void;
3280
+ build(): Widget;
3281
+ }
3282
+
3283
+ declare class GlobalKey {
3284
+ buildOwner: BuildOwner;
3285
+ get currentContext(): Element;
3286
+ }
3287
+
3288
+ declare class BuildOwner {
3289
+ private onNeedVisualUpdate;
3290
+ private dirtyElements;
3291
+ private globalKeyRegistry;
3292
+ constructor({ onNeedVisualUpdate }: {
3293
+ onNeedVisualUpdate: () => void;
3294
+ });
3295
+ scheduleFor(elememt: Element): void;
3296
+ private requestVisualUpdate;
3297
+ flushBuild(): void;
3298
+ registerGlobalKey(key: GlobalKey, elememt: Element): void;
3299
+ findByGlobalKey(key: GlobalKey): Element;
3300
+ }
3301
+
3302
+ declare class RenderOwner {
3303
+ paintContext: PaintContext;
3304
+ private onNeedVisualUpdate;
3305
+ needsPaintRenderObjects: RenderObject[];
3306
+ needsLayoutRenderObjects: RenderObject[];
3307
+ renderView: RenderObject;
3308
+ constructor({ onNeedVisualUpdate, paintContext, }: {
3309
+ onNeedVisualUpdate: () => void;
3310
+ paintContext: PaintContext;
3311
+ });
3312
+ requestVisualUpdate(): void;
3313
+ drawFrame(): void;
3314
+ domOrderChanged: boolean;
3315
+ private rearrangeDomOrder;
3316
+ didDomOrderChange(): void;
3317
+ private flushLayout;
3318
+ private flushPaint;
3319
+ }
3320
+
3321
+ declare class Scheduler {
3322
+ phase: SchedulerPhase;
3323
+ private persistenceCallbacks;
3324
+ private postFrameCallbacks;
3325
+ constructor();
3326
+ schedule(): void;
3327
+ private performSchedule;
3328
+ addPersistenceCallbacks(callback: () => void): void;
3329
+ addPostFrameCallbacks(callback: () => void): void;
3330
+ }
3331
+ declare enum SchedulerPhase {
3332
+ idle = 0,
3333
+ persistenceCallbacks = 1,
3334
+ postFrameCallbacks = 2
3335
+ }
3336
+
3337
+ declare class RenderFrameDispatcher {
3338
+ private onFrame?;
3339
+ constructor({ onFrame }?: {
3340
+ onFrame?: () => void;
3341
+ });
3342
+ setOnFrame(callback: () => void): void;
3343
+ dispatch(): void;
3344
+ }
3345
+
3346
+ declare class RenderView extends RenderObject {
3347
+ constructor({ renderOwner }: {
3348
+ renderOwner: RenderOwner;
3349
+ });
3350
+ preformLayout(): void;
3351
+ paint(context: PaintContext, clipId?: string, matrix4?: Matrix4, opacity?: number): void;
3352
+ }
3353
+
3354
+ declare class RenderAligningShiftedBox extends SingleChildRenderObject {
3355
+ _alignment: Alignment;
3356
+ get alignment(): Alignment;
3357
+ set alignment(value: Alignment);
3358
+ _textDirection: TextDirection;
3359
+ get textDirection(): TextDirection;
3360
+ set textDirection(value: TextDirection);
3361
+ constructor({ alignment, textDirection, }: {
3362
+ alignment?: Alignment;
3363
+ textDirection: TextDirection;
3364
+ });
3365
+ private get resolvedAlignment();
3366
+ alignChild(): void;
3367
+ }
3368
+
3369
+ declare class BaseZIndex extends SingleChildRenderObjectWidget {
3370
+ zIndex: number;
3371
+ constructor({ key, child, zIndex, }: {
3372
+ key?: any;
3373
+ child?: Widget;
3374
+ zIndex: number;
3375
+ });
3376
+ createRenderObject(): SingleChildRenderObject;
3377
+ updateRenderObject(renderObject: RenderZIndex): void;
3378
+ }
3379
+ declare class RenderZIndex extends SingleChildRenderObject {
3380
+ #private;
3381
+ get zIndex(): number;
3382
+ set zIndex(value: number);
3383
+ constructor({ zIndex }: {
3384
+ zIndex: number;
3385
+ });
3386
+ accept(visitor: RenderObjectVisitor): void;
3387
+ }
3388
+
3389
+ interface RenderObjectVisitor {
3390
+ visitZIndex(renderObject: RenderZIndex): any;
3391
+ visitGeneral(renderObject: RenderObject): any;
3392
+ }
3393
+
3394
+ declare class RenderObject {
3395
+ #private;
3396
+ readonly isPainter: boolean;
3397
+ ownerElement: RenderObjectElement;
3398
+ renderOwner: RenderOwner;
3399
+ parent?: RenderObject;
3400
+ needsPaint: boolean;
3401
+ needsLayout: boolean;
3402
+ clipId?: string;
3403
+ matrix: Matrix4;
3404
+ opacity: number;
3405
+ depth: number;
3406
+ get domOrder(): number;
3407
+ set domOrder(newOrder: number);
3408
+ get domNode(): SVGElement;
3409
+ protected set domNode(el: SVGElement);
3410
+ constructor({ isPainter }: {
3411
+ isPainter: boolean;
3412
+ });
3413
+ type: string;
3414
+ get children(): RenderObject[];
3415
+ constraints: Constraints;
3416
+ private _offset;
3417
+ get offset(): Offset$1;
3418
+ set offset(value: Offset$1);
3419
+ private _size;
3420
+ get size(): Size;
3421
+ set size(value: Size);
3422
+ parentUsesSize: boolean;
3423
+ layout(constraint: Constraints, { parentUsesSize }?: {
3424
+ parentUsesSize?: boolean;
3425
+ }): void;
3426
+ paint(context: PaintContext, clipId?: string, matrix4?: Matrix4, opacity?: number): void;
3427
+ paintChildren(context: PaintContext, { clipId, matrix4, opacity, }: {
3428
+ clipId?: string;
3429
+ matrix4: Matrix4;
3430
+ opacity: number;
3431
+ }): void;
3432
+ protected getChildMatrix4(parentMatrix: Matrix4): Matrix4;
3433
+ protected getChildOpacity(parentOpacity: number): number;
3434
+ private setSvgTransform;
3435
+ attach(ownerElement: RenderObjectElement): void;
3436
+ dispose(_: PaintContext): void;
3437
+ getIntrinsicWidth(_height: number): number;
3438
+ getIntrinsicHeight(_width: number): number;
3439
+ mountSvgEl(context: PaintContext): void;
3440
+ protected resolveSvgEl(): {
3441
+ svgEls: Record<string, SVGElement>;
3442
+ container: SVGElement;
3443
+ };
3444
+ rearrangeDomOrder(): void;
3445
+ protected createDefaultSvgEl(paintContext: PaintContext): {
3446
+ [key: string]: SVGElement;
3447
+ };
3448
+ protected preformLayout(): void;
3449
+ protected performPaint(_svgEls: {
3450
+ [key: string]: SVGElement;
3451
+ }, _context: PaintContext): void;
3452
+ protected getChildClipId(parentClipId?: string): string;
3453
+ layoutWithoutResize(): void;
3454
+ paintWithoutLayout(context: PaintContext): void;
3455
+ markNeedsParentLayout(): void;
3456
+ protected markNeedsLayout(): void;
3457
+ protected markNeedsPaint(): void;
3458
+ protected didChangeDomOrder(): void;
3459
+ localToGlobal(additionalOffset?: Offset$1): Offset$1;
3460
+ visitChildren(callback: (child: RenderObject) => void): void;
3461
+ /**
3462
+ *
3463
+ * It is currently only used on ZIndexRenderObject
3464
+ */
3465
+ accept(visitor: RenderObjectVisitor): void;
3466
+ }
3467
+
3468
+ declare class Element {
3469
+ scheduler: Scheduler;
3470
+ renderContext: RenderContext;
3471
+ buildOwner: BuildOwner;
3472
+ widget: Widget;
3473
+ parent?: Element;
3474
+ dirty: boolean;
3475
+ depth: number;
3476
+ constructor(widget: Widget);
3477
+ visitChildren(visitor: (child: Element) => void): void;
3478
+ get renderObject(): RenderObject;
3479
+ updateChild(child?: Element | null, newWidget?: Widget | null): Element | null | undefined;
3480
+ unmount(): void;
3481
+ mount(newParent?: Element): void;
3482
+ update(newWidget: Widget): void;
3483
+ inflateWidget(childWidget: Widget): Element;
3484
+ rebuild({ force }?: {
3485
+ force?: boolean;
3486
+ }): void;
3487
+ protected performRebuild(): void;
3488
+ markNeedsBuild(): void;
3489
+ }
3490
+
3491
+ declare class Widget {
3492
+ key?: any;
3493
+ constructor(key?: any);
3494
+ runtimeType: string;
3495
+ createElement(): Element;
3496
+ static canUpdate(oldWidget: Widget, newWidget: Widget): boolean;
3497
+ toJSON(): {
3498
+ key: any;
3499
+ runtimeType: string;
3500
+ };
3501
+ }
3502
+
3503
+ type AppRunnerProps = {
3504
+ document?: Document;
3505
+ window?: Window;
3506
+ view: SVGSVGElement;
3507
+ ssrSize?: {
3508
+ width: number;
3509
+ height: number;
3510
+ };
3511
+ };
3512
+ declare class AppRunner {
3513
+ private root;
3514
+ private renderContext;
3515
+ private viewSize?;
3516
+ private buildOwner;
3517
+ private renderOwner;
3518
+ private scheduler;
3519
+ private renderDispatcher;
3520
+ constructor({ view, document: _document, window: _window, ssrSize, }: AppRunnerProps);
3521
+ private didRun;
3522
+ private widget;
3523
+ runApp(widget: Widget): string;
3524
+ setConfig({ document, window, view, }: {
3525
+ document?: Document;
3526
+ window?: Window;
3527
+ view?: SVGSVGElement;
3528
+ }): void;
3529
+ onMount({ view, resizeTarget: resizeTarget, }: {
3530
+ view?: SVGSVGElement;
3531
+ resizeTarget?: HTMLElement;
3532
+ }): void;
3533
+ observeCanvasSize(target: HTMLElement): void;
3534
+ draw(): void;
3535
+ rebuild(): void;
3536
+ layout(): void;
3537
+ paint(): void;
3538
+ }
3539
+ declare class RenderContext {
3540
+ document: Document;
3541
+ window: Window;
3542
+ view: SVGSVGElement;
3543
+ constructor({ document, window, view, }: {
3544
+ document: Document;
3545
+ window: Window;
3546
+ view: SVGSVGElement;
3547
+ });
3548
+ setConfig({ document, window, view, }: {
3549
+ document: Document;
3550
+ window: Window;
3551
+ view: SVGSVGElement;
3552
+ }): void;
3553
+ get paintContext(): PaintContext;
3554
+ }
3555
+
3556
+ declare class Provider<ProviderKey, Value> extends Widget {
3557
+ providerKey: ProviderKey;
3558
+ value: Value;
3559
+ child: Widget;
3560
+ constructor({ child, providerKey, value, }: {
3561
+ child: Widget;
3562
+ providerKey: ProviderKey;
3563
+ value: Value;
3564
+ });
3565
+ static of<V>(key: unknown, context: Element): V;
3566
+ createElement(): ProviderElement;
3567
+ }
3568
+ declare class ProviderElement extends Element {
3569
+ widget: Provider<unknown, unknown>;
3570
+ child: Element;
3571
+ get providerKey(): unknown;
3572
+ get value(): unknown;
3573
+ visitChildren(visitor: (child: Element) => void): void;
3574
+ mount(newParent?: Element | undefined): void;
3575
+ update(newWidget: Widget): void;
3576
+ protected performRebuild(): void;
3577
+ constructor(widget: Provider<unknown, unknown>);
3578
+ }
3579
+ type ProviderProps<ProviderKey, Value> = {
3580
+ providerKey: ProviderKey;
3581
+ value: Value;
3582
+ child: Widget;
3583
+ };
3584
+ declare function ProviderFn<ProviderKey, Value>(props: ProviderProps<ProviderKey, Value>): Provider<ProviderKey, Value>;
3585
+ declare namespace ProviderFn {
3586
+ var of: typeof Provider.of;
3587
+ }
3588
+
3589
+ declare class ChangeNotifier extends Listenable {
3590
+ private listners;
3591
+ addListener(listener: VoidCallback): void;
3592
+ notifyListeners(): void;
3593
+ }
3594
+
3595
+ declare class ChangeNotifierProvider extends StatefulWidget {
3596
+ child: Widget;
3597
+ create: () => ChangeNotifier;
3598
+ providerKey: any;
3599
+ constructor({ child, create, key, providerKey, }: {
3600
+ child: Widget;
3601
+ create: () => ChangeNotifier;
3602
+ key?: string;
3603
+ providerKey: any;
3604
+ });
3605
+ createState(): ChangeNotifierProviderState;
3606
+ }
3607
+ declare class ChangeNotifierProviderState extends State<ChangeNotifierProvider> {
3608
+ value: ChangeNotifier;
3609
+ initState(_: Element): void;
3610
+ build(_: Element): Widget;
3611
+ }
3612
+ declare const _default$g: (props_0: {
3613
+ child: Widget;
3614
+ create: () => ChangeNotifier;
3615
+ key?: string;
3616
+ providerKey: any;
3617
+ }) => ChangeNotifierProvider;
3618
+
3619
+ declare function ReactiveChangeNotifier<V>(value: V): V & ChangeNotifier;
3620
+
3621
+ declare function Column({ children, mainAxisAlignment, crossAxisAlignment, verticalDirection, mainAxisSize, key, }: {
3622
+ children: Widget[];
3623
+ mainAxisAlignment?: MainAxisAlignment;
3624
+ crossAxisAlignment?: CrossAxisAlignment;
3625
+ verticalDirection?: VerticalDirection;
3626
+ mainAxisSize?: MainAxisSize;
3627
+ key?: any;
3628
+ }): {
3629
+ clipped: boolean;
3630
+ child?: Widget;
3631
+ clipper: (size: Size) => Path;
3632
+ build(_: src.Element): Widget;
3633
+ createElement(): src.StatelessElement;
3634
+ initState(_: src.Element): void;
3635
+ key?: any;
3636
+ runtimeType: string;
3637
+ toJSON(): {
3638
+ key: any;
3639
+ runtimeType: string;
3640
+ };
3641
+ };
3642
+
3643
+ declare function Row({ children, mainAxisAlignment, crossAxisAlignment, verticalDirection, mainAxisSize, key, }: {
3644
+ children: Widget[];
3645
+ mainAxisAlignment?: MainAxisAlignment;
3646
+ crossAxisAlignment?: CrossAxisAlignment;
3647
+ verticalDirection?: VerticalDirection;
3648
+ mainAxisSize?: MainAxisSize;
3649
+ key?: any;
3650
+ }): {
3651
+ clipped: boolean;
3652
+ child?: Widget;
3653
+ clipper: (size: Size) => Path;
3654
+ build(_: src.Element): Widget;
3655
+ createElement(): src.StatelessElement;
3656
+ initState(_: src.Element): void;
3657
+ key?: any;
3658
+ runtimeType: string;
3659
+ toJSON(): {
3660
+ key: any;
3661
+ runtimeType: string;
3662
+ };
3663
+ };
3664
+
3665
+ declare function Text(text: string, props?: TextProps): _Text;
3666
+ declare namespace Text {
3667
+ var rich: (textSpan: InlineSpan, props?: TextProps) => _Text;
3668
+ }
3669
+
3670
+ declare class _Text extends StatelessWidget {
3671
+ data?: string;
3672
+ textSpan?: InlineSpan;
3673
+ style?: TextStyle;
3674
+ textAlign?: TextAlign;
3675
+ textDirection?: TextDirection;
3676
+ softWrap?: boolean;
3677
+ textWidthBasis?: TextWidthBasis;
3678
+ overflow?: TextOverflow;
3679
+ constructor({ data, textSpan, softWrap, textAlign, textDirection, textWidthBasis, style, overflow, }: TextProps & {
3680
+ data?: string;
3681
+ textSpan?: InlineSpan;
3682
+ });
3683
+ build(_: Element): Widget;
3684
+ }
3685
+ type TextProps = {
3686
+ overflow?: TextOverflow;
3687
+ style?: TextStyle;
3688
+ textAlign?: TextAlign;
3689
+ textDirection?: TextDirection;
3690
+ softWrap?: boolean;
3691
+ textWidthBasis?: TextWidthBasis;
3692
+ };
3693
+
3694
+ declare class Flexible extends SingleChildRenderObjectWidget {
3695
+ flex: number;
3696
+ fit: "tight" | "loose";
3697
+ constructor({ flex, child, fit, key, }?: {
3698
+ flex?: number;
3699
+ child?: Widget;
3700
+ fit?: "tight" | "loose";
3701
+ key?: any;
3702
+ });
3703
+ createRenderObject(): RenderFlexible;
3704
+ updateRenderObject(renderObject: RenderFlexible): void;
3705
+ }
3706
+ declare class RenderFlexible extends SingleChildRenderObject {
3707
+ _flex: number;
3708
+ _fit: "tight" | "loose";
3709
+ get flex(): number;
3710
+ set flex(newFlex: number);
3711
+ get fit(): "tight" | "loose";
3712
+ set fit(newFit: "tight" | "loose");
3713
+ constructor({ flex, fit }: {
3714
+ flex: number;
3715
+ fit: "tight" | "loose";
3716
+ });
3717
+ }
3718
+
3719
+ declare function Expanded({ flex, child, key, }: {
3720
+ flex?: number;
3721
+ child: Widget;
3722
+ key?: any;
3723
+ }): Flexible;
3724
+
3725
+ declare class BaseConstrainedBox extends SingleChildRenderObjectWidget {
3726
+ constraints: Constraints;
3727
+ constructor({ child, constraints, key, }: {
3728
+ child?: Widget;
3729
+ constraints: Constraints;
3730
+ key?: any;
3731
+ });
3732
+ createRenderObject(): SingleChildRenderObject;
3733
+ updateRenderObject(renderObject: RenderConstrainedBox): void;
3734
+ }
3735
+ declare class RenderConstrainedBox extends SingleChildRenderObject {
3736
+ _additionalConstraint: Constraints;
3737
+ get additionalConstraint(): Constraints;
3738
+ set additionalConstraint(constraint: Constraints);
3739
+ constructor({ constraint }: {
3740
+ constraint: Constraints;
3741
+ });
3742
+ protected preformLayout(): void;
3743
+ getIntrinsicHeight(width: number): number;
3744
+ getIntrinsicWidth(height: number): number;
3745
+ }
3746
+
3747
+ declare function SizedBox({ width, height, child, key, }: {
3748
+ width?: number;
3749
+ height?: number;
3750
+ child?: Widget;
3751
+ key?: any;
3752
+ }): BaseConstrainedBox;
3753
+ declare namespace SizedBox {
3754
+ var shrink: ({ child, width, height, }?: {
3755
+ child?: Widget;
3756
+ width?: number;
3757
+ height?: number;
3758
+ }) => BaseConstrainedBox;
3759
+ var expand: ({ child, width, height, }?: {
3760
+ child?: Widget;
3761
+ width?: number;
3762
+ height?: number;
3763
+ }) => BaseConstrainedBox;
3764
+ var fromSize: ({ child, size }?: {
3765
+ child?: Widget;
3766
+ size?: Size;
3767
+ }) => BaseConstrainedBox;
3768
+ var square: ({ child, dimension, }?: {
3769
+ child?: Widget;
3770
+ dimension?: number;
3771
+ }) => BaseConstrainedBox;
3772
+ }
3773
+
3774
+ type ContainerProps = {
3775
+ padding?: EdgeInsets;
3776
+ margin?: EdgeInsets;
3777
+ width?: number;
3778
+ height?: number;
3779
+ color?: string;
3780
+ decoration?: Decoration;
3781
+ child?: Widget;
3782
+ alignment?: Alignment;
3783
+ clipped?: boolean;
3784
+ constraints?: Constraints;
3785
+ transform?: Matrix4;
3786
+ transformAlignment?: Alignment;
3787
+ key?: any;
3788
+ };
3789
+ declare class _Container extends StatelessWidget {
3790
+ padding?: EdgeInsets;
3791
+ margin?: EdgeInsets;
3792
+ width?: number;
3793
+ height?: number;
3794
+ color?: string;
3795
+ decoration?: Decoration;
3796
+ child?: Widget;
3797
+ alignment?: Alignment;
3798
+ clipped?: boolean;
3799
+ constraints?: Constraints;
3800
+ transform?: Matrix4;
3801
+ transformAlignment?: Alignment;
3802
+ constructor({ key, padding, margin, width, height, color, decoration, child, alignment, clipped, constraints, transform, transformAlignment, }: ContainerProps);
3803
+ build(_: Element): Widget;
3804
+ }
3805
+ declare const _default$f: (arr_0: ContainerProps) => _Container;
3806
+
3807
+ declare class Padding$2 extends SingleChildRenderObjectWidget {
3808
+ padding: EdgeInsets;
3809
+ constructor({ padding, child, key, }: {
3810
+ padding?: EdgeInsets;
3811
+ child?: Widget;
3812
+ key?: any;
3813
+ });
3814
+ createRenderObject(): RenderPadding;
3815
+ updateRenderObject(renderObject: RenderPadding): void;
3816
+ }
3817
+ declare class RenderPadding extends SingleChildRenderObject {
3818
+ _padding: EdgeInsets;
3819
+ get padding(): EdgeInsets;
3820
+ set padding(value: EdgeInsets);
3821
+ constructor({ padding }: {
3822
+ padding: EdgeInsets;
3823
+ });
3824
+ protected preformLayout(): void;
3825
+ getIntrinsicWidth(height: number): number;
3826
+ getIntrinsicHeight(width: number): number;
3827
+ }
3828
+
3829
+ declare function Padding$1({ padding, child, key, }: {
3830
+ child?: Widget;
3831
+ padding?: EdgeInsets;
3832
+ key?: any;
3833
+ }): Padding$2;
3834
+
3835
+ declare function Builder(...props: ConstructorParameters<typeof _Builder>): _Builder;
3836
+ declare class _Builder extends StatelessWidget {
3837
+ builder: (context: Element) => Widget;
3838
+ constructor({ builder, key, }: {
3839
+ builder: (context: Element) => Widget;
3840
+ key?: any;
3841
+ });
3842
+ build(context: Element): Widget;
3843
+ }
3844
+
3845
+ declare class Align$1 extends SingleChildRenderObjectWidget {
3846
+ widthFactor?: number;
3847
+ heightFactor?: number;
3848
+ alignment: Alignment;
3849
+ constructor({ child, widthFactor, heightFactor, alignment, key, }: {
3850
+ key?: any;
3851
+ child?: Widget;
3852
+ alignment?: Alignment;
3853
+ widthFactor?: number;
3854
+ heightFactor?: number;
3855
+ });
3856
+ createRenderObject(): RenderAlign;
3857
+ updateRenderObject(renderObject: RenderAlign): void;
3858
+ }
3859
+ declare class RenderAlign extends RenderAligningShiftedBox {
3860
+ _widthFactor?: number;
3861
+ get widthFactor(): number | undefined;
3862
+ set widthFactor(value: number | undefined);
3863
+ _heightFactor?: number;
3864
+ get heightFactor(): number | undefined;
3865
+ set heightFactor(value: number | undefined);
3866
+ constructor({ alignment, widthFactor, heightFactor, }: {
3867
+ alignment: Alignment;
3868
+ widthFactor?: number;
3869
+ heightFactor?: number;
3870
+ });
3871
+ protected preformLayout(): void;
3872
+ }
3873
+
3874
+ declare function Align(...props: ConstructorParameters<typeof Align$1>): Align$1;
3875
+
3876
+ declare function Center({ child, widthFactor, heightFactor, }: {
3877
+ child?: Widget;
3878
+ widthFactor?: number;
3879
+ heightFactor?: number;
3880
+ }): Align$1;
3881
+
3882
+ type BaseGridProps = {
3883
+ templateRows?: GridTemplate[];
3884
+ templateColumns?: GridTemplate[];
3885
+ autoColumn?: GridTemplate;
3886
+ autoRow?: GridTemplate;
3887
+ };
3888
+ declare class BaseGrid extends MultiChildRenderObjectWidget {
3889
+ templateRows: GridTemplate[];
3890
+ templateColumns: GridTemplate[];
3891
+ autoColumn: GridTemplate;
3892
+ autoRow: GridTemplate;
3893
+ columnCounts: number[];
3894
+ constructor({ templateColumns, templateRows, autoColumn, autoRow, childrenByRow, key, }: BaseGridProps & {
3895
+ childrenByRow: Widget[][];
3896
+ key?: any;
3897
+ });
3898
+ createRenderObject(): RenderBaseGrid;
3899
+ updateRenderObject(renderObject: RenderBaseGrid): void;
3900
+ }
3901
+ declare class RenderBaseGrid extends MultiChildRenderObject {
3902
+ _templateRows: GridTemplate[];
3903
+ _templateColumns: GridTemplate[];
3904
+ _autoColumn: GridTemplate;
3905
+ _autoRow: GridTemplate;
3906
+ _columnCounts: number[];
3907
+ get templateRows(): GridTemplate[];
3908
+ set templateRows(value: GridTemplate[]);
3909
+ get templateColumns(): GridTemplate[];
3910
+ set templateColumns(value: GridTemplate[]);
3911
+ get autoColumn(): GridTemplate;
3912
+ set autoColumn(value: GridTemplate);
3913
+ get autoRow(): GridTemplate;
3914
+ set autoRow(value: GridTemplate);
3915
+ get columnCounts(): number[];
3916
+ set columnCounts(value: number[]);
3917
+ constructor({ templateColumns, templateRows, autoColumn, autoRow, columnCounts, }: Required<BaseGridProps> & {
3918
+ columnCounts: number[];
3919
+ });
3920
+ private get rowCount();
3921
+ private get columnCount();
3922
+ private get childrenByRow();
3923
+ private get columns();
3924
+ private get rows();
3925
+ protected preformLayout(): void;
3926
+ getIntrinsicWidth(height: number): number;
3927
+ getIntrinsicHeight(width: number): number;
3928
+ }
3929
+ declare class GridTemplate {
3930
+ type: "px" | "percent" | "fr" | "content-fit";
3931
+ value: number;
3932
+ constructor({ type, value, }: {
3933
+ value: number;
3934
+ type: "px" | "percent" | "fr" | "content-fit";
3935
+ });
3936
+ static equals(target: GridTemplate[], other: GridTemplate[]): boolean;
3937
+ equals(other: GridTemplate): boolean;
3938
+ static Fr(value: number): GridTemplate;
3939
+ static Px(value: number): GridTemplate;
3940
+ static ContentFit(): GridTemplate;
3941
+ static Percent(value: number): GridTemplate;
3942
+ repeat(count: number): GridTemplate[];
3943
+ }
3944
+
3945
+ declare function Grid({ childrenByRow, key, ...props }: BaseGridProps & {
3946
+ key?: any;
3947
+ childrenByRow: (Widget | null | undefined)[][];
3948
+ }): BaseGrid;
3949
+ declare namespace Grid {
3950
+ var Fr: typeof GridTemplate.Fr;
3951
+ var ContentFit: typeof GridTemplate.ContentFit;
3952
+ var Percent: typeof GridTemplate.Percent;
3953
+ var Px: typeof GridTemplate.Px;
3954
+ }
3955
+
3956
+ declare const _default$e: (arr_0?: {
3957
+ flex?: number;
3958
+ child?: src.Widget;
3959
+ fit?: "loose" | "tight";
3960
+ key?: any;
3961
+ }) => Flexible;
3962
+
3963
+ declare class Transform$1 extends SingleChildRenderObjectWidget {
3964
+ origin?: Offset$1;
3965
+ alignment?: Alignment;
3966
+ transform: Matrix4;
3967
+ constructor({ child, transform, origin, alignment, key, }: {
3968
+ child?: Widget;
3969
+ transform: Matrix4;
3970
+ origin?: Offset$1;
3971
+ alignment?: Alignment;
3972
+ key?: any;
3973
+ });
3974
+ static rotate({ angle, origin, alignment, child, key, }: {
3975
+ origin?: Offset$1;
3976
+ alignment?: Alignment;
3977
+ child?: Widget;
3978
+ angle: number;
3979
+ key?: any;
3980
+ }): Transform$1;
3981
+ static translate({ child, offset, key, }: {
3982
+ child?: Widget;
3983
+ offset: Offset$1;
3984
+ key?: any;
3985
+ }): Transform$1;
3986
+ static scale({ child, scale, scaleX, scaleY, origin, alignment, key, }: {
3987
+ child?: Widget;
3988
+ alignment?: Alignment;
3989
+ origin?: Offset$1;
3990
+ scale?: number;
3991
+ scaleX?: number;
3992
+ scaleY?: number;
3993
+ key?: any;
3994
+ }): Transform$1;
3995
+ createRenderObject(): SingleChildRenderObject;
3996
+ updateRenderObject(renderObject: RenderTransform): void;
3997
+ private static _computeRotation;
3998
+ private static _createZRotation;
3999
+ }
4000
+ declare class RenderTransform extends SingleChildRenderObject {
4001
+ _origin?: Offset$1;
4002
+ get origin(): Offset$1 | undefined | null;
4003
+ set origin(value: Offset$1 | undefined | null);
4004
+ _alignment?: Alignment;
4005
+ get alignment(): Alignment;
4006
+ set alignment(value: Alignment);
4007
+ _transform: Matrix4;
4008
+ get transform(): Matrix4;
4009
+ set transform(value: Matrix4);
4010
+ _textDirection: TextDirection;
4011
+ get textDirection(): TextDirection;
4012
+ set textDirection(value: TextDirection);
4013
+ constructor({ origin, alignment, transform, textDirection, }: {
4014
+ transform: Matrix4;
4015
+ origin?: Offset$1;
4016
+ alignment?: Alignment;
4017
+ textDirection?: TextDirection;
4018
+ });
4019
+ private get _effectiveTransform();
4020
+ getChildMatrix4(parentMatrix: Matrix4): Matrix4;
4021
+ }
4022
+
4023
+ declare function Transform({ child, transform, origin, alignment, key, }: {
4024
+ child?: Widget;
4025
+ transform: Matrix4;
4026
+ origin?: Offset$1;
4027
+ alignment?: Alignment;
4028
+ key?: any;
4029
+ }): Transform$1;
4030
+ declare namespace Transform {
4031
+ var rotate: typeof Transform$1.rotate;
4032
+ var scale: typeof Transform$1.scale;
4033
+ var translate: typeof Transform$1.translate;
4034
+ }
4035
+
4036
+ declare function Stack({ clipped, children, alignment, fit, key, }: {
4037
+ children: Widget[];
4038
+ clipped?: boolean;
4039
+ alignment?: Alignment;
4040
+ fit?: StackFit;
4041
+ key?: any;
4042
+ }): {
4043
+ clipped: boolean;
4044
+ child?: Widget;
4045
+ clipper: (size: Size) => Path;
4046
+ build(_: src.Element): Widget;
4047
+ createElement(): src.StatelessElement;
4048
+ initState(_: src.Element): void;
4049
+ key?: any;
4050
+ runtimeType: string;
4051
+ toJSON(): {
4052
+ key: any;
4053
+ runtimeType: string;
4054
+ };
4055
+ };
4056
+
4057
+ declare class BasePositioned extends SingleChildRenderObjectWidget {
4058
+ top?: number;
4059
+ bottom?: number;
4060
+ right?: number;
4061
+ left?: number;
4062
+ width?: number;
4063
+ height?: number;
4064
+ constructor({ top, bottom, left, right, width, height, child, key, }: {
4065
+ top?: number;
4066
+ bottom?: number;
4067
+ left?: number;
4068
+ right?: number;
4069
+ width?: number;
4070
+ height?: number;
4071
+ child?: Widget;
4072
+ key?: any;
4073
+ });
4074
+ createRenderObject(): RenderPositioned;
4075
+ updateRenderObject(renderObject: RenderPositioned): void;
4076
+ }
4077
+ declare class RenderPositioned extends SingleChildRenderObject {
4078
+ _top?: number;
4079
+ _bottom?: number;
4080
+ _right?: number;
4081
+ _left?: number;
4082
+ _width?: number;
4083
+ _height?: number;
4084
+ get top(): number | undefined;
4085
+ set top(newTop: number | undefined);
4086
+ get bottom(): number | undefined;
4087
+ set bottom(newBottom: number | undefined);
4088
+ get right(): number | undefined;
4089
+ set right(newRight: number | undefined);
4090
+ get left(): number | undefined;
4091
+ set left(newLeft: number | undefined);
4092
+ get width(): number | undefined;
4093
+ set width(newWidth: number | undefined);
4094
+ get height(): number | undefined;
4095
+ set height(newHeight: number | undefined);
4096
+ constructor({ top, bottom, left, right, width, height, }: {
4097
+ top?: number;
4098
+ bottom?: number;
4099
+ left?: number;
4100
+ right?: number;
4101
+ width?: number;
4102
+ height?: number;
4103
+ });
4104
+ get isPositioned(): boolean;
4105
+ getIntrinsicWidth(height: number): number;
4106
+ getIntrinsicHeight(width: number): number;
4107
+ }
4108
+
4109
+ declare function Positioned(...props: ConstructorParameters<typeof BasePositioned>): BasePositioned;
4110
+ declare namespace Positioned {
4111
+ var fill: ({ child }: {
4112
+ child: Widget;
4113
+ }) => BasePositioned;
4114
+ }
4115
+
4116
+ declare class ClipPath extends StatelessWidget {
4117
+ clipped: boolean;
4118
+ child?: Widget;
4119
+ clipper: (size: Size) => Path;
4120
+ constructor({ child, clipped, key, clipper, }: {
4121
+ key?: any;
4122
+ child?: Widget;
4123
+ clipper: (size: Size) => Path;
4124
+ clipped?: boolean;
4125
+ });
4126
+ build(_: Element): Widget;
4127
+ }
4128
+ declare const _default$d: (arr_0: {
4129
+ key?: any;
4130
+ child?: Widget;
4131
+ clipper: (size: Size) => Path;
4132
+ clipped?: boolean;
4133
+ }) => ClipPath;
4134
+
4135
+ declare function ClipRect({ child, clipper, clipped, key, }: {
4136
+ child: Widget;
4137
+ clipper: (size: Size) => Rect;
4138
+ clipped?: boolean;
4139
+ key?: any;
4140
+ }): {
4141
+ clipped: boolean;
4142
+ child?: Widget;
4143
+ clipper: (size: Size) => Path;
4144
+ build(_: src.Element): Widget;
4145
+ createElement(): src.StatelessElement;
4146
+ initState(_: src.Element): void;
4147
+ key?: any;
4148
+ runtimeType: string;
4149
+ toJSON(): {
4150
+ key: any;
4151
+ runtimeType: string;
4152
+ };
4153
+ };
4154
+
4155
+ declare function ClipOval$1({ child, clipper, clipped, key, }: {
4156
+ child: Widget;
4157
+ clipper: (size: Size) => Rect;
4158
+ clipped?: boolean;
4159
+ key?: any;
4160
+ }): {
4161
+ clipped: boolean;
4162
+ child?: Widget;
4163
+ clipper: (size: Size) => Path;
4164
+ build(_: src.Element): Widget;
4165
+ createElement(): src.StatelessElement;
4166
+ initState(_: src.Element): void;
4167
+ key?: any;
4168
+ runtimeType: string;
4169
+ toJSON(): {
4170
+ key: any;
4171
+ runtimeType: string;
4172
+ };
4173
+ };
4174
+
4175
+ declare function ConstrainedBox(...props: ConstructorParameters<typeof BaseConstrainedBox>): BaseConstrainedBox;
4176
+
4177
+ declare function ConstraintsTransformBox({ clipped, alignment, textDirection, constraintsTransform, child, key, }: {
4178
+ clipped?: boolean;
4179
+ alignment?: Alignment;
4180
+ textDirection?: TextDirection;
4181
+ child?: Widget;
4182
+ constraintsTransform: (constraints: Constraints) => Constraints;
4183
+ key?: any;
4184
+ }): {
4185
+ clipped: boolean;
4186
+ child?: Widget;
4187
+ clipper: (size: Size) => Path;
4188
+ build(_: src.Element): Widget;
4189
+ createElement(): src.StatelessElement;
4190
+ initState(_: src.Element): void;
4191
+ key?: any;
4192
+ runtimeType: string;
4193
+ toJSON(): {
4194
+ key: any;
4195
+ runtimeType: string;
4196
+ };
4197
+ };
4198
+ declare namespace ConstraintsTransformBox {
4199
+ var heightUnconstrained: (constraints: Constraints) => Constraints;
4200
+ var maxHeightUnconstrained: (constraints: Constraints) => Constraints;
4201
+ var maxUnconstrained: (constraints: Constraints) => Constraints;
4202
+ var maxWidthUnconstrained: (constraints: Constraints) => Constraints;
4203
+ var unconstrained: (_constraints: Constraints) => Constraints;
4204
+ var unmodified: (constraints: Constraints) => Constraints;
4205
+ var widthUnconstrained: (constraints: Constraints) => Constraints;
4206
+ }
4207
+
4208
+ declare function UnconstrainedBox({ alignment, clipped, child, textDirection, constrainedAxis, key, }: {
4209
+ child: Widget;
4210
+ textDirection?: TextDirection;
4211
+ alignment?: Alignment;
4212
+ clipped?: boolean;
4213
+ constrainedAxis?: "vertical" | "horizontal";
4214
+ key?: any;
4215
+ }): {
4216
+ clipped: boolean;
4217
+ child?: Widget;
4218
+ clipper: (size: Size) => Path;
4219
+ build(_: src.Element): Widget;
4220
+ createElement(): src.StatelessElement;
4221
+ initState(_: src.Element): void;
4222
+ key?: any;
4223
+ runtimeType: string;
4224
+ toJSON(): {
4225
+ key: any;
4226
+ runtimeType: string;
4227
+ };
4228
+ };
4229
+
4230
+ declare class BaseOverflowBox extends SingleChildRenderObjectWidget {
4231
+ minWidth?: number;
4232
+ maxWidth?: number;
4233
+ minHeight?: number;
4234
+ maxHeight?: number;
4235
+ alignment: Alignment;
4236
+ constructor({ maxHeight, maxWidth, minHeight, minWidth, alignment, child, key, }: {
4237
+ minWidth?: number;
4238
+ maxWidth?: number;
4239
+ minHeight?: number;
4240
+ maxHeight?: number;
4241
+ child?: Widget;
4242
+ alignment?: Alignment;
4243
+ key?: any;
4244
+ });
4245
+ createRenderObject(): RenderOverflowBox;
4246
+ updateRenderObject(renderObject: RenderOverflowBox): void;
4247
+ }
4248
+ declare class RenderOverflowBox extends RenderAligningShiftedBox {
4249
+ _minWidth?: number;
4250
+ _maxWidth?: number;
4251
+ _minHeight?: number;
4252
+ _maxHeight?: number;
4253
+ get minWidth(): number | undefined;
4254
+ set minWidth(newMinWidth: number | undefined);
4255
+ get maxWidth(): number | undefined;
4256
+ set maxWidth(newMaxWidth: number | undefined);
4257
+ get minHeight(): number | undefined;
4258
+ set minHeight(newMinHeight: number | undefined);
4259
+ get maxHeight(): number | undefined;
4260
+ set maxHeight(newMaxHeight: number | undefined);
4261
+ constructor({ maxHeight, maxWidth, minHeight, minWidth, alignment, }: {
4262
+ minWidth?: number;
4263
+ maxWidth?: number;
4264
+ minHeight?: number;
4265
+ maxHeight?: number;
4266
+ alignment?: Alignment;
4267
+ });
4268
+ preformLayout(): void;
4269
+ private getInnerConstraints;
4270
+ }
4271
+
4272
+ declare const _default$c: (arr_0: {
4273
+ minWidth?: number;
4274
+ maxWidth?: number;
4275
+ minHeight?: number;
4276
+ maxHeight?: number;
4277
+ child?: src.Widget;
4278
+ alignment?: src.Alignment;
4279
+ key?: any;
4280
+ }) => BaseOverflowBox;
4281
+
4282
+ declare class BaseLimitedBox extends SingleChildRenderObjectWidget {
4283
+ maxWidth: number;
4284
+ maxHeight: number;
4285
+ constructor({ child, maxHeight, maxWidth, key, }: {
4286
+ child?: Widget;
4287
+ maxWidth?: number;
4288
+ maxHeight?: number;
4289
+ key?: any;
4290
+ });
4291
+ createRenderObject(): RenderLimitedBox;
4292
+ updateRenderObject(renderObject: RenderLimitedBox): void;
4293
+ }
4294
+ declare class RenderLimitedBox extends SingleChildRenderObject {
4295
+ _maxWidth: number;
4296
+ _maxHeight: number;
4297
+ get maxWidth(): number;
4298
+ set maxWidth(newMaxWidth: number);
4299
+ get maxHeight(): number;
4300
+ set maxHeight(newMaxHeight: number);
4301
+ constructor({ maxHeight, maxWidth, }: {
4302
+ maxWidth?: number;
4303
+ maxHeight?: number;
4304
+ });
4305
+ protected preformLayout(): void;
4306
+ private limitConstraints;
4307
+ }
4308
+
4309
+ declare const _default$b: (arr_0: {
4310
+ child?: src.Widget;
4311
+ maxWidth?: number;
4312
+ maxHeight?: number;
4313
+ key?: any;
4314
+ }) => BaseLimitedBox;
4315
+
4316
+ declare function Spacer({ flex, key }?: {
4317
+ flex?: number;
4318
+ key?: any;
4319
+ }): Flexible;
4320
+
4321
+ declare class BaseFractionallySizedBox extends SingleChildRenderObjectWidget {
4322
+ widthFactor?: number;
4323
+ heightFactor?: number;
4324
+ alignment: Alignment;
4325
+ constructor({ child, widthFactor, heightFactor, alignment, key, }: {
4326
+ child?: Widget;
4327
+ alignment?: Alignment;
4328
+ widthFactor?: number;
4329
+ heightFactor?: number;
4330
+ key?: any;
4331
+ });
4332
+ createRenderObject(): RenderFractionallySizedBox;
4333
+ updateRenderObject(renderObject: RenderFractionallySizedBox): void;
4334
+ }
4335
+ declare class RenderFractionallySizedBox extends RenderAligningShiftedBox {
4336
+ _widthFactor?: number;
4337
+ _heightFactor?: number;
4338
+ get widthFactor(): number | undefined;
4339
+ set widthFactor(newWidthFactor: number | undefined);
4340
+ get heightFactor(): number | undefined;
4341
+ set heightFactor(newHeightFactor: number | undefined);
4342
+ constructor({ alignment, widthFactor, heightFactor, }: {
4343
+ alignment: Alignment;
4344
+ widthFactor?: number;
4345
+ heightFactor?: number;
4346
+ });
4347
+ private getInnerConstraints;
4348
+ protected preformLayout(): void;
4349
+ getIntrinsicHeight(width: number): number;
4350
+ getIntrinsicWidth(height: number): number;
4351
+ }
4352
+
4353
+ declare const _default$a: (arr_0: {
4354
+ child?: src.Widget;
4355
+ alignment?: src.Alignment;
4356
+ widthFactor?: number;
4357
+ heightFactor?: number;
4358
+ key?: any;
4359
+ }) => BaseFractionallySizedBox;
4360
+
4361
+ declare function Flex({ children, mainAxisAlignment, crossAxisAlignment, direction, clipped, verticalDirection, mainAxisSize, key, }: {
4362
+ children: Widget[];
4363
+ mainAxisAlignment?: MainAxisAlignment;
4364
+ crossAxisAlignment?: CrossAxisAlignment;
4365
+ verticalDirection?: VerticalDirection;
4366
+ mainAxisSize?: MainAxisSize;
4367
+ clipped?: boolean;
4368
+ direction: Axis;
4369
+ key?: any;
4370
+ }): {
4371
+ clipped: boolean;
4372
+ child?: Widget;
4373
+ clipper: (size: Size) => Path;
4374
+ build(_: src.Element): Widget;
4375
+ createElement(): src.StatelessElement;
4376
+ initState(_: src.Element): void;
4377
+ key?: any;
4378
+ runtimeType: string;
4379
+ toJSON(): {
4380
+ key: any;
4381
+ runtimeType: string;
4382
+ };
4383
+ };
4384
+
4385
+ declare class BaseIntrinsicHeight extends SingleChildRenderObjectWidget {
4386
+ createRenderObject(): SingleChildRenderObject;
4387
+ updateRenderObject(_: RenderObject): void;
4388
+ }
4389
+
4390
+ declare const _default$9: (arr_0?: {
4391
+ child?: src.Widget;
4392
+ key?: any;
4393
+ }) => BaseIntrinsicHeight;
4394
+
4395
+ declare class BaseIntrinsicWidth extends SingleChildRenderObjectWidget {
4396
+ createRenderObject(): SingleChildRenderObject;
4397
+ updateRenderObject(_: RenderObject): void;
4398
+ }
4399
+
4400
+ declare const _default$8: (arr_0?: {
4401
+ child?: src.Widget;
4402
+ key?: any;
4403
+ }) => BaseIntrinsicWidth;
4404
+
4405
+ type BriefOffset = {
4406
+ x: number;
4407
+ y: number;
4408
+ };
4409
+ declare class FractionalTranslation extends SingleChildRenderObjectWidget {
4410
+ translation: BriefOffset;
4411
+ constructor({ child, translation, key, }: {
4412
+ child?: Widget;
4413
+ translation: BriefOffset;
4414
+ key?: any;
4415
+ });
4416
+ createRenderObject(): SingleChildRenderObject;
4417
+ updateRenderObject(renderObject: RenderFractionalTranslation): void;
4418
+ }
4419
+ declare class RenderFractionalTranslation extends SingleChildRenderObject {
4420
+ _translation: BriefOffset;
4421
+ get translation(): BriefOffset;
4422
+ set translation(value: BriefOffset);
4423
+ constructor({ translation }: {
4424
+ translation: BriefOffset;
4425
+ });
4426
+ protected preformLayout(): void;
4427
+ }
4428
+
4429
+ declare const _default$7: (arr_0: {
4430
+ child?: src.Widget;
4431
+ translation: {
4432
+ x: number;
4433
+ y: number;
4434
+ };
4435
+ key?: any;
4436
+ }) => FractionalTranslation;
4437
+
4438
+ declare class Opacity extends SingleChildRenderObjectWidget {
4439
+ opacity: number;
4440
+ constructor({ child, opacity, key, }: {
4441
+ child?: Widget;
4442
+ opacity: number;
4443
+ key?: any;
4444
+ });
4445
+ createRenderObject(): SingleChildRenderObject;
4446
+ updateRenderObject(renderObject: RenderOpacity): void;
4447
+ }
4448
+ declare class RenderOpacity extends SingleChildRenderObject {
4449
+ _opacityProp: number;
4450
+ get opacityProp(): number;
4451
+ set opacityProp(value: number);
4452
+ constructor({ opacity }: {
4453
+ opacity: number;
4454
+ });
4455
+ protected preformLayout(): void;
4456
+ getChildOpacity(parentOpacity: number): number;
4457
+ }
4458
+
4459
+ declare const _default$6: (arr_0: {
4460
+ child?: src.Widget;
4461
+ opacity: number;
4462
+ key?: any;
4463
+ }) => Opacity;
4464
+
4465
+ declare class AspectRatio$1 extends SingleChildRenderObjectWidget {
4466
+ aspectRatio: number;
4467
+ constructor({ child, aspectRatio, key, }: {
4468
+ child?: Widget;
4469
+ aspectRatio: number;
4470
+ key?: string;
4471
+ });
4472
+ createRenderObject(): SingleChildRenderObject;
4473
+ updateRenderObject(renderObject: RenderAspectRatio): void;
4474
+ }
4475
+ declare class RenderAspectRatio extends SingleChildRenderObject {
4476
+ _aspectRatio: number;
4477
+ get aspectRatio(): number;
4478
+ set aspectRatio(value: number);
4479
+ constructor({ aspectRatio }: {
4480
+ aspectRatio: number;
4481
+ });
4482
+ getIntrinsicWidth(height: number): number;
4483
+ getIntrinsicHeight(width: number): number;
4484
+ private _applyAspectRatio;
4485
+ protected preformLayout(): void;
4486
+ }
4487
+
4488
+ declare function AspectRatio(...props: ConstructorParameters<typeof AspectRatio$1>): AspectRatio$1;
4489
+
4490
+ declare function IndexedStack({ clipped, children, alignment, sizing, index, key, }: {
4491
+ children: Widget[];
4492
+ clipped?: boolean;
4493
+ alignment?: Alignment;
4494
+ sizing?: StackFit;
4495
+ index?: number;
4496
+ key?: any;
4497
+ }): {
4498
+ clipped: boolean;
4499
+ child?: Widget;
4500
+ clipper: (size: Size) => Path;
4501
+ build(_: src.Element): Widget;
4502
+ createElement(): src.StatelessElement;
4503
+ initState(_: src.Element): void;
4504
+ key?: any;
4505
+ runtimeType: string;
4506
+ toJSON(): {
4507
+ key: any;
4508
+ runtimeType: string;
4509
+ };
4510
+ };
4511
+
4512
+ declare class ColoredBox$1 extends SingleChildRenderObjectWidget {
4513
+ color: string;
4514
+ constructor({ color, child, key, }: {
4515
+ color: string;
4516
+ child?: Widget;
4517
+ key?: any;
4518
+ });
4519
+ createRenderObject(): RenderColoredBox;
4520
+ updateRenderObject(renderObject: RenderColoredBox): void;
4521
+ }
4522
+ declare class RenderColoredBox extends SingleChildRenderObject {
4523
+ _color: string;
4524
+ get color(): string;
4525
+ set color(value: string);
4526
+ constructor({ color }: {
4527
+ color: string;
4528
+ });
4529
+ protected performPaint({ rect }: {
4530
+ rect: SVGElement;
4531
+ }): void;
4532
+ createDefaultSvgEl({ createSvgEl }: PaintContext): {
4533
+ [key: string]: SVGElement;
4534
+ };
4535
+ }
4536
+
4537
+ declare function ColoredBox(...props: ConstructorParameters<typeof ColoredBox$1>): ColoredBox$1;
4538
+
4539
+ declare function ClipOval({ child, borderRadius, clipped, clipper, key, }: {
4540
+ child: Widget;
4541
+ borderRadius?: BorderRadius;
4542
+ clipped?: boolean;
4543
+ clipper?: (size: Size) => RRect;
4544
+ key?: any;
4545
+ }): {
4546
+ clipped: boolean;
4547
+ child?: Widget;
4548
+ clipper: (size: Size) => Path;
4549
+ build(_: src.Element): Widget;
4550
+ createElement(): src.StatelessElement;
4551
+ initState(_: src.Element): void;
4552
+ key?: any;
4553
+ runtimeType: string;
4554
+ toJSON(): {
4555
+ key: any;
4556
+ runtimeType: string;
4557
+ };
4558
+ };
4559
+
4560
+ declare class DecoratedBox$1 extends SingleChildRenderObjectWidget {
4561
+ decoration: Decoration;
4562
+ constructor({ decoration, child, key, }: {
4563
+ decoration: Decoration;
4564
+ child?: Widget;
4565
+ key?: any;
4566
+ });
4567
+ createRenderObject(): RenderDecoratedBox;
4568
+ updateRenderObject(renderObject: RenderDecoratedBox): void;
4569
+ }
4570
+ declare class RenderDecoratedBox extends SingleChildRenderObject {
4571
+ _decoration: Decoration;
4572
+ get decoration(): BoxDecoration;
4573
+ set decoration(value: BoxDecoration);
4574
+ constructor({ decoration }: {
4575
+ decoration: Decoration;
4576
+ });
4577
+ protected performPaint(svgEls: {
4578
+ box: SVGElement;
4579
+ topBorder: SVGElement;
4580
+ bottomBorder: SVGElement;
4581
+ leftBorder: SVGElement;
4582
+ rightBorder: SVGElement;
4583
+ }): void;
4584
+ createDefaultSvgEl({ createSvgEl }: PaintContext): {
4585
+ [key: string]: SVGElement;
4586
+ };
4587
+ }
4588
+
4589
+ declare function DecoratedBox(...props: ConstructorParameters<typeof DecoratedBox$1>): DecoratedBox$1;
4590
+
4591
+ type RichTextProps = {
4592
+ text: InlineSpan;
4593
+ textAlign?: TextAlign;
4594
+ textDirection?: TextDirection;
4595
+ softWrap?: boolean;
4596
+ overflow?: TextOverflow;
4597
+ textScaleFactor?: number;
4598
+ maxLines?: number;
4599
+ textWidthBasis?: TextWidthBasis;
4600
+ };
4601
+
4602
+ declare class RichText extends StatelessWidget {
4603
+ private overflow;
4604
+ private rest;
4605
+ constructor({ overflow, key, ...rest }: RichTextProps & {
4606
+ key?: any;
4607
+ });
4608
+ build(): {
4609
+ clipped: boolean;
4610
+ child?: Widget;
4611
+ clipper: (size: Size) => Path;
4612
+ build(_: Element): Widget;
4613
+ createElement(): src.StatelessElement;
4614
+ initState(_: Element): void;
4615
+ key?: any;
4616
+ runtimeType: string;
4617
+ toJSON(): {
4618
+ key: any;
4619
+ runtimeType: string;
4620
+ };
4621
+ };
4622
+ }
4623
+ declare const _default$5: (arr_0: RichTextProps & {
4624
+ key?: any;
4625
+ }) => RichText;
4626
+
4627
+ type Painter<T extends Record<string, SVGElement>, D = any> = {
4628
+ paint: (els: T, size: Size) => void;
4629
+ createDefaultSvgEl: (context: PaintContext) => T;
4630
+ dependencies?: D;
4631
+ shouldRepaint?: (oldPainter: Painter<T, D>) => boolean;
4632
+ };
4633
+ declare class BaseCustomPaint<T extends Record<string, SVGElement>> extends SingleChildRenderObjectWidget {
4634
+ painter: Painter<T>;
4635
+ size: Size;
4636
+ constructor({ child, size, painter, key, }: {
4637
+ child?: Widget;
4638
+ size?: Size;
4639
+ painter: Painter<T>;
4640
+ key?: any;
4641
+ });
4642
+ createRenderObject(): RenderCustomPaint<T>;
4643
+ updateRenderObject(renderObject: RenderCustomPaint<T>): void;
4644
+ }
4645
+ declare class RenderCustomPaint<T extends Record<string, SVGElement>> extends SingleChildRenderObject {
4646
+ _painter: Painter<T>;
4647
+ get painter(): Painter<T, any>;
4648
+ set painter(value: Painter<T, any>);
4649
+ private didUpdatePainter;
4650
+ _preferredSize: Size;
4651
+ get preferredSize(): Size;
4652
+ set preferredSize(value: Size);
4653
+ constructor({ preferredSize, painter, }: {
4654
+ preferredSize?: Size;
4655
+ painter: Painter<T>;
4656
+ });
4657
+ protected computeSizeForNoChild(constraints: Constraints): Size;
4658
+ protected performPaint(svgEls: T, _: PaintContext): void;
4659
+ protected createDefaultSvgEl(paintContext: PaintContext): T;
4660
+ getIntrinsicWidth(height: number): number;
4661
+ getIntrinsicHeight(width: number): number;
4662
+ }
4663
+
4664
+ declare const _default$4: (arr_0: {
4665
+ child?: src.Widget;
4666
+ size?: src.Size;
4667
+ painter: Painter<Record<string, SVGElement>, any>;
4668
+ key?: any;
4669
+ }) => BaseCustomPaint<Record<string, SVGElement>>;
4670
+
4671
+ type Cursor = "pointer" | "default" | "move" | "text" | "wait" | "help" | "progress" | "not-allowed" | "crosshair" | "grab" | "grabbing" | "e-resize" | "ne-resize" | "nw-resize" | "n-resize" | "se-resize" | "sw-resize" | "s-resize" | "w-resize" | "ew-resize" | "ns-resize" | "nesw-resize" | "nwse-resize" | "col-resize" | "row-resize" | "all-scroll";
4672
+ type EventType = "click" | "mousedown" | "mouseup" | "mousemove" | "wheel" | "mouseover" | "mouseenter" | "mouseleave" | "dragstart" | "dragend" | "drag";
4673
+ type Bubble = Record<EventType, boolean>;
4674
+ declare class BaseGestureDetector extends SingleChildRenderObjectWidget {
4675
+ onClick: (e: MouseEvent) => void;
4676
+ onMouseUp: (e: MouseEvent) => void;
4677
+ onMouseMove: (e: MouseEvent) => void;
4678
+ onMouseDown: (e: MouseEvent) => void;
4679
+ onMouseOver: (e: MouseEvent) => void;
4680
+ onMouseEnter: (e: MouseEvent) => void;
4681
+ onMouseLeave: (e: MouseEvent) => void;
4682
+ onDragStart: (e: MouseEvent) => void;
4683
+ onDragMove: (e: MouseEvent) => void;
4684
+ onDragEnd: (e: MouseEvent) => void;
4685
+ onWheel: (e: WheelEvent) => void;
4686
+ cursor: Cursor;
4687
+ bubble: Bubble;
4688
+ constructor({ child, onClick, onMouseDown, onMouseMove, onMouseUp, onMouseOver, onMouseEnter, onMouseLeave, key, cursor, onDragEnd, onDragMove, onDragStart, bubble, onWheel, }: {
4689
+ child?: Widget;
4690
+ onClick?: (e: MouseEvent) => void;
4691
+ onMouseUp?: (e: MouseEvent) => void;
4692
+ onMouseMove?: (e: MouseEvent) => void;
4693
+ onMouseDown?: (e: MouseEvent) => void;
4694
+ onMouseOver?: (e: MouseEvent) => void;
4695
+ onMouseEnter?: (e: MouseEvent) => void;
4696
+ onMouseLeave?: (e: MouseEvent) => void;
4697
+ onDragStart?: (e: MouseEvent) => void;
4698
+ onDragMove?: (e: MouseEvent) => void;
4699
+ onDragEnd?: (e: MouseEvent) => void;
4700
+ onWheel?: (e: WheelEvent) => void;
4701
+ cursor?: Cursor;
4702
+ key?: any;
4703
+ bubble?: Partial<Bubble>;
4704
+ });
4705
+ createRenderObject(): RenderGestureDetector;
4706
+ updateRenderObject(renderObject: RenderGestureDetector): void;
4707
+ }
4708
+ declare class RenderGestureDetector extends SingleChildRenderObject {
4709
+ private id;
4710
+ private _bubble;
4711
+ get bubble(): Bubble;
4712
+ set bubble(prop: Bubble);
4713
+ private _cursor;
4714
+ get cursor(): Cursor;
4715
+ set cursor(prop: Cursor);
4716
+ private _onClick;
4717
+ get onClick(): MouseEventCallback;
4718
+ set onClick(prop: MouseEventCallback);
4719
+ private _onMouseDown;
4720
+ get onMouseDown(): MouseEventCallback;
4721
+ set onMouseDown(prop: MouseEventCallback);
4722
+ private _onMouseMove;
4723
+ get onMouseMove(): MouseEventCallback;
4724
+ set onMouseMove(prop: MouseEventCallback);
4725
+ private _onMouseUp;
4726
+ get onMouseUp(): MouseEventCallback;
4727
+ set onMouseUp(prop: MouseEventCallback);
4728
+ private _onMouseOver;
4729
+ get onMouseOver(): MouseEventCallback;
4730
+ set onMouseOver(prop: MouseEventCallback);
4731
+ private _onMouseEnter;
4732
+ get onMouseEnter(): MouseEventCallback;
4733
+ set onMouseEnter(prop: MouseEventCallback);
4734
+ private _onMouseLeave;
4735
+ get onMouseLeave(): MouseEventCallback;
4736
+ set onMouseLeave(prop: MouseEventCallback);
4737
+ private _onDragStart;
4738
+ get onDragStart(): MouseEventCallback;
4739
+ set onDragStart(prop: MouseEventCallback);
4740
+ private _onDragMove;
4741
+ get onDragMove(): MouseEventCallback;
4742
+ set onDragMove(prop: MouseEventCallback);
4743
+ private _onDragEnd;
4744
+ get onDragEnd(): MouseEventCallback;
4745
+ set onDragEnd(prop: MouseEventCallback);
4746
+ private _onWheel;
4747
+ get onWheel(): (e: WheelEvent) => void;
4748
+ set onWheel(prop: (e: WheelEvent) => void);
4749
+ constructor({ onClick, onMouseDown, onMouseUp, onMouseMove, onMouseOver, onMouseEnter, onMouseLeave, onDragEnd, onDragMove, onDragStart, cursor, bubble, onWheel, }: {
4750
+ onClick: MouseEventCallback;
4751
+ onMouseUp: MouseEventCallback;
4752
+ onMouseMove: MouseEventCallback;
4753
+ onMouseDown: MouseEventCallback;
4754
+ onMouseOver: MouseEventCallback;
4755
+ onMouseLeave: MouseEventCallback;
4756
+ onMouseEnter: MouseEventCallback;
4757
+ onDragStart: MouseEventCallback;
4758
+ onDragMove: MouseEventCallback;
4759
+ onDragEnd: MouseEventCallback;
4760
+ onWheel: (e: WheelEvent) => void;
4761
+ cursor: Cursor;
4762
+ bubble: Bubble;
4763
+ });
4764
+ private get listeners();
4765
+ attach(ownerElement: RenderObjectElement): void;
4766
+ dispose(context: PaintContext): void;
4767
+ private removeEventListeners;
4768
+ private addEventListeners;
4769
+ protected performPaint({ rect }: {
4770
+ rect: SVGRectElement;
4771
+ }): void;
4772
+ createDefaultSvgEl({ createSvgEl }: PaintContext): {
4773
+ rect: SVGElement;
4774
+ };
4775
+ dispatch(e: Event): void;
4776
+ dispatchParent(e: Event): void;
4777
+ }
4778
+ type MouseEventCallback = (event: MouseEvent) => void;
4779
+
4780
+ declare const _default$3: (arr_0: {
4781
+ child?: src.Widget;
4782
+ onClick?: (e: MouseEvent) => void;
4783
+ onMouseUp?: (e: MouseEvent) => void;
4784
+ onMouseMove?: (e: MouseEvent) => void;
4785
+ onMouseDown?: (e: MouseEvent) => void;
4786
+ onMouseOver?: (e: MouseEvent) => void;
4787
+ onMouseEnter?: (e: MouseEvent) => void;
4788
+ onMouseLeave?: (e: MouseEvent) => void;
4789
+ onDragStart?: (e: MouseEvent) => void;
4790
+ onDragMove?: (e: MouseEvent) => void;
4791
+ onDragEnd?: (e: MouseEvent) => void;
4792
+ onWheel?: (e: WheelEvent) => void;
4793
+ cursor?: "progress" | "text" | "pointer" | "default" | "move" | "wait" | "help" | "not-allowed" | "crosshair" | "grab" | "grabbing" | "e-resize" | "ne-resize" | "nw-resize" | "n-resize" | "se-resize" | "sw-resize" | "s-resize" | "w-resize" | "ew-resize" | "ns-resize" | "nesw-resize" | "nwse-resize" | "col-resize" | "row-resize" | "all-scroll";
4794
+ key?: any;
4795
+ bubble?: Partial<{
4796
+ click: boolean;
4797
+ mousedown: boolean;
4798
+ mouseup: boolean;
4799
+ mousemove: boolean;
4800
+ wheel: boolean;
4801
+ mouseover: boolean;
4802
+ mouseenter: boolean;
4803
+ mouseleave: boolean;
4804
+ dragstart: boolean;
4805
+ dragend: boolean;
4806
+ drag: boolean;
4807
+ }>;
4808
+ }) => BaseGestureDetector;
4809
+
4810
+ declare class BaseAnimatedAlignWidget extends ImplicitlyAnimatedWidget {
4811
+ alignment: Alignment;
4812
+ child?: Widget;
4813
+ widthFactor: number | Nullable;
4814
+ heightFactor: number | Nullable;
4815
+ constructor({ child, curve, duration, key, alignment, widthFactor, heightFactor, }: {
4816
+ key?: any;
4817
+ child?: Widget;
4818
+ curve?: Curve;
4819
+ duration: number;
4820
+ widthFactor?: number;
4821
+ heightFactor?: number;
4822
+ alignment: Alignment;
4823
+ });
4824
+ createState(): AnimatedBaseWidgetState<BaseAnimatedAlignWidget>;
4825
+ }
4826
+
4827
+ declare function AnimatedAlignWidget(...props: ConstructorParameters<typeof BaseAnimatedAlignWidget>): BaseAnimatedAlignWidget;
4828
+
4829
+ declare class BaseAnimatedOpacity extends ImplicitlyAnimatedWidget {
4830
+ opacity: number;
4831
+ child?: Widget;
4832
+ constructor({ child, curve, duration, key, opacity, }: {
4833
+ key?: any;
4834
+ child?: Widget;
4835
+ curve?: Curve;
4836
+ duration: number;
4837
+ opacity: number;
4838
+ });
4839
+ createState(): AnimatedBaseWidgetState<BaseAnimatedOpacity>;
4840
+ }
4841
+
4842
+ declare function AnimatedOpacity$1(...props: ConstructorParameters<typeof BaseAnimatedOpacity>): BaseAnimatedOpacity;
4843
+
4844
+ declare class BaseAnimatedPadding extends ImplicitlyAnimatedWidget {
4845
+ opacity: number;
4846
+ padding: EdgeInsetsGeometry;
4847
+ child?: Widget;
4848
+ constructor({ child, curve, duration, key, padding, }: {
4849
+ key?: any;
4850
+ child?: Widget;
4851
+ curve?: Curve;
4852
+ duration: number;
4853
+ padding?: EdgeInsetsGeometry;
4854
+ });
4855
+ createState(): AnimatedBaseWidgetState<BaseAnimatedPadding>;
4856
+ }
4857
+
4858
+ declare function Padding(...props: ConstructorParameters<typeof BaseAnimatedPadding>): BaseAnimatedPadding;
4859
+
4860
+ declare class BaseAnimatedScale extends ImplicitlyAnimatedWidget {
4861
+ scale: number;
4862
+ child?: Widget;
4863
+ alignment: Alignment;
4864
+ constructor({ child, curve, duration, key, scale, alignment, }: {
4865
+ key?: any;
4866
+ child?: Widget;
4867
+ curve?: Curve;
4868
+ duration: number;
4869
+ scale: number;
4870
+ alignment?: Alignment;
4871
+ });
4872
+ createState(): AnimatedBaseWidgetState<BaseAnimatedScale>;
4873
+ }
4874
+
4875
+ declare function AnimatedScale(...props: ConstructorParameters<typeof BaseAnimatedScale>): BaseAnimatedScale;
4876
+
4877
+ declare class BaseAnimatedFractionallySizedBox extends ImplicitlyAnimatedWidget {
4878
+ alignment: Alignment;
4879
+ widthFactor?: number;
4880
+ heightFactor?: number;
4881
+ child?: Widget;
4882
+ constructor({ child, curve, duration, key, widthFactor, heightFactor, alignment, }: {
4883
+ key?: any;
4884
+ child?: Widget;
4885
+ curve?: Curve;
4886
+ duration: number;
4887
+ widthFactor?: number;
4888
+ heightFactor?: number;
4889
+ alignment?: Alignment;
4890
+ });
4891
+ createState(): AnimatedBaseWidgetState<BaseAnimatedFractionallySizedBox>;
4892
+ }
4893
+
4894
+ declare function AnimatedFractionallySizedBox(...props: ConstructorParameters<typeof BaseAnimatedFractionallySizedBox>): BaseAnimatedFractionallySizedBox;
4895
+
4896
+ declare class BaseAnimatedPositioned extends ImplicitlyAnimatedWidget {
4897
+ width?: number;
4898
+ height?: number;
4899
+ top?: number;
4900
+ left?: number;
4901
+ right?: number;
4902
+ bottom?: number;
4903
+ child?: Widget;
4904
+ constructor({ child, curve, duration, key, width, height, top, left, right, bottom, }: {
4905
+ key?: any;
4906
+ child?: Widget;
4907
+ curve?: Curve;
4908
+ duration: number;
4909
+ width?: number;
4910
+ height?: number;
4911
+ top?: number;
4912
+ left?: number;
4913
+ right?: number;
4914
+ bottom?: number;
4915
+ });
4916
+ createState(): AnimatedBaseWidgetState<BaseAnimatedPositioned>;
4917
+ }
4918
+
4919
+ declare function AnimatedPositioned(...props: ConstructorParameters<typeof BaseAnimatedPositioned>): BaseAnimatedPositioned;
4920
+
4921
+ declare class BaseAnimatedRotation extends ImplicitlyAnimatedWidget {
4922
+ turns: number;
4923
+ child?: Widget;
4924
+ alignment: Alignment;
4925
+ constructor({ child, curve, duration, key, turns, alignment, }: {
4926
+ key?: any;
4927
+ child?: Widget;
4928
+ curve?: Curve;
4929
+ duration: number;
4930
+ alignment?: Alignment;
4931
+ turns: number;
4932
+ });
4933
+ createState(): AnimatedBaseWidgetState<BaseAnimatedRotation>;
4934
+ }
4935
+
4936
+ declare function AnimatedOpacity(...props: ConstructorParameters<typeof BaseAnimatedRotation>): BaseAnimatedRotation;
4937
+
4938
+ declare class BaseAnimatedSlide extends ImplicitlyAnimatedWidget {
4939
+ offset: Offset$1;
4940
+ child?: Widget;
4941
+ constructor({ child, curve, duration, key, offset, }: {
4942
+ key?: any;
4943
+ child?: Widget;
4944
+ curve?: Curve;
4945
+ duration: number;
4946
+ alignment?: Alignment;
4947
+ offset: Offset$1;
4948
+ });
4949
+ createState(): AnimatedBaseWidgetState<BaseAnimatedSlide>;
4950
+ }
4951
+
4952
+ declare function AnimatedSlide(...props: ConstructorParameters<typeof BaseAnimatedSlide>): BaseAnimatedSlide;
4953
+
4954
+ declare class BaseAnimatedContainer extends ImplicitlyAnimatedWidget {
4955
+ child?: Widget;
4956
+ padding?: EdgeInsetsGeometry;
4957
+ margin?: EdgeInsetsGeometry;
4958
+ width?: number;
4959
+ height?: number;
4960
+ color?: string;
4961
+ decoration?: Decoration;
4962
+ alignment?: Alignment;
4963
+ clipped?: boolean;
4964
+ constraints?: Constraints;
4965
+ transform?: Matrix4;
4966
+ transformAlignment?: Alignment;
4967
+ constructor({ child, curve, duration, key, alignment, width, height, constraints, color, decoration, margin, padding, clipped, transform, transformAlignment, }: {
4968
+ key?: any;
4969
+ child?: Widget;
4970
+ curve?: Curve;
4971
+ duration: number;
4972
+ alignment?: Alignment;
4973
+ padding?: EdgeInsetsGeometry;
4974
+ margin?: EdgeInsetsGeometry;
4975
+ width?: number;
4976
+ height?: number;
4977
+ color?: string;
4978
+ decoration?: Decoration;
4979
+ clipped?: boolean;
4980
+ constraints?: Constraints;
4981
+ transform?: Matrix4;
4982
+ transformAlignment?: Alignment;
4983
+ });
4984
+ createState(): AnimatedBaseWidgetState<BaseAnimatedContainer>;
4985
+ }
4986
+
4987
+ declare function AnimatedContainer(...props: ConstructorParameters<typeof BaseAnimatedContainer>): BaseAnimatedContainer;
4988
+
4989
+ declare class Draggable extends StatefulWidget {
4990
+ onDragUpdate?: (detail: {
4991
+ delta: Offset$1;
4992
+ }) => void;
4993
+ child: Widget;
4994
+ feedback: Widget;
4995
+ constructor({ onDragUpdate: onDragUpdate, key, child, feedback, }: {
4996
+ onDragUpdate?: (event: {
4997
+ delta: Offset$1;
4998
+ }) => void;
4999
+ key?: any;
5000
+ child: Widget;
5001
+ feedback?: Widget;
5002
+ });
5003
+ createState(): State<Draggable>;
5004
+ }
5005
+ declare const _default$2: (arr_0: {
5006
+ onDragUpdate?: (event: {
5007
+ delta: Offset$1;
5008
+ }) => void;
5009
+ key?: any;
5010
+ child: Widget;
5011
+ feedback?: Widget;
5012
+ }) => Draggable;
5013
+
5014
+ type TooltipPosition = "topLeft" | "topRight" | "topCenter" | "bottomCenter" | "bottomLeft" | "bottomRight" | "center" | "centerLeft" | "centerRight";
5015
+ declare class ToolTip extends StatefulWidget {
5016
+ child: Widget;
5017
+ tooltip: Widget;
5018
+ position: TooltipPosition;
5019
+ constructor({ key, child, tooltip, position, }: {
5020
+ key?: any;
5021
+ child: Widget;
5022
+ tooltip: Widget;
5023
+ position?: TooltipPosition;
5024
+ });
5025
+ createState(): State<StatefulWidget>;
5026
+ }
5027
+ declare const _default$1: (arr_0: {
5028
+ key?: any;
5029
+ child: Widget;
5030
+ tooltip: Widget;
5031
+ position?: TooltipPosition;
5032
+ }) => ToolTip;
5033
+
5034
+ declare const _default: (arr_0: {
5035
+ key?: any;
5036
+ child?: src.Widget;
5037
+ zIndex: number;
5038
+ }) => BaseZIndex;
5039
+
5040
+ declare class Utils {
5041
+ static sumReducer: (acc: number, value: number) => number;
5042
+ static maxReducer: (acc: number, value: number) => number;
5043
+ static minReducer: (acc: number, value: number) => number;
5044
+ static sum(values: number[]): number;
5045
+ static repeat<T>(value: T, count: number): T[];
5046
+ static clampDouble(value: number, min: number, max: number): number;
5047
+ static arrayEqual(a: any[], b: any[]): boolean;
5048
+ static lerp<T extends Calculable | number>(a: T, b: T, t: number): T;
5049
+ }
5050
+
5051
+ export { Align, Alignment, AnimatedAlignWidget as AnimatedAlign, AnimatedBaseWidgetState, AnimatedContainer, AnimatedFractionallySizedBox, AnimatedOpacity$1 as AnimatedOpacity, Padding as AnimatedPadding, AnimatedPositioned, AnimatedOpacity as AnimatedRotation, AnimatedScale, AnimatedSlide, Animation, AnimationController, AppRunner, AspectRatio, Axis, Border, BorderRadius, BorderRadiusGeometry, BorderSide, BorderStyle$1 as BorderStyle, type BoxBorder, BoxDecoration, BoxShadow, Element as BuildContext, BuildOwner, Builder, Calculable, CalculableTween, Center, ChangeNotifier, _default$g as ChangeNotifierProvider, ClipOval$1 as ClipOval, _default$d as ClipPath, ClipOval as ClipRRect, ClipRect, Color, ColoredBox, Column, ComponentElement, StatelessWidget as ComponentWidget, ConstrainedBox, Constraints, ConstraintsTransformBox, _default$f as Container, CrossAxisAlignment, Curve, CurvedAnimation, _default$h as Curves, _default$4 as CustomPaint, Data, DecoratedBox, type Decoration, _default$2 as Draggable, EdgeInsets, Element, Expanded, Flex, _default$e as Flexible, _default$7 as FractionalTranslation, _default$a as FractionallySizedBox, Gap, _default$3 as GestureDetector, GlobalKey, Grid, ImplicitlyAnimatedWidget, ImplicitlyAnimatedWidgetState, IndexedStack, _default$9 as IntrinsicHeight, _default$8 as IntrinsicWidth, _default$b as LimitedBox, Listenable, MainAxisAlignment, MainAxisSize, Matrix3, Matrix4, MultiChildRenderObject, MultiChildRenderObjectWidget, type Nullable, Offset$1 as Offset, _default$6 as Opacity, _default$c as OverflowBox, Padding$1 as Padding, type PaintContext, Path, Positioned, ProviderFn as Provider, RRect, Radius$1 as Radius, ReactiveChangeNotifier, Rect, RenderAligningShiftedBox, RenderBox, RenderContext, RenderFrameDispatcher, RenderObject, RenderObjectElement, RenderObjectToWidgetAdapter, RenderObjectWidget, RenderOwner, RenderView, _default$5 as RichText, Row, Scheduler, SingleChildRenderObject, SingleChildRenderObjectWidget, Size, SizedBox, Spacer, Stack, StackFit, State, StatefulElement, StatefulWidget, StatelessElement, StatelessWidget, Text, TextAlign, TextBaseline, TextDirection, TextOverflow, TextSpan, TextStyle, TextWidthBasis, ToolTipPosition, _default$1 as Tooltip, Transform, Tween, UnconstrainedBox, Utils, Vector2, Vector3, Vector4, VerticalDirection, type VoidCallback, Widget, _default as ZIndex };