//// [index.js]
module.exports = class {
    /**
     * @param {number} p
     */
    constructor(p) {
        this.t = 12 + p;
    }
}
module.exports.Sub = class {
    constructor() {
        this.instance = new module.exports(10);
    }
}


//// [index.js]
module.exports = /** @class */ (function () {
    /**
     * @param {number} p
     */
    function exports(p) {
        this.t = 12 + p;
    }
    return exports;
}());
module.exports.Sub = /** @class */ (function () {
    function Sub() {
        this.instance = new module.exports(10);
    }
    return Sub;
}());


//// [index.d.ts]
export = exports;
declare class exports {
    /**
     * @param {number} p
     */
    constructor(p: number);
    t: number;
}
declare namespace exports {
    export { Sub };
}
declare class Sub {
    instance: import(".");
}
