@girs/xreaderdocument-1.5 4.2.2-4.0.0-beta.21 → 4.2.2-4.0.0-beta.24

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.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/xreaderdocument-1.5)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for XreaderDocument-1.5, generated from library version 4.2.2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.21.
8
+ GJS TypeScript type definitions for XreaderDocument-1.5, generated from library version 4.2.2 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.24.
9
9
 
10
10
 
11
11
  ## Install
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/xreaderdocument-1.5",
3
- "version": "4.2.2-4.0.0-beta.21",
3
+ "version": "4.2.2-4.0.0-beta.24",
4
4
  "description": "GJS TypeScript type definitions for XreaderDocument-1.5, generated from library version 4.2.2",
5
5
  "type": "module",
6
6
  "module": "xreaderdocument-1.5.js",
@@ -31,20 +31,20 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/atk-1.0": "^2.55.2-4.0.0-beta.21",
35
- "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.21",
36
- "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.21",
37
- "@girs/gdk-3.0": "^3.24.48-4.0.0-beta.21",
38
- "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.21",
39
- "@girs/gio-2.0": "^2.83.3-4.0.0-beta.21",
40
- "@girs/gjs": "^4.0.0-beta.21",
41
- "@girs/glib-2.0": "^2.83.3-4.0.0-beta.21",
42
- "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.21",
43
- "@girs/gobject-2.0": "^2.83.3-4.0.0-beta.21",
44
- "@girs/gtk-3.0": "^3.24.48-4.0.0-beta.21",
45
- "@girs/harfbuzz-0.0": "^9.0.0-4.0.0-beta.21",
46
- "@girs/pango-1.0": "^1.56.0-4.0.0-beta.21",
47
- "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.21"
34
+ "@girs/atk-1.0": "^2.56.2-4.0.0-beta.24",
35
+ "@girs/cairo-1.0": "^1.0.0-4.0.0-beta.24",
36
+ "@girs/freetype2-2.0": "^2.0.0-4.0.0-beta.24",
37
+ "@girs/gdk-3.0": "^3.24.50-4.0.0-beta.24",
38
+ "@girs/gdkpixbuf-2.0": "^2.0.0-4.0.0-beta.24",
39
+ "@girs/gio-2.0": "^2.84.2-4.0.0-beta.24",
40
+ "@girs/gjs": "^4.0.0-beta.24",
41
+ "@girs/glib-2.0": "^2.84.2-4.0.0-beta.24",
42
+ "@girs/gmodule-2.0": "^2.0.0-4.0.0-beta.24",
43
+ "@girs/gobject-2.0": "^2.84.2-4.0.0-beta.24",
44
+ "@girs/gtk-3.0": "^3.24.50-4.0.0-beta.24",
45
+ "@girs/harfbuzz-0.0": "^10.4.0-4.0.0-beta.24",
46
+ "@girs/pango-1.0": "^1.56.4-4.0.0-beta.24",
47
+ "@girs/xlib-2.0": "^2.0.0-4.0.0-beta.24"
48
48
  },
