<NME> index.d.ts
<BEF> import { Settings, File } from '@imports/Gio-2.0';
import '@imports/Gjs';

type Callback = (...v: any[]) => void;

declare interface SignalEmitter {
  emit(k: string, ...v: any[]);

  disconnectAll();

  connect(k: string, c: Callback);
}

interface ExtensionUtils {
  initTranslations(): void;
  getSettings(): Settings;
  getCurrentExtension(): {
    path: string;
    metadata: any;
    dir: File;
  };
}

declare global {
  const window: {
    ARGV: string[];
  };
}

<MSG> Use @types from gselib

<DFF> @@ -20,9 +20,3 @@ interface ExtensionUtils {
     dir: File;
   };
 }
-
-declare global {
-  const window: {
-    ARGV: string[];
-  };
-}

Use @types from gselib