f
interface I { }
(1)

function f() { }


f
type x = any;
(1)

f
import type { x } from 'foo';
(1)

5
interface I { }
-1


f
declare class name {
    constructor();
}
[1].map(() => 1)

f
declare var x: string;
/1/

f
declare var y: string;
declare var z: string;
/1/


class foo {
    static: any
    declare x: any
    foo() { }
}

2
export type { }
+ 3


f
declare namespace N { }
`1`

f as any
`1`