This issue is to add support for parsing types using typeof declarations.
export const foo: Record<string, number> = {};
export const bar: typeof foo = {};
This adds support for a new Type declaration for handling such typeof declarations, and generating references to the given type when a reference is needed for such declaration.