@girs/gegl-0.3 0.3.35-4.0.0-beta.21 → 0.3.35-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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/gegl-0.3.d.ts +448 -46
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gegl-0.3)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Gegl-0.3, generated from library version 0.3.35 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.21.
8
+ GJS TypeScript type definitions for Gegl-0.3, generated from library version 0.3.35 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-beta.24.
9
9
 
10
10
 
11
11
  ## Install
package/gegl-0.3.d.ts CHANGED
@@ -7,6 +7,8 @@
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 GObject from '@girs/gobject-2.0';
12
14
  import type GLib from '@girs/glib-2.0';
@@ -592,6 +594,11 @@ export namespace Gegl {
592
594
  INDENT,
593
595
  }
594
596
  namespace AudioFragment {
597
+ // Signal signatures
598
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
599
+ 'notify::string': (pspec: GObject.ParamSpec) => void;
600
+ }
601
+
595
602
  // Constructor properties interface
596
603
 
597
604
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -607,6 +614,15 @@ export namespace Gegl {
607
614
  get string(): string;
608
615
  set string(val: string);
609
616
 
617
+ /**
618
+ * Compile-time signal type information.
619
+ *
620
+ * This instance property is generated only for TypeScript type checking.
621
+ * It is not defined at runtime and should not be accessed in JS code.
622
+ * @internal
623
+ */
624
+ $signals: AudioFragment.SignalSignatures;
625
+
610
626
  // Fields
611
627
 
612
628
  data: number[];
@@ -624,6 +640,24 @@ export namespace Gegl {
624
640
  max_samples: number,
625
641
  ): AudioFragment;
626
642
 
643
+ // Signals
644
+
645
+ connect<K extends keyof AudioFragment.SignalSignatures>(
646
+ signal: K,
647
+ callback: GObject.SignalCallback<this, AudioFragment.SignalSignatures[K]>,
648
+ ): number;
649
+ connect(signal: string, callback: (...args: any[]) => any): number;
650
+ connect_after<K extends keyof AudioFragment.SignalSignatures>(
651
+ signal: K,
652
+ callback: GObject.SignalCallback<this, AudioFragment.SignalSignatures[K]>,
653
+ ): number;
654
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
655
+ emit<K extends keyof AudioFragment.SignalSignatures>(
656
+ signal: K,
657
+ ...args: GObject.GjsParameters<AudioFragment.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
658
+ ): void;
659
+ emit(signal: string, ...args: any[]): void;
660
+
627
661
  // Methods
628
662
 
629
663
  get_channel_layout(): number;
@@ -641,10 +675,27 @@ export namespace Gegl {
641
675
  }
642
676
 
643
677
  namespace Buffer {
644
- // Signal callback interfaces
645
-
646
- interface Changed {
647
- (object: Rectangle): void;
678
+ // Signal signatures
679
+ interface SignalSignatures extends TileHandler.SignalSignatures {
680
+ changed: (arg0: Rectangle) => void;
681
+ 'notify::abyss-height': (pspec: GObject.ParamSpec) => void;
682
+ 'notify::abyss-width': (pspec: GObject.ParamSpec) => void;
683
+ 'notify::abyss-x': (pspec: GObject.ParamSpec) => void;
684
+ 'notify::abyss-y': (pspec: GObject.ParamSpec) => void;
685
+ 'notify::backend': (pspec: GObject.ParamSpec) => void;
686
+ 'notify::format': (pspec: GObject.ParamSpec) => void;
687
+ 'notify::height': (pspec: GObject.ParamSpec) => void;
688
+ 'notify::path': (pspec: GObject.ParamSpec) => void;
689
+ 'notify::pixels': (pspec: GObject.ParamSpec) => void;
690
+ 'notify::px-size': (pspec: GObject.ParamSpec) => void;
691
+ 'notify::shift-x': (pspec: GObject.ParamSpec) => void;
692
+ 'notify::shift-y': (pspec: GObject.ParamSpec) => void;
693
+ 'notify::tile-height': (pspec: GObject.ParamSpec) => void;
694
+ 'notify::tile-width': (pspec: GObject.ParamSpec) => void;
695
+ 'notify::width': (pspec: GObject.ParamSpec) => void;
696
+ 'notify::x': (pspec: GObject.ParamSpec) => void;
697
+ 'notify::y': (pspec: GObject.ParamSpec) => void;
698
+ 'notify::source': (pspec: GObject.ParamSpec) => void;
648
699
  }
649
700
 
650
701
  // Constructor properties interface
@@ -716,6 +767,15 @@ export namespace Gegl {
716
767
  get y(): number;
717
768
  set y(val: number);
718
769
 
770
+ /**
771
+ * Compile-time signal type information.
772
+ *
773
+ * This instance property is generated only for TypeScript type checking.
774
+ * It is not defined at runtime and should not be accessed in JS code.
775
+ * @internal
776
+ */
777
+ $signals: Buffer.SignalSignatures;
778
+
719
779
  // Constructors
720
780
 
721
781
  constructor(properties?: Partial<Buffer.ConstructorProps>, ...args: any[]);
@@ -728,12 +788,21 @@ export namespace Gegl {
728
788
 
729
789
  // Signals
730
790
 
731
- connect(id: string, callback: (...args: any[]) => any): number;
732
- connect_after(id: string, callback: (...args: any[]) => any): number;
733
- emit(id: string, ...args: any[]): void;
734
- connect(signal: 'changed', callback: (_source: this, object: Rectangle) => void): number;
735
- connect_after(signal: 'changed', callback: (_source: this, object: Rectangle) => void): number;
736
- emit(signal: 'changed', object: Rectangle): void;
791
+ connect<K extends keyof Buffer.SignalSignatures>(
792
+ signal: K,
793
+ callback: GObject.SignalCallback<this, Buffer.SignalSignatures[K]>,
794
+ ): number;
795
+ connect(signal: string, callback: (...args: any[]) => any): number;
796
+ connect_after<K extends keyof Buffer.SignalSignatures>(
797
+ signal: K,
798
+ callback: GObject.SignalCallback<this, Buffer.SignalSignatures[K]>,
799
+ ): number;
800
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
801
+ emit<K extends keyof Buffer.SignalSignatures>(
802
+ signal: K,
803
+ ...args: GObject.GjsParameters<Buffer.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
804
+ ): void;
805
+ emit(signal: string, ...args: any[]): void;
737
806
 
738
807
  // Static methods
739
808
 
@@ -897,6 +966,11 @@ export namespace Gegl {
897
966
  }
898
967
 
899
968
  namespace Color {
969
+ // Signal signatures
970
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
971
+ 'notify::string': (pspec: GObject.ParamSpec) => void;
972
+ }
973
+
900
974
  // Constructor properties interface
901
975
 
902
976
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -912,6 +986,15 @@ export namespace Gegl {
912
986
  get string(): string;
913
987
  set string(val: string);
914
988
 
989
+ /**
990
+ * Compile-time signal type information.
991
+ *
992
+ * This instance property is generated only for TypeScript type checking.
993
+ * It is not defined at runtime and should not be accessed in JS code.
994
+ * @internal
995
+ */
996
+ $signals: Color.SignalSignatures;
997
+
915
998
  // Constructors
916
999
 
917
1000
  constructor(properties?: Partial<Color.ConstructorProps>, ...args: any[]);
@@ -920,6 +1003,24 @@ export namespace Gegl {
920
1003
 
921
1004
  static ['new'](string: string): Color;
922
1005
 
1006
+ // Signals
1007
+
1008
+ connect<K extends keyof Color.SignalSignatures>(
1009
+ signal: K,
1010
+ callback: GObject.SignalCallback<this, Color.SignalSignatures[K]>,
1011
+ ): number;
1012
+ connect(signal: string, callback: (...args: any[]) => any): number;
1013
+ connect_after<K extends keyof Color.SignalSignatures>(
1014
+ signal: K,
1015
+ callback: GObject.SignalCallback<this, Color.SignalSignatures[K]>,
1016
+ ): number;
1017
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1018
+ emit<K extends keyof Color.SignalSignatures>(
1019
+ signal: K,
1020
+ ...args: GObject.GjsParameters<Color.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1021
+ ): void;
1022
+ emit(signal: string, ...args: any[]): void;
1023
+
923
1024
  // Methods
924
1025
 
925
1026
  /**
@@ -955,6 +1056,20 @@ export namespace Gegl {
955
1056
  }
956
1057
 
957
1058
  namespace Config {
1059
+ // Signal signatures
1060
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
1061
+ 'notify::application-license': (pspec: GObject.ParamSpec) => void;
1062
+ 'notify::chunk-size': (pspec: GObject.ParamSpec) => void;
1063
+ 'notify::quality': (pspec: GObject.ParamSpec) => void;
1064
+ 'notify::queue-size': (pspec: GObject.ParamSpec) => void;
1065
+ 'notify::swap': (pspec: GObject.ParamSpec) => void;
1066
+ 'notify::threads': (pspec: GObject.ParamSpec) => void;
1067
+ 'notify::tile-cache-size': (pspec: GObject.ParamSpec) => void;
1068
+ 'notify::tile-height': (pspec: GObject.ParamSpec) => void;
1069
+ 'notify::tile-width': (pspec: GObject.ParamSpec) => void;
1070
+ 'notify::use-opencl': (pspec: GObject.ParamSpec) => void;
1071
+ }
1072
+
958
1073
  // Constructor properties interface
959
1074
 
960
1075
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1018,14 +1133,44 @@ export namespace Gegl {
1018
1133
  get useOpencl(): boolean;
1019
1134
  set useOpencl(val: boolean);
1020
1135
 
1136
+ /**
1137
+ * Compile-time signal type information.
1138
+ *
1139
+ * This instance property is generated only for TypeScript type checking.
1140
+ * It is not defined at runtime and should not be accessed in JS code.
1141
+ * @internal
1142
+ */
1143
+ $signals: Config.SignalSignatures;
1144
+
1021
1145
  // Constructors
1022
1146
 
1023
1147
  constructor(properties?: Partial<Config.ConstructorProps>, ...args: any[]);
1024
1148
 
1025
1149
  _init(...args: any[]): void;
1150
+
1151
+ // Signals
1152
+
1153
+ connect<K extends keyof Config.SignalSignatures>(
1154
+ signal: K,
1155
+ callback: GObject.SignalCallback<this, Config.SignalSignatures[K]>,
1156
+ ): number;
1157
+ connect(signal: string, callback: (...args: any[]) => any): number;
1158
+ connect_after<K extends keyof Config.SignalSignatures>(
1159
+ signal: K,
1160
+ callback: GObject.SignalCallback<this, Config.SignalSignatures[K]>,
1161
+ ): number;
1162
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1163
+ emit<K extends keyof Config.SignalSignatures>(
1164
+ signal: K,
1165
+ ...args: GObject.GjsParameters<Config.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1166
+ ): void;
1167
+ emit(signal: string, ...args: any[]): void;
1026
1168
  }
1027
1169
 
1028
1170
  namespace Curve {
1171
+ // Signal signatures
1172
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1173
+
1029
1174
  // Constructor properties interface
1030
1175
 
1031
1176
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1034,6 +1179,15 @@ export namespace Gegl {
1034
1179
  class Curve extends GObject.Object {
1035
1180
  static $gtype: GObject.GType<Curve>;
1036
1181
 
1182
+ /**
1183
+ * Compile-time signal type information.
1184
+ *
1185
+ * This instance property is generated only for TypeScript type checking.
1186
+ * It is not defined at runtime and should not be accessed in JS code.
1187
+ * @internal
1188
+ */
1189
+ $signals: Curve.SignalSignatures;
1190
+
1037
1191
  // Constructors
1038
1192
 
1039
1193
  constructor(properties?: Partial<Curve.ConstructorProps>, ...args: any[]);
@@ -1044,6 +1198,24 @@ export namespace Gegl {
1044
1198
 
1045
1199
  static new_default(): Curve;
1046
1200
 
1201
+ // Signals
1202
+
1203
+ connect<K extends keyof Curve.SignalSignatures>(
1204
+ signal: K,
1205
+ callback: GObject.SignalCallback<this, Curve.SignalSignatures[K]>,
1206
+ ): number;
1207
+ connect(signal: string, callback: (...args: any[]) => any): number;
1208
+ connect_after<K extends keyof Curve.SignalSignatures>(
1209
+ signal: K,
1210
+ callback: GObject.SignalCallback<this, Curve.SignalSignatures[K]>,
1211
+ ): number;
1212
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1213
+ emit<K extends keyof Curve.SignalSignatures>(
1214
+ signal: K,
1215
+ ...args: GObject.GjsParameters<Curve.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1216
+ ): void;
1217
+ emit(signal: string, ...args: any[]): void;
1218
+
1047
1219
  // Methods
1048
1220
 
1049
1221
  /**
@@ -1091,18 +1263,17 @@ export namespace Gegl {
1091
1263
  }
1092
1264
 
1093
1265
  namespace Node {
1094
- // Signal callback interfaces
1095
-
1096
- interface Computed {
1097
- (object: Rectangle): void;
1098
- }
1099
-
1100
- interface Invalidated {
1101
- (object: Rectangle): void;
1102
- }
1103
-
1104
- interface Progress {
1105
- (object: number): void;
1266
+ // Signal signatures
1267
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
1268
+ computed: (arg0: Rectangle) => void;
1269
+ invalidated: (arg0: Rectangle) => void;
1270
+ progress: (arg0: number) => void;
1271
+ 'notify::dont-cache': (pspec: GObject.ParamSpec) => void;
1272
+ 'notify::gegl-operation': (pspec: GObject.ParamSpec) => void;
1273
+ 'notify::name': (pspec: GObject.ParamSpec) => void;
1274
+ 'notify::operation': (pspec: GObject.ParamSpec) => void;
1275
+ 'notify::passthrough': (pspec: GObject.ParamSpec) => void;
1276
+ 'notify::use-opencl': (pspec: GObject.ParamSpec) => void;
1106
1277
  }
1107
1278
 
1108
1279
  // Constructor properties interface
@@ -1144,6 +1315,15 @@ export namespace Gegl {
1144
1315
  get useOpencl(): boolean;
1145
1316
  set useOpencl(val: boolean);
1146
1317
 
1318
+ /**
1319
+ * Compile-time signal type information.
1320
+ *
1321
+ * This instance property is generated only for TypeScript type checking.
1322
+ * It is not defined at runtime and should not be accessed in JS code.
1323
+ * @internal
1324
+ */
1325
+ $signals: Node.SignalSignatures;
1326
+
1147
1327
  // Constructors
1148
1328
 
1149
1329
  constructor(properties?: Partial<Node.ConstructorProps>, ...args: any[]);
@@ -1160,18 +1340,21 @@ export namespace Gegl {
1160
1340
 
1161
1341
  // Signals
1162
1342
 
1163
- connect(id: string, callback: (...args: any[]) => any): number;
1164
- connect_after(id: string, callback: (...args: any[]) => any): number;
1165
- emit(id: string, ...args: any[]): void;
1166
- connect(signal: 'computed', callback: (_source: this, object: Rectangle) => void): number;
1167
- connect_after(signal: 'computed', callback: (_source: this, object: Rectangle) => void): number;
1168
- emit(signal: 'computed', object: Rectangle): void;
1169
- connect(signal: 'invalidated', callback: (_source: this, object: Rectangle) => void): number;
1170
- connect_after(signal: 'invalidated', callback: (_source: this, object: Rectangle) => void): number;
1171
- emit(signal: 'invalidated', object: Rectangle): void;
1172
- connect(signal: 'progress', callback: (_source: this, object: number) => void): number;
1173
- connect_after(signal: 'progress', callback: (_source: this, object: number) => void): number;
1174
- emit(signal: 'progress', object: number): void;
1343
+ connect<K extends keyof Node.SignalSignatures>(
1344
+ signal: K,
1345
+ callback: GObject.SignalCallback<this, Node.SignalSignatures[K]>,
1346
+ ): number;
1347
+ connect(signal: string, callback: (...args: any[]) => any): number;
1348
+ connect_after<K extends keyof Node.SignalSignatures>(
1349
+ signal: K,
1350
+ callback: GObject.SignalCallback<this, Node.SignalSignatures[K]>,
1351
+ ): number;
1352
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1353
+ emit<K extends keyof Node.SignalSignatures>(
1354
+ signal: K,
1355
+ ...args: GObject.GjsParameters<Node.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1356
+ ): void;
1357
+ emit(signal: string, ...args: any[]): void;
1175
1358
 
1176
1359
  // Methods
1177
1360
 
@@ -1361,8 +1544,6 @@ export namespace Gegl {
1361
1544
  * @param value a GValue containing the value to be set in the property.
1362
1545
  */
1363
1546
  set_property(property_name: string, value: GObject.Value | any): void;
1364
- // Conflicted with GObject.Object.set_property
1365
- set_property(...args: never[]): any;
1366
1547
  /**
1367
1548
  * Returns a freshly allocated \0 terminated string containing a XML
1368
1549
  * serialization of the composition produced by a node (and thus also
@@ -1385,6 +1566,9 @@ export namespace Gegl {
1385
1566
  }
1386
1567
 
1387
1568
  namespace Operation {
1569
+ // Signal signatures
1570
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
1571
+
1388
1572
  // Constructor properties interface
1389
1573
 
1390
1574
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1393,12 +1577,39 @@ export namespace Gegl {
1393
1577
  class Operation extends GObject.Object {
1394
1578
  static $gtype: GObject.GType<Operation>;
1395
1579
 
1580
+ /**
1581
+ * Compile-time signal type information.
1582
+ *
1583
+ * This instance property is generated only for TypeScript type checking.
1584
+ * It is not defined at runtime and should not be accessed in JS code.
1585
+ * @internal
1586
+ */
1587
+ $signals: Operation.SignalSignatures;
1588
+
1396
1589
  // Constructors
1397
1590
 
1398
1591
  constructor(properties?: Partial<Operation.ConstructorProps>, ...args: any[]);
1399
1592
 
1400
1593
  _init(...args: any[]): void;
1401
1594
 
1595
+ // Signals
1596
+
1597
+ connect<K extends keyof Operation.SignalSignatures>(
1598
+ signal: K,
1599
+ callback: GObject.SignalCallback<this, Operation.SignalSignatures[K]>,
1600
+ ): number;
1601
+ connect(signal: string, callback: (...args: any[]) => any): number;
1602
+ connect_after<K extends keyof Operation.SignalSignatures>(
1603
+ signal: K,
1604
+ callback: GObject.SignalCallback<this, Operation.SignalSignatures[K]>,
1605
+ ): number;
1606
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1607
+ emit<K extends keyof Operation.SignalSignatures>(
1608
+ signal: K,
1609
+ ...args: GObject.GjsParameters<Operation.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1610
+ ): void;
1611
+ emit(signal: string, ...args: any[]): void;
1612
+
1402
1613
  // Static methods
1403
1614
 
1404
1615
  static find_property(operation_type: string, property_name: string): GObject.ParamSpec;
@@ -1415,10 +1626,9 @@ export namespace Gegl {
1415
1626
  }
1416
1627
 
1417
1628
  namespace Path {
1418
- // Signal callback interfaces
1419
-
1420
- interface Changed {
1421
- (object?: any | null): void;
1629
+ // Signal signatures
1630
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
1631
+ changed: (arg0: any | null) => void;
1422
1632
  }
1423
1633
 
1424
1634
  // Constructor properties interface
@@ -1429,6 +1639,15 @@ export namespace Gegl {
1429
1639
  class Path extends GObject.Object {
1430
1640
  static $gtype: GObject.GType<Path>;
1431
1641
 
1642
+ /**
1643
+ * Compile-time signal type information.
1644
+ *
1645
+ * This instance property is generated only for TypeScript type checking.
1646
+ * It is not defined at runtime and should not be accessed in JS code.
1647
+ * @internal
1648
+ */
1649
+ $signals: Path.SignalSignatures;
1650
+
1432
1651
  // Constructors
1433
1652
 
1434
1653
  constructor(properties?: Partial<Path.ConstructorProps>, ...args: any[]);
@@ -1441,12 +1660,21 @@ export namespace Gegl {
1441
1660
 
1442
1661
  // Signals
1443
1662
 
1444
- connect(id: string, callback: (...args: any[]) => any): number;
1445
- connect_after(id: string, callback: (...args: any[]) => any): number;
1446
- emit(id: string, ...args: any[]): void;
1447
- connect(signal: 'changed', callback: (_source: this, object: any | null) => void): number;
1448
- connect_after(signal: 'changed', callback: (_source: this, object: any | null) => void): number;
1449
- emit(signal: 'changed', object?: any | null): void;
1663
+ connect<K extends keyof Path.SignalSignatures>(
1664
+ signal: K,
1665
+ callback: GObject.SignalCallback<this, Path.SignalSignatures[K]>,
1666
+ ): number;
1667
+ connect(signal: string, callback: (...args: any[]) => any): number;
1668
+ connect_after<K extends keyof Path.SignalSignatures>(
1669
+ signal: K,
1670
+ callback: GObject.SignalCallback<this, Path.SignalSignatures[K]>,
1671
+ ): number;
1672
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1673
+ emit<K extends keyof Path.SignalSignatures>(
1674
+ signal: K,
1675
+ ...args: GObject.GjsParameters<Path.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1676
+ ): void;
1677
+ emit(signal: string, ...args: any[]): void;
1450
1678
 
1451
1679
  // Static methods
1452
1680
 
@@ -1579,6 +1807,14 @@ export namespace Gegl {
1579
1807
  }
1580
1808
 
1581
1809
  namespace Processor {
1810
+ // Signal signatures
1811
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
1812
+ 'notify::chunksize': (pspec: GObject.ParamSpec) => void;
1813
+ 'notify::node': (pspec: GObject.ParamSpec) => void;
1814
+ 'notify::progress': (pspec: GObject.ParamSpec) => void;
1815
+ 'notify::rectangle': (pspec: GObject.ParamSpec) => void;
1816
+ }
1817
+
1582
1818
  // Constructor properties interface
1583
1819
 
1584
1820
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1601,12 +1837,39 @@ export namespace Gegl {
1601
1837
  get rectangle(): any;
1602
1838
  set rectangle(val: any);
1603
1839
 
1840
+ /**
1841
+ * Compile-time signal type information.
1842
+ *
1843
+ * This instance property is generated only for TypeScript type checking.
1844
+ * It is not defined at runtime and should not be accessed in JS code.
1845
+ * @internal
1846
+ */
1847
+ $signals: Processor.SignalSignatures;
1848
+
1604
1849
  // Constructors
1605
1850
 
1606
1851
  constructor(properties?: Partial<Processor.ConstructorProps>, ...args: any[]);
1607
1852
 
1608
1853
  _init(...args: any[]): void;
1609
1854
 
1855
+ // Signals
1856
+
1857
+ connect<K extends keyof Processor.SignalSignatures>(
1858
+ signal: K,
1859
+ callback: GObject.SignalCallback<this, Processor.SignalSignatures[K]>,
1860
+ ): number;
1861
+ connect(signal: string, callback: (...args: any[]) => any): number;
1862
+ connect_after<K extends keyof Processor.SignalSignatures>(
1863
+ signal: K,
1864
+ callback: GObject.SignalCallback<this, Processor.SignalSignatures[K]>,
1865
+ ): number;
1866
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1867
+ emit<K extends keyof Processor.SignalSignatures>(
1868
+ signal: K,
1869
+ ...args: GObject.GjsParameters<Processor.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1870
+ ): void;
1871
+ emit(signal: string, ...args: any[]): void;
1872
+
1610
1873
  // Methods
1611
1874
 
1612
1875
  set_level(level: number): void;
@@ -1633,6 +1896,19 @@ export namespace Gegl {
1633
1896
  }
1634
1897
 
1635
1898
  namespace Stats {
1899
+ // Signal signatures
1900
+ interface SignalSignatures extends GObject.Object.SignalSignatures {
1901
+ 'notify::swap-busy': (pspec: GObject.ParamSpec) => void;
1902
+ 'notify::swap-file-size': (pspec: GObject.ParamSpec) => void;
1903
+ 'notify::swap-total': (pspec: GObject.ParamSpec) => void;
1904
+ 'notify::tile-cache-hits': (pspec: GObject.ParamSpec) => void;
1905
+ 'notify::tile-cache-misses': (pspec: GObject.ParamSpec) => void;
1906
+ 'notify::tile-cache-total': (pspec: GObject.ParamSpec) => void;
1907
+ 'notify::tile-cache-total-max': (pspec: GObject.ParamSpec) => void;
1908
+ 'notify::tile-cache-total-uncloned': (pspec: GObject.ParamSpec) => void;
1909
+ 'notify::zoom-total': (pspec: GObject.ParamSpec) => void;
1910
+ }
1911
+
1636
1912
  // Constructor properties interface
1637
1913
 
1638
1914
  interface ConstructorProps extends GObject.Object.ConstructorProps {
@@ -1681,14 +1957,51 @@ export namespace Gegl {
1681
1957
  get zoom_total(): number;
1682
1958
  get zoomTotal(): number;
1683
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: Stats.SignalSignatures;
1968
+
1684
1969
  // Constructors
1685
1970
 
1686
1971
  constructor(properties?: Partial<Stats.ConstructorProps>, ...args: any[]);
1687
1972
 
1688
1973
  _init(...args: any[]): void;
1974
+
1975
+ // Signals
1976
+
1977
+ connect<K extends keyof Stats.SignalSignatures>(
1978
+ signal: K,
1979
+ callback: GObject.SignalCallback<this, Stats.SignalSignatures[K]>,
1980
+ ): number;
1981
+ connect(signal: string, callback: (...args: any[]) => any): number;
1982
+ connect_after<K extends keyof Stats.SignalSignatures>(
1983
+ signal: K,
1984
+ callback: GObject.SignalCallback<this, Stats.SignalSignatures[K]>,
1985
+ ): number;
1986
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
1987
+ emit<K extends keyof Stats.SignalSignatures>(
1988
+ signal: K,
1989
+ ...args: GObject.GjsParameters<Stats.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
1990
+ ): void;
1991
+ emit(signal: string, ...args: any[]): void;
1689
1992
  }
1690
1993
 
1691
1994
  namespace TileBackend {
1995
+ // Signal signatures
1996
+ interface SignalSignatures extends TileSource.SignalSignatures {
1997
+ 'notify::flush-on-destroy': (pspec: GObject.ParamSpec) => void;
1998
+ 'notify::format': (pspec: GObject.ParamSpec) => void;
1999
+ 'notify::px-size': (pspec: GObject.ParamSpec) => void;
2000
+ 'notify::tile-height': (pspec: GObject.ParamSpec) => void;
2001
+ 'notify::tile-size': (pspec: GObject.ParamSpec) => void;
2002
+ 'notify::tile-width': (pspec: GObject.ParamSpec) => void;
2003
+ }
2004
+
1692
2005
  // Constructor properties interface
1693
2006
 
1694
2007
  interface ConstructorProps extends TileSource.ConstructorProps {
@@ -1725,12 +2038,39 @@ export namespace Gegl {
1725
2038
  get tile_width(): number;
1726
2039
  get tileWidth(): number;
1727
2040
 
2041
+ /**
2042
+ * Compile-time signal type information.
2043
+ *
2044
+ * This instance property is generated only for TypeScript type checking.
2045
+ * It is not defined at runtime and should not be accessed in JS code.
2046
+ * @internal
2047
+ */
2048
+ $signals: TileBackend.SignalSignatures;
2049
+
1728
2050
  // Constructors
1729
2051
 
1730
2052
  constructor(properties?: Partial<TileBackend.ConstructorProps>, ...args: any[]);
1731
2053
 
1732
2054
  _init(...args: any[]): void;
1733
2055
 
2056
+ // Signals
2057
+
2058
+ connect<K extends keyof TileBackend.SignalSignatures>(
2059
+ signal: K,
2060
+ callback: GObject.SignalCallback<this, TileBackend.SignalSignatures[K]>,
2061
+ ): number;
2062
+ connect(signal: string, callback: (...args: any[]) => any): number;
2063
+ connect_after<K extends keyof TileBackend.SignalSignatures>(
2064
+ signal: K,
2065
+ callback: GObject.SignalCallback<this, TileBackend.SignalSignatures[K]>,
2066
+ ): number;
2067
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2068
+ emit<K extends keyof TileBackend.SignalSignatures>(
2069
+ signal: K,
2070
+ ...args: GObject.GjsParameters<TileBackend.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2071
+ ): void;
2072
+ emit(signal: string, ...args: any[]): void;
2073
+
1734
2074
  // Static methods
1735
2075
 
1736
2076
  /**
@@ -1771,6 +2111,11 @@ export namespace Gegl {
1771
2111
  }
1772
2112
 
1773
2113
  namespace TileHandler {
2114
+ // Signal signatures
2115
+ interface SignalSignatures extends TileSource.SignalSignatures {
2116
+ 'notify::source': (pspec: GObject.ParamSpec) => void;
2117
+ }
2118
+
1774
2119
  // Constructor properties interface
1775
2120
 
1776
2121
  interface ConstructorProps extends TileSource.ConstructorProps {
@@ -1786,12 +2131,39 @@ export namespace Gegl {
1786
2131
  get source(): GObject.Object;
1787
2132
  set source(val: GObject.Object);
1788
2133
 
2134
+ /**
2135
+ * Compile-time signal type information.
2136
+ *
2137
+ * This instance property is generated only for TypeScript type checking.
2138
+ * It is not defined at runtime and should not be accessed in JS code.
2139
+ * @internal
2140
+ */
2141
+ $signals: TileHandler.SignalSignatures;
2142
+
1789
2143
  // Constructors
1790
2144
 
1791
2145
  constructor(properties?: Partial<TileHandler.ConstructorProps>, ...args: any[]);
1792
2146
 
1793
2147
  _init(...args: any[]): void;
1794
2148
 
2149
+ // Signals
2150
+
2151
+ connect<K extends keyof TileHandler.SignalSignatures>(
2152
+ signal: K,
2153
+ callback: GObject.SignalCallback<this, TileHandler.SignalSignatures[K]>,
2154
+ ): number;
2155
+ connect(signal: string, callback: (...args: any[]) => any): number;
2156
+ connect_after<K extends keyof TileHandler.SignalSignatures>(
2157
+ signal: K,
2158
+ callback: GObject.SignalCallback<this, TileHandler.SignalSignatures[K]>,
2159
+ ): number;
2160
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2161
+ emit<K extends keyof TileHandler.SignalSignatures>(
2162
+ signal: K,
2163
+ ...args: GObject.GjsParameters<TileHandler.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2164
+ ): void;
2165
+ emit(signal: string, ...args: any[]): void;
2166
+
1795
2167
  // Methods
1796
2168
 
1797
2169
  damage_rect(rect: Rectangle): void;
@@ -1799,6 +2171,9 @@ export namespace Gegl {
1799
2171
  }
1800
2172
 
1801
2173
  namespace TileSource {
2174
+ // Signal signatures
2175
+ interface SignalSignatures extends GObject.Object.SignalSignatures {}
2176
+
1802
2177
  // Constructor properties interface
1803
2178
 
1804
2179
  interface ConstructorProps extends GObject.Object.ConstructorProps {}
@@ -1807,6 +2182,15 @@ export namespace Gegl {
1807
2182
  class TileSource extends GObject.Object {
1808
2183
  static $gtype: GObject.GType<TileSource>;
1809
2184
 
2185
+ /**
2186
+ * Compile-time signal type information.
2187
+ *
2188
+ * This instance property is generated only for TypeScript type checking.
2189
+ * It is not defined at runtime and should not be accessed in JS code.
2190
+ * @internal
2191
+ */
2192
+ $signals: TileSource.SignalSignatures;
2193
+
1810
2194
  // Fields
1811
2195
 
1812
2196
  command: TileSourceCommand;
@@ -1817,6 +2201,24 @@ export namespace Gegl {
1817
2201
  constructor(properties?: Partial<TileSource.ConstructorProps>, ...args: any[]);
1818
2202
 
1819
2203
  _init(...args: any[]): void;
2204
+
2205
+ // Signals
2206
+
2207
+ connect<K extends keyof TileSource.SignalSignatures>(
2208
+ signal: K,
2209
+ callback: GObject.SignalCallback<this, TileSource.SignalSignatures[K]>,
2210
+ ): number;
2211
+ connect(signal: string, callback: (...args: any[]) => any): number;
2212
+ connect_after<K extends keyof TileSource.SignalSignatures>(
2213
+ signal: K,
2214
+ callback: GObject.SignalCallback<this, TileSource.SignalSignatures[K]>,
2215
+ ): number;
2216
+ connect_after(signal: string, callback: (...args: any[]) => any): number;
2217
+ emit<K extends keyof TileSource.SignalSignatures>(
2218
+ signal: K,
2219
+ ...args: GObject.GjsParameters<TileSource.SignalSignatures[K]> extends [any, ...infer Q] ? Q : never
2220
+ ): void;
2221
+ emit(signal: string, ...args: any[]): void;
1820
2222
  }
1821
2223
 
1822
2224
  type AudioFragmentClass = typeof AudioFragment;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gegl-0.3",
3
- "version": "0.3.35-4.0.0-beta.21",
3
+ "version": "0.3.35-4.0.0-beta.24",
4
4
  "description": "GJS TypeScript type definitions for Gegl-0.3, generated from library version 0.3.35",
5
5
  "type": "module",
6
6
  "module": "gegl-0.3.js",
@@ -31,9 +31,9 @@
31
31
  "test": "tsc --project tsconfig.json"
32
32
  },
33
33
  "dependencies": {
34
- "@girs/gjs": "^4.0.0-beta.21",
35
- "@girs/glib-2.0": "^2.83.3-4.0.0-beta.21",
36
- "@girs/gobject-2.0": "^2.83.3-4.0.0-beta.21"
34
+ "@girs/gjs": "^4.0.0-beta.24",
35
+ "@girs/glib-2.0": "^2.84.2-4.0.0-beta.24",
36
+ "@girs/gobject-2.0": "^2.84.2-4.0.0-beta.24"
37
37
  },
38
38
  "devDependencies": {
39
39
  "typescript": "*"