const PlaytorchImage = require('./NativePlaytorchImage').default;

export function install(): void {
  return PlaytorchImage.install();
}

export type Foo2 = {};

export interface Image {
  getWidth(): number;
  getHeight(): number;
}

export function makeImage(): Image {
  // @ts-ignore error TS7017: Element implicitly has an 'any' type because type 'typeof globalThis' has no index signature.
  return global.__playtorch_image__.makeImage();
}
