=== /index.ts ===
import { use } from "foo/use";
>use : Symbol(use, Decl(index.ts, 0, 8))

import { o } from "a";
>o : Symbol(o, Decl(index.ts, 1, 8))

use(o);
>use : Symbol(use, Decl(index.ts, 0, 8))
>o : Symbol(o, Decl(index.ts, 1, 8))

=== /node_modules/a/node_modules/foo/index.d.ts ===
export class C {
>C : Symbol(C, Decl(index.d.ts, 0, 0))

    private x: number;
>x : Symbol(C.x, Decl(index.d.ts, 0, 16))
}

=== /node_modules/a/index.d.ts ===
import { C } from "foo";
>C : Symbol(C, Decl(index.d.ts, 0, 8))

export const o: C;
>o : Symbol(o, Decl(index.d.ts, 1, 12))
>C : Symbol(C, Decl(index.d.ts, 0, 8))

=== /node_modules/foo/use.d.ts ===
import { C } from "./index";
>C : Symbol(C, Decl(use.d.ts, 0, 8))

export function use(o: C): void;
>use : Symbol(use, Decl(use.d.ts, 0, 28))
>o : Symbol(o, Decl(use.d.ts, 1, 20))
>C : Symbol(C, Decl(use.d.ts, 0, 8))

=== /node_modules/foo/index.d.ts ===
export class C {
>C : Symbol(C, Decl(index.d.ts, 0, 0))

    private x: number;
>x : Symbol(C.x, Decl(index.d.ts, 0, 16))
}

