declare namespace Animal { class Cat { constructor(name: string); } class Dog { constructor(name: string); public print(): void; } }