// @target: es2022
// @noImplicitReferences: true
// @module: node16,node18,node20,nodenext
// @declaration: true
// @outDir: out
// @filename: /node_modules/pkg/package.json
{
    "name": "pkg",
    "version": "0.0.1",
    "exports": {
        "import": "./import.js",
        "require": "./require.js"
    }
}
// @filename: /node_modules/pkg/import.d.ts
export interface ImportInterface {}
// @filename: /node_modules/pkg/require.d.ts
export interface RequireInterface {}
// @filename: /index.ts
// incorrect mode
import type { RequireInterface } from "pkg" with { "resolution-mode": "foobar" };
// not type-only
import { ImportInterface } from "pkg" with { "resolution-mode": "import" };
// not exclusively type-only
import {type RequireInterface as Req, RequireInterface as Req2} from "pkg" with { "resolution-mode": "require" };

export interface LocalInterface extends RequireInterface, ImportInterface {}



