open-index/open-npm huggingface dataset:
npm package: @girs/gdata-0.0
Description: GJS TypeScript type definitions for GData-0.0, generated from library version 0.19.0
Author: ts-for-gir
Latest version: 0.19.0-4.0.0-rc.2


# GData-0.0

![version](https://img.shields.io/npm/v/@girs/gdata-0.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdata-0.0)


GJS TypeScript type definitions for GData-0.0, generated from library version 0.19.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdata-0.0
```

## Usage

You can import this package into your project like this:
```ts
import GData from '@girs/gdata-0.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdata-0.0` or `@girs/gdata-0.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdata-0.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdata-0.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import GData from 'gi://GData?version=0.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdata-0.0` or `@girs/gdata-0.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdata-0.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdata-0.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const GData = imports.gi.GData;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdaui-5.0
Description: GJS TypeScript type definitions for Gdaui-5.0, generated from library version 5.0.0
Author: ts-for-gir
Latest version: 5.0.0-4.0.0-rc.2


# Gdaui-5.0

![version](https://img.shields.io/npm/v/@girs/gdaui-5.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdaui-5.0)


GJS TypeScript type definitions for Gdaui-5.0, generated from library version 5.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdaui-5.0
```

## Usage

You can import this package into your project like this:
```ts
import Gdaui from '@girs/gdaui-5.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdaui-5.0` or `@girs/gdaui-5.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdaui-5.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdaui-5.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import Gdaui from 'gi://Gdaui?version=5.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdaui-5.0` or `@girs/gdaui-5.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdaui-5.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdaui-5.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const Gdaui = imports.gi.Gdaui;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdaui-6.0
Description: GJS TypeScript type definitions for Gdaui-6.0, generated from library version 6.0.0
Author: ts-for-gir
Latest version: 6.0.0-4.0.0-rc.2


# Gdaui-6.0

![version](https://img.shields.io/npm/v/@girs/gdaui-6.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdaui-6.0)


GJS TypeScript type definitions for Gdaui-6.0, generated from library version 6.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdaui-6.0
```

## Usage

You can import this package into your project like this:
```ts
import Gdaui from '@girs/gdaui-6.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdaui-6.0` or `@girs/gdaui-6.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdaui-6.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdaui-6.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import Gdaui from 'gi://Gdaui?version=6.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdaui-6.0` or `@girs/gdaui-6.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdaui-6.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdaui-6.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const Gdaui = imports.gi.Gdaui;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdesktopenums-3.0
Description: GJS TypeScript type definitions for GDesktopEnums-3.0, generated from library version 3.0.0
Author: ts-for-gir
Latest version: 3.0.0-4.0.0-rc.2


# GDesktopEnums-3.0

![version](https://img.shields.io/npm/v/@girs/gdesktopenums-3.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdesktopenums-3.0)


GJS TypeScript type definitions for GDesktopEnums-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdesktopenums-3.0
```

## Usage

You can import this package into your project like this:
```ts
import GDesktopEnums from '@girs/gdesktopenums-3.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdesktopenums-3.0` or `@girs/gdesktopenums-3.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdesktopenums-3.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdesktopenums-3.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import GDesktopEnums from 'gi://GDesktopEnums?version=3.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdesktopenums-3.0` or `@girs/gdesktopenums-3.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdesktopenums-3.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdesktopenums-3.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const GDesktopEnums = imports.gi.GDesktopEnums;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdk-2.0
Description: GJS TypeScript type definitions for Gdk-2.0, generated from library version 2.0.0
Author: ts-for-gir
Latest version: 2.0.0-4.0.0-rc.2


# Gdk-2.0

![version](https://img.shields.io/npm/v/@girs/gdk-2.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdk-2.0)


GJS TypeScript type definitions for Gdk-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdk-2.0
```

## Usage

You can import this package into your project like this:
```ts
import Gdk from '@girs/gdk-2.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdk-2.0` or `@girs/gdk-2.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdk-2.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdk-2.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import Gdk from 'gi://Gdk?version=2.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdk-2.0` or `@girs/gdk-2.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdk-2.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdk-2.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const Gdk = imports.gi.Gdk;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdk-3.0
Description: GJS TypeScript type definitions for Gdk-3.0, generated from library version 3.24.53
Author: ts-for-gir
Latest version: 3.24.53-4.0.0-rc.2


# Gdk-3.0

![version](https://img.shields.io/npm/v/@girs/gdk-3.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdk-3.0)


GJS TypeScript type definitions for Gdk-3.0, generated from library version 3.24.53 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdk-3.0
```

## Usage

You can import this package into your project like this:
```ts
import Gdk from '@girs/gdk-3.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdk-3.0` or `@girs/gdk-3.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdk-3.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdk-3.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import Gdk from 'gi://Gdk?version=3.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdk-3.0` or `@girs/gdk-3.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdk-3.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdk-3.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const Gdk = imports.gi.Gdk;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdk-4.0
Description: GJS TypeScript type definitions for Gdk-4.0, generated from library version 4.0.0
Author: ts-for-gir
Latest version: 4.0.0-4.0.0-rc.2


# Gdk-4.0

![version](https://img.shields.io/npm/v/@girs/gdk-4.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdk-4.0)


GJS TypeScript type definitions for Gdk-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdk-4.0
```

## Usage

You can import this package into your project like this:
```ts
import Gdk from '@girs/gdk-4.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdk-4.0` or `@girs/gdk-4.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdk-4.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdk-4.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import Gdk from 'gi://Gdk?version=4.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdk-4.0` or `@girs/gdk-4.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdk-4.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdk-4.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const Gdk = imports.gi.Gdk;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdkmacos-4.0
Description: GJS TypeScript type definitions for GdkMacos-4.0, generated from library version 4.0.0
Author: ts-for-gir
Latest version: 4.0.0-4.0.0-rc.2


# GdkMacos-4.0

![version](https://img.shields.io/npm/v/@girs/gdkmacos-4.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdkmacos-4.0)


GJS TypeScript type definitions for GdkMacos-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdkmacos-4.0
```

## Usage

You can import this package into your project like this:
```ts
import GdkMacos from '@girs/gdkmacos-4.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdkmacos-4.0` or `@girs/gdkmacos-4.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkmacos-4.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkmacos-4.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import GdkMacos from 'gi://GdkMacos?version=4.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdkmacos-4.0` or `@girs/gdkmacos-4.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkmacos-4.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkmacos-4.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const GdkMacos = imports.gi.GdkMacos;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdkpixbuf-2.0
Description: GJS TypeScript type definitions for GdkPixbuf-2.0, generated from library version 2.0.0
Author: ts-for-gir
Latest version: 2.0.0-4.0.0-rc.2


# GdkPixbuf-2.0

![version](https://img.shields.io/npm/v/@girs/gdkpixbuf-2.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdkpixbuf-2.0)


GJS TypeScript type definitions for GdkPixbuf-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdkpixbuf-2.0
```

## Usage

You can import this package into your project like this:
```ts
import GdkPixbuf from '@girs/gdkpixbuf-2.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdkpixbuf-2.0` or `@girs/gdkpixbuf-2.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkpixbuf-2.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkpixbuf-2.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import GdkPixbuf from 'gi://GdkPixbuf?version=2.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdkpixbuf-2.0` or `@girs/gdkpixbuf-2.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkpixbuf-2.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkpixbuf-2.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const GdkPixbuf = imports.gi.GdkPixbuf;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdkpixdata-2.0
Description: GJS TypeScript type definitions for GdkPixdata-2.0, generated from library version 2.0.0
Author: ts-for-gir
Latest version: 2.0.0-4.0.0-rc.2


# GdkPixdata-2.0

![version](https://img.shields.io/npm/v/@girs/gdkpixdata-2.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdkpixdata-2.0)


GJS TypeScript type definitions for GdkPixdata-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdkpixdata-2.0
```

## Usage

You can import this package into your project like this:
```ts
import GdkPixdata from '@girs/gdkpixdata-2.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdkpixdata-2.0` or `@girs/gdkpixdata-2.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkpixdata-2.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkpixdata-2.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import GdkPixdata from 'gi://GdkPixdata?version=2.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdkpixdata-2.0` or `@girs/gdkpixdata-2.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkpixdata-2.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkpixdata-2.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const GdkPixdata = imports.gi.GdkPixdata;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdkwayland-4.0
Description: GJS TypeScript type definitions for GdkWayland-4.0, generated from library version 4.0.0
Author: ts-for-gir
Latest version: 4.0.0-4.0.0-rc.2


# GdkWayland-4.0

![version](https://img.shields.io/npm/v/@girs/gdkwayland-4.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdkwayland-4.0)


GJS TypeScript type definitions for GdkWayland-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdkwayland-4.0
```

## Usage

You can import this package into your project like this:
```ts
import GdkWayland from '@girs/gdkwayland-4.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdkwayland-4.0` or `@girs/gdkwayland-4.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkwayland-4.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkwayland-4.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import GdkWayland from 'gi://GdkWayland?version=4.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdkwayland-4.0` or `@girs/gdkwayland-4.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkwayland-4.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkwayland-4.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const GdkWayland = imports.gi.GdkWayland;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdkwin32-4.0
Description: GJS TypeScript type definitions for GdkWin32-4.0, generated from library version 4.0.0
Author: ts-for-gir
Latest version: 4.0.0-4.0.0-rc.2


# GdkWin32-4.0

![version](https://img.shields.io/npm/v/@girs/gdkwin32-4.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdkwin32-4.0)


GJS TypeScript type definitions for GdkWin32-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdkwin32-4.0
```

## Usage

You can import this package into your project like this:
```ts
import GdkWin32 from '@girs/gdkwin32-4.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdkwin32-4.0` or `@girs/gdkwin32-4.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkwin32-4.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkwin32-4.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import GdkWin32 from 'gi://GdkWin32?version=4.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdkwin32-4.0` or `@girs/gdkwin32-4.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkwin32-4.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkwin32-4.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const GdkWin32 = imports.gi.GdkWin32;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdkx11-2.0
Description: GJS TypeScript type definitions for GdkX11-2.0, generated from library version 2.0.0
Author: ts-for-gir
Latest version: 2.0.0-4.0.0-rc.2


# GdkX11-2.0

![version](https://img.shields.io/npm/v/@girs/gdkx11-2.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdkx11-2.0)


GJS TypeScript type definitions for GdkX11-2.0, generated from library version 2.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdkx11-2.0
```

## Usage

You can import this package into your project like this:
```ts
import GdkX11 from '@girs/gdkx11-2.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdkx11-2.0` or `@girs/gdkx11-2.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkx11-2.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkx11-2.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import GdkX11 from 'gi://GdkX11?version=2.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdkx11-2.0` or `@girs/gdkx11-2.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkx11-2.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkx11-2.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const GdkX11 = imports.gi.GdkX11;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdkx11-3.0
Description: GJS TypeScript type definitions for GdkX11-3.0, generated from library version 3.0.0
Author: ts-for-gir
Latest version: 3.0.0-4.0.0-rc.2


# GdkX11-3.0

![version](https://img.shields.io/npm/v/@girs/gdkx11-3.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdkx11-3.0)


GJS TypeScript type definitions for GdkX11-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdkx11-3.0
```

## Usage

You can import this package into your project like this:
```ts
import GdkX11 from '@girs/gdkx11-3.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdkx11-3.0` or `@girs/gdkx11-3.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkx11-3.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkx11-3.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import GdkX11 from 'gi://GdkX11?version=3.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdkx11-3.0` or `@girs/gdkx11-3.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkx11-3.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkx11-3.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const GdkX11 = imports.gi.GdkX11;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdkx11-4.0
Description: GJS TypeScript type definitions for GdkX11-4.0, generated from library version 4.0.0
Author: ts-for-gir
Latest version: 4.0.0-4.0.0-rc.2


# GdkX11-4.0

![version](https://img.shields.io/npm/v/@girs/gdkx11-4.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdkx11-4.0)


GJS TypeScript type definitions for GdkX11-4.0, generated from library version 4.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdkx11-4.0
```

## Usage

You can import this package into your project like this:
```ts
import GdkX11 from '@girs/gdkx11-4.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdkx11-4.0` or `@girs/gdkx11-4.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkx11-4.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkx11-4.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import GdkX11 from 'gi://GdkX11?version=4.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdkx11-4.0` or `@girs/gdkx11-4.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdkx11-4.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdkx11-4.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const GdkX11 = imports.gi.GdkX11;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdl-3
Description: GJS TypeScript type definitions for Gdl-3, generated from library version 3.0.0
Author: ts-for-gir
Latest version: 3.0.0-4.0.0-rc.2


# Gdl-3

![version](https://img.shields.io/npm/v/@girs/gdl-3)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdl-3)


GJS TypeScript type definitions for Gdl-3, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdl-3
```

## Usage

You can import this package into your project like this:
```ts
import Gdl from '@girs/gdl-3';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdl-3` or `@girs/gdl-3/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdl-3'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdl-3"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import Gdl from 'gi://Gdl?version=3';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdl-3` or `@girs/gdl-3/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdl-3'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdl-3"],
  ...
}
```

Now you have also type support for this, too:

```ts
const Gdl = imports.gi.Gdl;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gdm-1.0
Description: GJS TypeScript type definitions for Gdm-1.0, generated from library version 1.0.0
Author: ts-for-gir
Latest version: 1.0.0-4.0.0-rc.2


# Gdm-1.0

![version](https://img.shields.io/npm/v/@girs/gdm-1.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gdm-1.0)


GJS TypeScript type definitions for Gdm-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gdm-1.0
```

## Usage

You can import this package into your project like this:
```ts
import Gdm from '@girs/gdm-1.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gdm-1.0` or `@girs/gdm-1.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdm-1.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdm-1.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import Gdm from 'gi://Gdm?version=1.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gdm-1.0` or `@girs/gdm-1.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gdm-1.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gdm-1.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const Gdm = imports.gi.Gdm;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gedit-3.0
Description: GJS TypeScript type definitions for Gedit-3.0, generated from library version 3.0.0
Author: ts-for-gir
Latest version: 3.0.0-4.0.0-rc.2


# Gedit-3.0

![version](https://img.shields.io/npm/v/@girs/gedit-3.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gedit-3.0)


GJS TypeScript type definitions for Gedit-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gedit-3.0
```

## Usage

You can import this package into your project like this:
```ts
import Gedit from '@girs/gedit-3.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gedit-3.0` or `@girs/gedit-3.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gedit-3.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gedit-3.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import Gedit from 'gi://Gedit?version=3.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gedit-3.0` or `@girs/gedit-3.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gedit-3.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gedit-3.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const Gedit = imports.gi.Gedit;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gee-0.8
Description: GJS TypeScript type definitions for Gee-0.8, generated from library version 0.8.0
Author: ts-for-gir
Latest version: 0.8.0-4.0.0-rc.2


# Gee-0.8

![version](https://img.shields.io/npm/v/@girs/gee-0.8)
![downloads/week](https://img.shields.io/npm/dw/@girs/gee-0.8)


GJS TypeScript type definitions for Gee-0.8, generated from library version 0.8.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gee-0.8
```

## Usage

You can import this package into your project like this:
```ts
import Gee from '@girs/gee-0.8';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gee-0.8` or `@girs/gee-0.8/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gee-0.8'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gee-0.8"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import Gee from 'gi://Gee?version=0.8';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gee-0.8` or `@girs/gee-0.8/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gee-0.8'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gee-0.8"],
  ...
}
```

Now you have also type support for this, too:

```ts
const Gee = imports.gi.Gee;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gee-1.0
Description: GJS TypeScript type definitions for Gee-1.0, generated from library version 1.0.0
Author: ts-for-gir
Latest version: 1.0.0-4.0.0-rc.2


# Gee-1.0

![version](https://img.shields.io/npm/v/@girs/gee-1.0)
![downloads/week](https://img.shields.io/npm/dw/@girs/gee-1.0)


GJS TypeScript type definitions for Gee-1.0, generated from library version 1.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gee-1.0
```

## Usage

You can import this package into your project like this:
```ts
import Gee from '@girs/gee-1.0';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gee-1.0` or `@girs/gee-1.0/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gee-1.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gee-1.0"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import Gee from 'gi://Gee?version=1.0';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gee-1.0` or `@girs/gee-1.0/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gee-1.0'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gee-1.0"],
  ...
}
```

Now you have also type support for this, too:

```ts
const Gee = imports.gi.Gee;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gegl-0.3
Description: GJS TypeScript type definitions for Gegl-0.3, generated from library version 0.3.35
Author: ts-for-gir
Latest version: 0.3.35-4.0.0-rc.2


# Gegl-0.3

![version](https://img.shields.io/npm/v/@girs/gegl-0.3)
![downloads/week](https://img.shields.io/npm/dw/@girs/gegl-0.3)


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-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gegl-0.3
```

## Usage

You can import this package into your project like this:
```ts
import Gegl from '@girs/gegl-0.3';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gegl-0.3` or `@girs/gegl-0.3/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gegl-0.3'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gegl-0.3"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import Gegl from 'gi://Gegl?version=0.3';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gegl-0.3` or `@girs/gegl-0.3/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gegl-0.3'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gegl-0.3"],
  ...
}
```

Now you have also type support for this, too:

```ts
const Gegl = imports.gi.Gegl;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).
npm package: @girs/gegl-0.4
Description: GJS TypeScript type definitions for Gegl-0.4, generated from library version 0.4.68
Author: ts-for-gir
Latest version: 0.4.68-4.0.0-rc.2


# Gegl-0.4

![version](https://img.shields.io/npm/v/@girs/gegl-0.4)
![downloads/week](https://img.shields.io/npm/dw/@girs/gegl-0.4)


GJS TypeScript type definitions for Gegl-0.4, generated from library version 0.4.68 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.0.0-rc.2.

## Install

To use this type definitions, install them with NPM:
```bash
npm install @girs/gegl-0.4
```

## Usage

You can import this package into your project like this:
```ts
import Gegl from '@girs/gegl-0.4';
```

### Ambient Modules

You can also use [ambient modules](https://github.com/gjsify/ts-for-gir/tree/main/packages/cli#ambient-modules) to import this module like you would do this in JavaScript.
For this you need to include `@girs/gegl-0.4` or `@girs/gegl-0.4/ambient` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gegl-0.4'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gegl-0.4"],
  ...
}
```

Now you can import the ambient module with TypeScript support: 

```ts
import Gegl from 'gi://Gegl?version=0.4';
```

### Global import

You can also import the module with Typescript support using the global `imports.gi` object of GJS.
For this you need to include `@girs/gegl-0.4` or `@girs/gegl-0.4/import` in your `tsconfig` or entry point Typescript file:

`index.ts`:
```ts
import '@girs/gegl-0.4'
```

`tsconfig.json`:
```json
{
  "compilerOptions": {
    ...
  },
  "include": ["@girs/gegl-0.4"],
  ...
}
```

Now you have also type support for this, too:

```ts
const Gegl = imports.gi.Gegl;
```

### Bundle

Depending on your project configuration, it is recommended to use a bundler like [esbuild](https://esbuild.github.io/). You can find examples using different bundlers [here](https://github.com/gjsify/ts-for-gir/tree/main/examples).

## Other packages

All existing pre-generated packages can be found on [gjsify/types](https://github.com/gjsify/types).