49
49
  "devDependencies": {
50
50
  "typescript": "*"
@@ -7,11 +7,13 @@
7
7
  * The based EJS template file is used for the generated .d.ts file of each GIR module like Gtk-4.0, GObject-2.0, ...
8
8
  */
9
9
 
10
+ import '@girs/gjs';
11
+
10
12
  // Module dependencies
11
13
  import type Gtk from '@girs/gtk-3.0';
12
14
  import type xlib from '@girs/xlib-2.0';
13
15
  import type Gdk from '@girs/gdk-3.0';
14
- import type cairo from '@girs/cairo-1.0';
16
+ import type cairo from 'cairo';
15
17
  import type GObject from '@girs/gobject-2.0';
16
18
  import type GLib from '@girs/glib-2.0';
17
19
  import type Pango from '@girs/pango-1.0';
@@ -419,6 +421,17 @@ export namespace XreaderDocument {
419
421
  NUMBER_UP,
420
422
  }
421
423
  namespace Annotation {
424
+ // Signal signatures
425
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
426
+ 'notify::area': (pspec: GObject.ParamSpec) => void;
427
+ 'notify::color': (pspec: GObject.ParamSpec) => void;
428
+ 'notify::contents': (pspec: GObject.ParamSpec) => void;
429
+ 'notify::modified': (pspec: GObject.ParamSpec) => void;
430
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
431
+ 'notify::page': (pspec: GObject.ParamSpec) => void;
432
+ 'notify::rgba': (pspec: GObject.ParamSpec) => void;
433
+ }
434
+
422
435
  // Constructor properties interface
423
436
 
424
437
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -462,12 +475,39 @@ export namespace XreaderDocument {
462
475
  get rgba(): Gdk.RGBA;
463
476
  set rgba(val: Gdk.RGBA);
464
477
 
478
+ /**
479
+ * Compile-time signal type information.
480
+ *
481
+ * This instance property is generated only for TypeScript type checking.
482
+ * It is not defined at runtime and should not be accessed in JS code.
483
+ * @internal
484
+ */
485
+ $signals: Annotation.SignalSignatures;
486
+
465
487
  // Constructors
466
488
 
467
489
  constructor(properties?: Partial<Annotation.ConstructorProps>, ...args: any[]);
468
490
 
469
491
  _init(...args: any[]): void;
470
492
 
493
+ // Signals
494
+
495
+ connect<K extends keyof Annotation.SignalSignatures>(
496
+ signal: K,
497
+ callback: GObject.SignalCallback<this, Annotation.SignalSignatures[K]>,
498
+ ): number;
499
+ connect(signal: string, callback: (...args: any[]) => any): number;
500
+ connect_after<K extends keyof Annotation.SignalSignatures>(
501
+ signal: K,
502
+ callback: GObject.SignalCallback<this, Annotation.SignalSignatures[K]>,
503
+ ): number;
504
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
505
+ emit<K extends keyof Annotation.SignalSignatures>(
506
+ signal: K,
507
+ ...args: GObject.GjsParameters<Annotation.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
508
+ ): void;
509
+ emit(signal: string, ...args: any[]): void;
510
+
471
511
  // Methods
472
512
 
473
513
  /**
@@ -574,6 +614,24 @@ export namespace XreaderDocument {
574
614
  }
575
615
 
576
616
  namespace AnnotationAttachment {
617
+ // Signal signatures
618
+ interface SignalSignatures extends Annotation.SignalSignatures {
619
+ 'notify::attachment': (pspec: GObject.ParamSpec) => void;
620
+ 'notify::area': (pspec: GObject.ParamSpec) => void;
621
+ 'notify::color': (pspec: GObject.ParamSpec) => void;
622
+ 'notify::contents': (pspec: GObject.ParamSpec) => void;
623
+ 'notify::modified': (pspec: GObject.ParamSpec) => void;
624
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
625
+ 'notify::page': (pspec: GObject.ParamSpec) => void;
626
+ 'notify::rgba': (pspec: GObject.ParamSpec) => void;
627
+ 'notify::can-have-popup': (pspec: GObject.ParamSpec) => void;
628
+ 'notify::has-popup': (pspec: GObject.ParamSpec) => void;
629
+ 'notify::label': (pspec: GObject.ParamSpec) => void;
630
+ 'notify::opacity': (pspec: GObject.ParamSpec) => void;
631
+ 'notify::popup-is-open': (pspec: GObject.ParamSpec) => void;
632
+ 'notify::rectangle': (pspec: GObject.ParamSpec) => void;
633
+ }
634
+
577
635
  // Constructor properties interface
578
636
 
579
637
  interface ConstructorProps extends Annotation.ConstructorProps, AnnotationMarkup.ConstructorProps {
@@ -589,6 +647,15 @@ export namespace XreaderDocument {
589
647
  get attachment(): Attachment;
590
648
  set attachment(val: Attachment);
591
649
 
650
+ /**
651
+ * Compile-time signal type information.
652
+ *
653
+ * This instance property is generated only for TypeScript type checking.
654
+ * It is not defined at runtime and should not be accessed in JS code.
655
+ * @internal
656
+ */
657
+ $signals: AnnotationAttachment.SignalSignatures;
658
+
592
659
  // Constructors
593
660
 
594
661
  constructor(properties?: Partial<AnnotationAttachment.ConstructorProps>, ...args: any[]);
@@ -597,6 +664,26 @@ export namespace XreaderDocument {
597
664
 
598
665
  static ['new'](page: Page, attachment: Attachment): AnnotationAttachment;
599
666
 
667
+ // Signals
668
+
669
+ connect<K extends keyof AnnotationAttachment.SignalSignatures>(
670
+ signal: K,
671
+ callback: GObject.SignalCallback<this, AnnotationAttachment.SignalSignatures[K]>,
672
+ ): number;
673
+ connect(signal: string, callback: (...args: any[]) => any): number;
674
+ connect_after<K extends keyof AnnotationAttachment.SignalSignatures>(
675
+ signal: K,
676
+ callback: GObject.SignalCallback<this, AnnotationAttachment.SignalSignatures[K]>,
677
+ ): number;
678
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
679
+ emit<K extends keyof AnnotationAttachment.SignalSignatures>(
680
+ signal: K,
681
+ ...args: GObject.GjsParameters<AnnotationAttachment.SignalSignatures[K]> extends [any, ...infer Q]
682
+ ? Q
683
+ : never
684
+ ): void;
685
+ emit(signal: string, ...args: any[]): void;
686
+
600
687
  // Methods
601
688
 
602
689
  get_attachment(): Attachment;
@@ -760,6 +847,25 @@ export namespace XreaderDocument {
760
847
  }
761
848
 
762
849
  namespace AnnotationText {
850
+ // Signal signatures
851
+ interface SignalSignatures extends Annotation.SignalSignatures {
852
+ 'notify::icon': (pspec: GObject.ParamSpec) => void;
853
+ 'notify::is-open': (pspec: GObject.ParamSpec) => void;
854
+ 'notify::area': (pspec: GObject.ParamSpec) => void;
855
+ 'notify::color': (pspec: GObject.ParamSpec) => void;
856
+ 'notify::contents': (pspec: GObject.ParamSpec) => void;
857
+ 'notify::modified': (pspec: GObject.ParamSpec) => void;
858
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
859
+ 'notify::page': (pspec: GObject.ParamSpec) => void;
860
+ 'notify::rgba': (pspec: GObject.ParamSpec) => void;
861
+ 'notify::can-have-popup': (pspec: GObject.ParamSpec) => void;
862
+ 'notify::has-popup': (pspec: GObject.ParamSpec) => void;
863
+ 'notify::label': (pspec: GObject.ParamSpec) => void;
864
+ 'notify::opacity': (pspec: GObject.ParamSpec) => void;
865
+ 'notify::popup-is-open': (pspec: GObject.ParamSpec) => void;
866
+ 'notify::rectangle': (pspec: GObject.ParamSpec) => void;
867
+ }
868
+
763
869
  // Constructor properties interface
764
870
 
765
871
  interface ConstructorProps extends Annotation.ConstructorProps, AnnotationMarkup.ConstructorProps {
@@ -781,6 +887,15 @@ export namespace XreaderDocument {
781
887
  get isOpen(): boolean;
782
888
  set isOpen(val: boolean);
783
889
 
890
+ /**
891
+ * Compile-time signal type information.
892
+ *
893
+ * This instance property is generated only for TypeScript type checking.
894
+ * It is not defined at runtime and should not be accessed in JS code.
895
+ * @internal
896
+ */
897
+ $signals: AnnotationText.SignalSignatures;
898
+
784
899
  // Constructors
785
900
 
786
901
  constructor(properties?: Partial<AnnotationText.ConstructorProps>, ...args: any[]);
@@ -789,6 +904,24 @@ export namespace XreaderDocument {
789
904
 
790
905
  static ['new'](page: Page): AnnotationText;
791
906
 
907
+ // Signals
908
+
909
+ connect<K extends keyof AnnotationText.SignalSignatures>(
910
+ signal: K,
911
+ callback: GObject.SignalCallback<this, AnnotationText.SignalSignatures[K]>,
912
+ ): number;
913
+ connect(signal: string, callback: (...args: any[]) => any): number;
914
+ connect_after<K extends keyof AnnotationText.SignalSignatures>(
915
+ signal: K,
916
+ callback: GObject.SignalCallback<this, AnnotationText.SignalSignatures[K]>,
917
+ ): number;
918
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
919
+ emit<K extends keyof AnnotationText.SignalSignatures>(
920
+ signal: K,
921
+ ...args: GObject.GjsParameters<AnnotationText.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
922
+ ): void;
923
+ emit(signal: string, ...args: any[]): void;
924
+
792
925
  // Methods
793
926
 
794
927
  get_icon(): AnnotationTextIcon;
@@ -954,6 +1087,24 @@ export namespace XreaderDocument {
954
1087
  }
955
1088
 
956
1089
  namespace AnnotationTextMarkup {
1090
+ // Signal signatures
1091
+ interface SignalSignatures extends Annotation.SignalSignatures {
1092
+ 'notify::type': (pspec: GObject.ParamSpec) => void;
1093
+ 'notify::area': (pspec: GObject.ParamSpec) => void;
1094
+ 'notify::color': (pspec: GObject.ParamSpec) => void;
1095
+ 'notify::contents': (pspec: GObject.ParamSpec) => void;
1096
+ 'notify::modified': (pspec: GObject.ParamSpec) => void;
1097
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
1098
+ 'notify::page': (pspec: GObject.ParamSpec) => void;
1099
+ 'notify::rgba': (pspec: GObject.ParamSpec) => void;
1100
+ 'notify::can-have-popup': (pspec: GObject.ParamSpec) => void;
1101
+ 'notify::has-popup': (pspec: GObject.ParamSpec) => void;
1102
+ 'notify::label': (pspec: GObject.ParamSpec) => void;
1103
+ 'notify::opacity': (pspec: GObject.ParamSpec) => void;
1104
+ 'notify::popup-is-open': (pspec: GObject.ParamSpec) => void;
1105
+ 'notify::rectangle': (pspec: GObject.ParamSpec) => void;
1106
+ }
1107
+
957
1108
  // Constructor properties interface
958
1109
 
959
1110
  interface ConstructorProps extends Annotation.ConstructorProps, AnnotationMarkup.ConstructorProps {
@@ -969,6 +1120,15 @@ export namespace XreaderDocument {
969
1120
  get type(): AnnotationTextMarkupType;
970
1121
  set type(val: AnnotationTextMarkupType);
971
1122
 
1123
+ /**
1124
+ * Compile-time signal type information.
1125
+ *
1126
+ * This instance property is generated only for TypeScript type checking.
1127
+ * It is not defined at runtime and should not be accessed in JS code.
1128
+ * @internal
1129
+ */
1130
+ $signals: AnnotationTextMarkup.SignalSignatures;
1131
+
972
1132
  // Constructors
973
1133
 
974
1134
  constructor(properties?: Partial<AnnotationTextMarkup.ConstructorProps>, ...args: any[]);
@@ -983,6 +1143,26 @@ export namespace XreaderDocument {
983
1143
 
984
1144
  static underline_new(page: Page): AnnotationTextMarkup;
985
1145
 
1146
+ // Signals
1147
+
1148
+ connect<K extends keyof AnnotationTextMarkup.SignalSignatures>(
1149
+ signal: K,
1150
+ callback: GObject.SignalCallback<this, AnnotationTextMarkup.SignalSignatures[K]>,
1151
+ ): number;
1152
+ connect(signal: string, callback: (...args: any[]) => any): number;
1153
+ connect_after<K extends keyof AnnotationTextMarkup.SignalSignatures>(
1154
+ signal: K,
1155
+ callback: GObject.SignalCallback<this, AnnotationTextMarkup.SignalSignatures[K]>,
1156
+ ): number;
1157
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1158
+ emit<K extends keyof AnnotationTextMarkup.SignalSignatures>(
1159
+ signal: K,
1160
+ ...args: GObject.GjsParameters<AnnotationTextMarkup.SignalSignatures[K]> extends [any, ...infer Q]
1161
+ ? Q
1162
+ : never
1163
+ ): void;
1164
+ emit(signal: string, ...args: any[]): void;
1165
+
986
1166
  // Methods
987
1167
 
988
1168
  get_markup_type(): AnnotationTextMarkupType;
@@ -1146,6 +1326,16 @@ export namespace XreaderDocument {
1146
1326
  }
1147
1327
 
1148
1328
  namespace Attachment {
1329
+ // Signal signatures
1330
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
1331
+ 'notify::ctime': (pspec: GObject.ParamSpec) => void;
1332
+ 'notify::data': (pspec: GObject.ParamSpec) => void;
1333
+ 'notify::description': (pspec: GObject.ParamSpec) => void;
1334
+ 'notify::mtime': (pspec: GObject.ParamSpec) => void;
1335
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
1336
+ 'notify::size': (pspec: GObject.ParamSpec) => void;
1337
+ }
1338
+
1149
1339
  // Constructor properties interface
1150
1340
 
1151
1341
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1170,6 +1360,15 @@ export namespace XreaderDocument {
1170
1360
  set name(val: string);
1171
1361
  set size(val: number);
1172
1362
 
1363
+ /**
1364
+ * Compile-time signal type information.
1365
+ *
1366
+ * This instance property is generated only for TypeScript type checking.
1367
+ * It is not defined at runtime and should not be accessed in JS code.
1368
+ * @internal
1369
+ */
1370
+ $signals: Attachment.SignalSignatures;
1371
+
1173
1372
  // Fields
1174
1373
 
1175
1374
  base_instance: GObject.Object;
@@ -1189,6 +1388,24 @@ export namespace XreaderDocument {
1189
1388
  data?: any | null,
1190
1389
  ): Attachment;
1191
1390
 
1391
+ // Signals
1392
+
1393
+ connect<K extends keyof Attachment.SignalSignatures>(
1394
+ signal: K,
1395
+ callback: GObject.SignalCallback<this, Attachment.SignalSignatures[K]>,
1396
+ ): number;
1397
+ connect(signal: string, callback: (...args: any[]) => any): number;
1398
+ connect_after<K extends keyof Attachment.SignalSignatures>(
1399
+ signal: K,
1400
+ callback: GObject.SignalCallback<this, Attachment.SignalSignatures[K]>,
1401
+ ): number;
1402
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1403
+ emit<K extends keyof Attachment.SignalSignatures>(
1404
+ signal: K,
1405
+ ...args: GObject.GjsParameters<Attachment.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1406
+ ): void;
1407
+ emit(signal: string, ...args: any[]): void;
1408
+
1192
1409
  // Static methods
1193
1410
 
1194
1411
  static error_quark(): GLib.Quark;
@@ -1205,6 +1422,9 @@ export namespace XreaderDocument {
1205
1422
  }
1206
1423
 
1207
1424
  namespace Document {
1425
+ // Signal signatures
1426
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1427
+
1208
1428
  // Constructor properties interface
1209
1429
 
1210
1430
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1213,6 +1433,15 @@ export namespace XreaderDocument {
1213
1433
  abstract class Document extends GObject.Object {
1214
1434
  static $gtype: GObject.GType<Document>;
1215
1435
 
1436
+ /**
1437
+ * Compile-time signal type information.
1438
+ *
1439
+ * This instance property is generated only for TypeScript type checking.
1440
+ * It is not defined at runtime and should not be accessed in JS code.
1441
+ * @internal
1442
+ */
1443
+ $signals: Document.SignalSignatures;
1444
+
1216
1445
  // Fields
1217
1446
 
1218
1447
  base: GObject.Object;
@@ -1224,6 +1453,24 @@ export namespace XreaderDocument {
1224
1453
 
1225
1454
  _init(...args: any[]): void;
1226
1455
 
1456
+ // Signals
1457
+
1458
+ connect<K extends keyof Document.SignalSignatures>(
1459
+ signal: K,
1460
+ callback: GObject.SignalCallback<this, Document.SignalSignatures[K]>,
1461
+ ): number;
1462
+ connect(signal: string, callback: (...args: any[]) => any): number;
1463
+ connect_after<K extends keyof Document.SignalSignatures>(
1464
+ signal: K,
1465
+ callback: GObject.SignalCallback<this, Document.SignalSignatures[K]>,
1466
+ ): number;
1467
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1468
+ emit<K extends keyof Document.SignalSignatures>(
1469
+ signal: K,
1470
+ ...args: GObject.GjsParameters<Document.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1471
+ ): void;
1472
+ emit(signal: string, ...args: any[]): void;
1473
+
1227
1474
  // Static methods
1228
1475
 
1229
1476
  static doc_mutex_lock(): void;
@@ -1359,6 +1606,9 @@ export namespace XreaderDocument {
1359
1606
  }
1360
1607
 
1361
1608
  namespace FormField {
1609
+ // Signal signatures
1610
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1611
+
1362
1612
  // Constructor properties interface
1363
1613
 
1364
1614
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1367,6 +1617,15 @@ export namespace XreaderDocument {
1367
1617
  abstract class FormField extends GObject.Object {
1368
1618
  static $gtype: GObject.GType<FormField>;
1369
1619
 
1620
+ /**
1621
+ * Compile-time signal type information.
1622
+ *
1623
+ * This instance property is generated only for TypeScript type checking.
1624
+ * It is not defined at runtime and should not be accessed in JS code.
1625
+ * @internal
1626
+ */
1627
+ $signals: FormField.SignalSignatures;
1628
+
1370
1629
  // Fields
1371
1630
 
1372
1631
  id: number;
@@ -1380,9 +1639,30 @@ export namespace XreaderDocument {
1380
1639
  constructor(properties?: Partial<FormField.ConstructorProps>, ...args: any[]);
1381
1640
 
1382
1641
  _init(...args: any[]): void;
1642
+
1643
+ // Signals
1644
+
1645
+ connect<K extends keyof FormField.SignalSignatures>(
1646
+ signal: K,
1647
+ callback: GObject.SignalCallback<this, FormField.SignalSignatures[K]>,
1648
+ ): number;
1649
+ connect(signal: string, callback: (...args: any[]) => any): number;
1650
+ connect_after<K extends keyof FormField.SignalSignatures>(
1651
+ signal: K,
1652
+ callback: GObject.SignalCallback<this, FormField.SignalSignatures[K]>,
1653
+ ): number;
1654
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1655
+ emit<K extends keyof FormField.SignalSignatures>(
1656
+ signal: K,
1657
+ ...args: GObject.GjsParameters<FormField.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1658
+ ): void;
1659
+ emit(signal: string, ...args: any[]): void;
1383
1660
  }
1384
1661
 
1385
1662
  namespace FormFieldButton {
1663
+ // Signal signatures
1664
+ interface SignalSignatures extends FormField.SignalSignatures {}
1665
+
1386
1666
  // Constructor properties interface
1387
1667
 
1388
1668
  interface ConstructorProps extends FormField.ConstructorProps {}
@@ -1391,6 +1671,15 @@ export namespace XreaderDocument {
1391
1671
  class FormFieldButton extends FormField {
1392
1672
  static $gtype: GObject.GType<FormFieldButton>;
1393
1673
 
1674
+ /**
1675
+ * Compile-time signal type information.
1676
+ *
1677
+ * This instance property is generated only for TypeScript type checking.
1678
+ * It is not defined at runtime and should not be accessed in JS code.
1679
+ * @internal
1680
+ */
1681
+ $signals: FormFieldButton.SignalSignatures;
1682
+
1394
1683
  // Fields
1395
1684
 
1396
1685
  partent: FormField;
@@ -1404,9 +1693,30 @@ export namespace XreaderDocument {
1404
1693
  _init(...args: any[]): void;
1405
1694
 
1406
1695
  static ['new'](id: number, type: FormFieldButtonType): FormFieldButton;
1696
+
1697
+ // Signals
1698
+
1699
+ connect<K extends keyof FormFieldButton.SignalSignatures>(
1700
+ signal: K,
1701
+ callback: GObject.SignalCallback<this, FormFieldButton.SignalSignatures[K]>,
1702
+ ): number;
1703
+ connect(signal: string, callback: (...args: any[]) => any): number;
1704
+ connect_after<K extends keyof FormFieldButton.SignalSignatures>(
1705
+ signal: K,
1706
+ callback: GObject.SignalCallback<this, FormFieldButton.SignalSignatures[K]>,
1707
+ ): number;
1708
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1709
+ emit<K extends keyof FormFieldButton.SignalSignatures>(
1710
+ signal: K,
1711
+ ...args: GObject.GjsParameters<FormFieldButton.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1712
+ ): void;
1713
+ emit(signal: string, ...args: any[]): void;
1407
1714
  }
1408
1715
 
1409
1716
  namespace FormFieldChoice {
1717
+ // Signal signatures
1718
+ interface SignalSignatures extends FormField.SignalSignatures {}
1719
+
1410
1720
  // Constructor properties interface
1411
1721
 
1412
1722
  interface ConstructorProps extends FormField.ConstructorProps {}
@@ -1415,6 +1725,15 @@ export namespace XreaderDocument {
1415
1725
  class FormFieldChoice extends FormField {
1416
1726
  static $gtype: GObject.GType<FormFieldChoice>;
1417
1727
 
1728
+ /**
1729
+ * Compile-time signal type information.
1730
+ *
1731
+ * This instance property is generated only for TypeScript type checking.
1732
+ * It is not defined at runtime and should not be accessed in JS code.
1733
+ * @internal
1734
+ */
1735
+ $signals: FormFieldChoice.SignalSignatures;
1736
+
1418
1737
  // Fields
1419
1738
 
1420
1739
  partent: FormField;
@@ -1433,9 +1752,30 @@ export namespace XreaderDocument {
1433
1752
  _init(...args: any[]): void;
1434
1753
 
1435
1754
  static ['new'](id: number, type: FormFieldChoiceType): FormFieldChoice;
1755
+
1756
+ // Signals
1757
+
1758
+ connect<K extends keyof FormFieldChoice.SignalSignatures>(
1759
+ signal: K,
1760
+ callback: GObject.SignalCallback<this, FormFieldChoice.SignalSignatures[K]>,
1761
+ ): number;
1762
+ connect(signal: string, callback: (...args: any[]) => any): number;
1763
+ connect_after<K extends keyof FormFieldChoice.SignalSignatures>(
1764
+ signal: K,
1765
+ callback: GObject.SignalCallback<this, FormFieldChoice.SignalSignatures[K]>,
1766
+ ): number;
1767
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1768
+ emit<K extends keyof FormFieldChoice.SignalSignatures>(
1769
+ signal: K,
1770
+ ...args: GObject.GjsParameters<FormFieldChoice.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1771
+ ): void;
1772
+ emit(signal: string, ...args: any[]): void;
1436
1773
  }
1437
1774
 
1438
1775
  namespace FormFieldSignature {
1776
+ // Signal signatures
1777
+ interface SignalSignatures extends FormField.SignalSignatures {}
1778
+
1439
1779
  // Constructor properties interface
1440
1780
 
1441
1781
  interface ConstructorProps extends FormField.ConstructorProps {}
@@ -1444,6 +1784,15 @@ export namespace XreaderDocument {
1444
1784
  class FormFieldSignature extends FormField {
1445
1785
  static $gtype: GObject.GType<FormFieldSignature>;
1446
1786
 
1787
+ /**
1788
+ * Compile-time signal type information.
1789
+ *
1790
+ * This instance property is generated only for TypeScript type checking.
1791
+ * It is not defined at runtime and should not be accessed in JS code.
1792
+ * @internal
1793
+ */
1794
+ $signals: FormFieldSignature.SignalSignatures;
1795
+
1447
1796
  // Fields
1448
1797
 
1449
1798
  partent: FormField;
@@ -1455,9 +1804,30 @@ export namespace XreaderDocument {
1455
1804
  _init(...args: any[]): void;
1456
1805
 
1457
1806
  static ['new'](id: number): FormFieldSignature;
1807
+
1808
+ // Signals
1809
+
1810
+ connect<K extends keyof FormFieldSignature.SignalSignatures>(
1811
+ signal: K,
1812
+ callback: GObject.SignalCallback<this, FormFieldSignature.SignalSignatures[K]>,
1813
+ ): number;
1814
+ connect(signal: string, callback: (...args: any[]) => any): number;
1815
+ connect_after<K extends keyof FormFieldSignature.SignalSignatures>(
1816
+ signal: K,
1817
+ callback: GObject.SignalCallback<this, FormFieldSignature.SignalSignatures[K]>,
1818
+ ): number;
1819
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1820
+ emit<K extends keyof FormFieldSignature.SignalSignatures>(
1821
+ signal: K,
1822
+ ...args: GObject.GjsParameters<FormFieldSignature.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1823
+ ): void;
1824
+ emit(signal: string, ...args: any[]): void;
1458
1825
  }
1459
1826
 
1460
1827
  namespace FormFieldText {
1828
+ // Signal signatures
1829
+ interface SignalSignatures extends FormField.SignalSignatures {}
1830
+
1461
1831
  // Constructor properties interface
1462
1832
 
1463
1833
  interface ConstructorProps extends FormField.ConstructorProps {}
@@ -1466,6 +1836,15 @@ export namespace XreaderDocument {
1466
1836
  class FormFieldText extends FormField {
1467
1837
  static $gtype: GObject.GType<FormFieldText>;
1468
1838
 
1839
+ /**
1840
+ * Compile-time signal type information.
1841
+ *
1842
+ * This instance property is generated only for TypeScript type checking.
1843
+ * It is not defined at runtime and should not be accessed in JS code.
1844
+ * @internal
1845
+ */
1846
+ $signals: FormFieldText.SignalSignatures;
1847
+
1469
1848
  // Fields
1470
1849
 
1471
1850
  partent: FormField;
@@ -1485,9 +1864,30 @@ export namespace XreaderDocument {
1485
1864
  _init(...args: any[]): void;
1486
1865
 
1487
1866
  static ['new'](id: number, type: FormFieldTextType): FormFieldText;
1867
+
1868
+ // Signals
1869
+
1870
+ connect<K extends keyof FormFieldText.SignalSignatures>(
1871
+ signal: K,
1872
+ callback: GObject.SignalCallback<this, FormFieldText.SignalSignatures[K]>,
1873
+ ): number;
1874
+ connect(signal: string, callback: (...args: any[]) => any): number;
1875
+ connect_after<K extends keyof FormFieldText.SignalSignatures>(
1876
+ signal: K,
1877
+ callback: GObject.SignalCallback<this, FormFieldText.SignalSignatures[K]>,
1878
+ ): number;
1879
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1880
+ emit<K extends keyof FormFieldText.SignalSignatures>(
1881
+ signal: K,
1882
+ ...args: GObject.GjsParameters<FormFieldText.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1883
+ ): void;
1884
+ emit(signal: string, ...args: any[]): void;
1488
1885
  }
1489
1886
 
1490
1887
  namespace Image {
1888
+ // Signal signatures
1889
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1890
+
1491
1891
  // Constructor properties interface
1492
1892
 
1493
1893
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1496,6 +1896,15 @@ export namespace XreaderDocument {
1496
1896
  class Image extends GObject.Object {
1497
1897
  static $gtype: GObject.GType<Image>;
1498
1898
 
1899
+ /**
1900
+ * Compile-time signal type information.
1901
+ *
1902
+ * This instance property is generated only for TypeScript type checking.
1903
+ * It is not defined at runtime and should not be accessed in JS code.
1904
+ * @internal
1905
+ */
1906
+ $signals: Image.SignalSignatures;
1907
+
1499
1908
  // Fields
1500
1909
 
1501
1910
  base_instance: GObject.Object;
@@ -1510,6 +1919,24 @@ export namespace XreaderDocument {
1510
1919
 
1511
1920
  static new_from_pixbuf(pixbuf: GdkPixbuf.Pixbuf): Image;
1512
1921
 
1922
+ // Signals
1923
+
1924
+ connect<K extends keyof Image.SignalSignatures>(
1925
+ signal: K,
1926
+ callback: GObject.SignalCallback<this, Image.SignalSignatures[K]>,
1927
+ ): number;
1928
+ connect(signal: string, callback: (...args: any[]) => any): number;
1929
+ connect_after<K extends keyof Image.SignalSignatures>(
1930
+ signal: K,
1931
+ callback: GObject.SignalCallback<this, Image.SignalSignatures[K]>,
1932
+ ): number;
1933
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1934
+ emit<K extends keyof Image.SignalSignatures>(
1935
+ signal: K,
1936
+ ...args: GObject.GjsParameters<Image.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1937
+ ): void;
1938
+ emit(signal: string, ...args: any[]): void;
1939
+
1513
1940
  // Methods
1514
1941
 
1515
1942
  get_id(): number;
@@ -1519,6 +1946,9 @@ export namespace XreaderDocument {
1519
1946
  }
1520
1947
 
1521
1948
  namespace Layer {
1949
+ // Signal signatures
1950
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1951
+
1522
1952
  // Constructor properties interface
1523
1953
 
1524
1954
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1527,6 +1957,15 @@ export namespace XreaderDocument {
1527
1957
  class Layer extends GObject.Object {
1528
1958
  static $gtype: GObject.GType<Layer>;
1529
1959
 
1960
+ /**
1961
+ * Compile-time signal type information.
1962
+ *
1963
+ * This instance property is generated only for TypeScript type checking.
1964
+ * It is not defined at runtime and should not be accessed in JS code.
1965
+ * @internal
1966
+ */
1967
+ $signals: Layer.SignalSignatures;
1968
+
1530
1969
  // Fields
1531
1970
 
1532
1971
  base_instance: GObject.Object;
@@ -1539,6 +1978,24 @@ export namespace XreaderDocument {
1539
1978
 
1540
1979
  static ['new'](is_parent: boolean, rb_group: number): Layer;
1541
1980
 
1981
+ // Signals
1982
+
1983
+ connect<K extends keyof Layer.SignalSignatures>(
1984
+ signal: K,
1985
+ callback: GObject.SignalCallback<this, Layer.SignalSignatures[K]>,
1986
+ ): number;
1987
+ connect(signal: string, callback: (...args: any[]) => any): number;
1988
+ connect_after<K extends keyof Layer.SignalSignatures>(
1989
+ signal: K,
1990
+ callback: GObject.SignalCallback<this, Layer.SignalSignatures[K]>,
1991
+ ): number;
1992
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1993
+ emit<K extends keyof Layer.SignalSignatures>(
1994
+ signal: K,
1995
+ ...args: GObject.GjsParameters<Layer.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1996
+ ): void;
1997
+ emit(signal: string, ...args: any[]): void;
1998
+
1542
1999
  // Methods
1543
2000
 
1544
2001
  get_rb_group(): number;
@@ -1546,6 +2003,12 @@ export namespace XreaderDocument {
1546
2003
  }
1547
2004
 
1548
2005
  namespace Link {
2006
+ // Signal signatures
2007
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2008
+ 'notify::action': (pspec: GObject.ParamSpec) => void;
2009
+ 'notify::title': (pspec: GObject.ParamSpec) => void;
2010
+ }
2011
+
1549
2012
  // Constructor properties interface
1550
2013
 
1551
2014
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1562,6 +2025,15 @@ export namespace XreaderDocument {
1562
2025
  get action(): LinkAction;
1563
2026
  get title(): string;
1564
2027
 
2028
+ /**
2029
+ * Compile-time signal type information.
2030
+ *
2031
+ * This instance property is generated only for TypeScript type checking.
2032
+ * It is not defined at runtime and should not be accessed in JS code.
2033
+ * @internal
2034
+ */
2035
+ $signals: Link.SignalSignatures;
2036
+
1565
2037
  // Constructors
1566
2038
 
1567
2039
  constructor(properties?: Partial<Link.ConstructorProps>, ...args: any[]);
@@ -1570,12 +2042,43 @@ export namespace XreaderDocument {
1570
2042
 
1571
2043
  static ['new'](title: string, action: LinkAction): Link;
1572
2044
 
2045
+ // Signals
2046
+
2047
+ connect<K extends keyof Link.SignalSignatures>(
2048
+ signal: K,
2049
+ callback: GObject.SignalCallback<this, Link.SignalSignatures[K]>,
2050
+ ): number;
2051
+ connect(signal: string, callback: (...args: any[]) => any): number;
2052
+ connect_after<K extends keyof Link.SignalSignatures>(
2053
+ signal: K,
2054
+ callback: GObject.SignalCallback<this, Link.SignalSignatures[K]>,
2055
+ ): number;
2056
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2057
+ emit<K extends keyof Link.SignalSignatures>(
2058
+ signal: K,
2059
+ ...args: GObject.GjsParameters<Link.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2060
+ ): void;
2061
+ emit(signal: string, ...args: any[]): void;
2062
+
1573
2063
  // Methods
1574
2064
 
1575
2065
  get_title(): string;
1576
2066
  }
1577
2067
 
1578
2068
  namespace LinkAction {
2069
+ // Signal signatures
2070
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2071
+ 'notify::dest': (pspec: GObject.ParamSpec) => void;
2072
+ 'notify::filename': (pspec: GObject.ParamSpec) => void;
2073
+ 'notify::hide-list': (pspec: GObject.ParamSpec) => void;
2074
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
2075
+ 'notify::params': (pspec: GObject.ParamSpec) => void;
2076
+ 'notify::show-list': (pspec: GObject.ParamSpec) => void;
2077
+ 'notify::toggle-list': (pspec: GObject.ParamSpec) => void;
2078
+ 'notify::type': (pspec: GObject.ParamSpec) => void;
2079
+ 'notify::uri': (pspec: GObject.ParamSpec) => void;
2080
+ }
2081
+
1579
2082
  // Constructor properties interface
1580
2083
 
1581
2084
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1612,6 +2115,15 @@ export namespace XreaderDocument {
1612
2115
  get type(): LinkActionType;
1613
2116
  get uri(): string;
1614
2117
 
2118
+ /**
2119
+ * Compile-time signal type information.
2120
+ *
2121
+ * This instance property is generated only for TypeScript type checking.
2122
+ * It is not defined at runtime and should not be accessed in JS code.
2123
+ * @internal
2124
+ */
2125
+ $signals: LinkAction.SignalSignatures;
2126
+
1615
2127
  // Constructors
1616
2128
 
1617
2129
  constructor(properties?: Partial<LinkAction.ConstructorProps>, ...args: any[]);
@@ -1628,6 +2140,24 @@ export namespace XreaderDocument {
1628
2140
 
1629
2141
  static new_remote(dest: LinkDest, filename: string): LinkAction;
1630
2142
 
2143
+ // Signals
2144
+
2145
+ connect<K extends keyof LinkAction.SignalSignatures>(
2146
+ signal: K,
2147
+ callback: GObject.SignalCallback<this, LinkAction.SignalSignatures[K]>,
2148
+ ): number;
2149
+ connect(signal: string, callback: (...args: any[]) => any): number;
2150
+ connect_after<K extends keyof LinkAction.SignalSignatures>(
2151
+ signal: K,
2152
+ callback: GObject.SignalCallback<this, LinkAction.SignalSignatures[K]>,
2153
+ ): number;
2154
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2155
+ emit<K extends keyof LinkAction.SignalSignatures>(
2156
+ signal: K,
2157
+ ...args: GObject.GjsParameters<LinkAction.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2158
+ ): void;
2159
+ emit(signal: string, ...args: any[]): void;
2160
+
1631
2161
  // Methods
1632
2162
 
1633
2163
  equal(b: LinkAction): boolean;
@@ -1639,6 +2169,20 @@ export namespace XreaderDocument {
1639
2169
  }
1640
2170
 
1641
2171
  namespace LinkDest {
2172
+ // Signal signatures
2173
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2174
+ 'notify::bottom': (pspec: GObject.ParamSpec) => void;
2175
+ 'notify::change': (pspec: GObject.ParamSpec) => void;
2176
+ 'notify::left': (pspec: GObject.ParamSpec) => void;
2177
+ 'notify::named': (pspec: GObject.ParamSpec) => void;
2178
+ 'notify::page': (pspec: GObject.ParamSpec) => void;
2179
+ 'notify::page-label': (pspec: GObject.ParamSpec) => void;
2180
+ 'notify::right': (pspec: GObject.ParamSpec) => void;
2181
+ 'notify::top': (pspec: GObject.ParamSpec) => void;
2182
+ 'notify::type': (pspec: GObject.ParamSpec) => void;
2183
+ 'notify::zoom': (pspec: GObject.ParamSpec) => void;
2184
+ }
2185
+
1642
2186
  // Constructor properties interface
1643
2187
 
1644
2188
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1673,6 +2217,15 @@ export namespace XreaderDocument {
1673
2217
  get type(): LinkDestType;
1674
2218
  get zoom(): number;
1675
2219
 
2220
+ /**
2221
+ * Compile-time signal type information.
2222
+ *
2223
+ * This instance property is generated only for TypeScript type checking.
2224
+ * It is not defined at runtime and should not be accessed in JS code.
2225
+ * @internal
2226
+ */
2227
+ $signals: LinkDest.SignalSignatures;
2228
+
1676
2229
  // Constructors
1677
2230
 
1678
2231
  constructor(properties?: Partial<LinkDest.ConstructorProps>, ...args: any[]);
@@ -1705,6 +2258,24 @@ export namespace XreaderDocument {
1705
2258
  change_zoom: boolean,
1706
2259
  ): LinkDest;
1707
2260
 
2261
+ // Signals
2262
+
2263
+ connect<K extends keyof LinkDest.SignalSignatures>(
2264
+ signal: K,
2265
+ callback: GObject.SignalCallback<this, LinkDest.SignalSignatures[K]>,
2266
+ ): number;
2267
+ connect(signal: string, callback: (...args: any[]) => any): number;
2268
+ connect_after<K extends keyof LinkDest.SignalSignatures>(
2269
+ signal: K,
2270
+ callback: GObject.SignalCallback<this, LinkDest.SignalSignatures[K]>,
2271
+ ): number;
2272
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2273
+ emit<K extends keyof LinkDest.SignalSignatures>(
2274
+ signal: K,
2275
+ ...args: GObject.GjsParameters<LinkDest.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2276
+ ): void;
2277
+ emit(signal: string, ...args: any[]): void;
2278
+
1708
2279
  // Methods
1709
2280
 
1710
2281
  equal(b: LinkDest): boolean;
@@ -1720,6 +2291,9 @@ export namespace XreaderDocument {
1720
2291
  }
1721
2292
 
1722
2293
  namespace Page {
2294
+ // Signal signatures
2295
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
2296
+
1723
2297
  // Constructor properties interface
1724
2298
 
1725
2299
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1728,6 +2302,15 @@ export namespace XreaderDocument {
1728
2302
  class Page extends GObject.Object {
1729
2303
  static $gtype: GObject.GType<Page>;
1730
2304
 
2305
+ /**
2306
+ * Compile-time signal type information.
2307
+ *
2308
+ * This instance property is generated only for TypeScript type checking.
2309
+ * It is not defined at runtime and should not be accessed in JS code.
2310
+ * @internal
2311
+ */
2312
+ $signals: Page.SignalSignatures;
2313
+
1731
2314
  // Fields
1732
2315
 
1733
2316
  base_instance: GObject.Object;
@@ -1742,9 +2325,30 @@ export namespace XreaderDocument {
1742
2325
  _init(...args: any[]): void;
1743
2326
 
1744
2327
  static ['new'](index: number): Page;
2328
+
2329
+ // Signals
2330
+
2331
+ connect<K extends keyof Page.SignalSignatures>(
2332
+ signal: K,
2333
+ callback: GObject.SignalCallback<this, Page.SignalSignatures[K]>,
2334
+ ): number;
2335
+ connect(signal: string, callback: (...args: any[]) => any): number;
2336
+ connect_after<K extends keyof Page.SignalSignatures>(
2337
+ signal: K,
2338
+ callback: GObject.SignalCallback<this, Page.SignalSignatures[K]>,
2339
+ ): number;
2340
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2341
+ emit<K extends keyof Page.SignalSignatures>(
2342
+ signal: K,
2343
+ ...args: GObject.GjsParameters<Page.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2344
+ ): void;
2345
+ emit(signal: string, ...args: any[]): void;
1745
2346
  }
1746
2347
 
1747
2348
  namespace RenderContext {
2349
+ // Signal signatures
2350
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
2351
+
1748
2352
  // Constructor properties interface
1749
2353
 
1750
2354
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1753,6 +2357,15 @@ export namespace XreaderDocument {
1753
2357
  class RenderContext extends GObject.Object {
1754
2358
  static $gtype: GObject.GType<RenderContext>;
1755
2359
 
2360
+ /**
2361
+ * Compile-time signal type information.
2362
+ *
2363
+ * This instance property is generated only for TypeScript type checking.
2364
+ * It is not defined at runtime and should not be accessed in JS code.
2365
+ * @internal
2366
+ */
2367
+ $signals: RenderContext.SignalSignatures;
2368
+
1756
2369
  // Fields
1757
2370
 
1758
2371
  page: Page;
@@ -1767,6 +2380,24 @@ export namespace XreaderDocument {
1767
2380
 
1768
2381
  static ['new'](page: Page, rotation: number, scale: number): RenderContext;
1769
2382
 
2383
+ // Signals
2384
+
2385
+ connect<K extends keyof RenderContext.SignalSignatures>(
2386
+ signal: K,
2387
+ callback: GObject.SignalCallback<this, RenderContext.SignalSignatures[K]>,
2388
+ ): number;
2389
+ connect(signal: string, callback: (...args: any[]) => any): number;
2390
+ connect_after<K extends keyof RenderContext.SignalSignatures>(
2391
+ signal: K,
2392
+ callback: GObject.SignalCallback<this, RenderContext.SignalSignatures[K]>,
2393
+ ): number;
2394
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2395
+ emit<K extends keyof RenderContext.SignalSignatures>(
2396
+ signal: K,
2397
+ ...args: GObject.GjsParameters<RenderContext.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2398
+ ): void;
2399
+ emit(signal: string, ...args: any[]): void;
2400
+
1770
2401
  // Methods
1771
2402
 
1772
2403
  set_page(page: Page): void;
@@ -1775,6 +2406,17 @@ export namespace XreaderDocument {
1775
2406
  }
1776
2407
 
1777
2408
  namespace TransitionEffect {
2409
+ // Signal signatures
2410
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
2411
+ 'notify::alignment': (pspec: GObject.ParamSpec) => void;
2412
+ 'notify::angle': (pspec: GObject.ParamSpec) => void;
2413
+ 'notify::direction': (pspec: GObject.ParamSpec) => void;
2414
+ 'notify::duration': (pspec: GObject.ParamSpec) => void;
2415
+ 'notify::rectangular': (pspec: GObject.ParamSpec) => void;
2416
+ 'notify::scale': (pspec: GObject.ParamSpec) => void;
2417
+ 'notify::type': (pspec: GObject.ParamSpec) => void;
2418
+ }
2419
+
1778
2420
  // Constructor properties interface
1779
2421
 
1780
2422
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1808,11 +2450,38 @@ export namespace XreaderDocument {
1808
2450
  get type(): TransitionEffectType;
1809
2451
  set type(val: TransitionEffectType);
1810
2452
 
2453
+ /**
2454
+ * Compile-time signal type information.
2455
+ *
2456
+ * This instance property is generated only for TypeScript type checking.
2457
+ * It is not defined at runtime and should not be accessed in JS code.
2458
+ * @internal
2459
+ */
2460
+ $signals: TransitionEffect.SignalSignatures;
2461
+
1811
2462
  // Constructors
1812
2463
 
1813
2464
  constructor(properties?: Partial<TransitionEffect.ConstructorProps>, ...args: any[]);
1814
2465
 
1815
2466
  _init(...args: any[]): void;
2467
+
2468
+ // Signals
2469
+
2470
+ connect<K extends keyof TransitionEffect.SignalSignatures>(
2471
+ signal: K,
2472
+ callback: GObject.SignalCallback<this, TransitionEffect.SignalSignatures[K]>,
2473
+ ): number;
2474
+ connect(signal: string, callback: (...args: any[]) => any): number;
2475
+ connect_after<K extends keyof TransitionEffect.SignalSignatures>(
2476
+ signal: K,
2477
+ callback: GObject.SignalCallback<this, TransitionEffect.SignalSignatures[K]>,
2478
+ ): number;
2479
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2480
+ emit<K extends keyof TransitionEffect.SignalSignatures>(
2481
+ signal: K,
2482
+ ...args: GObject.GjsParameters<TransitionEffect.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2483
+ ): void;
2484
+ emit(signal: string, ...args: any[]): void;
1816
2485
  }
1817
2486
 
1818
2487
  type AnnotationAttachmentClass = typeof AnnotationAttachment;