declare module 'adbkit-apkreader' {
  interface UsesSdk {
    minSdkVersion?: number
    targetSdkVersion?: number
  }

  interface Manifest {
    package: string
    versionCode: number
    versionName: string
    usesSdk?: UsesSdk
  }

  interface ApkReaderInstance {
    readManifest(): Promise<Manifest>
  }

  interface ApkReader {
    open(source: string | Buffer): Promise<ApkReaderInstance>
  }

  const ApkReader: ApkReader
  export default ApkReader
}
