declare module "{{registryEntry.namespace}}" {

	{{#each registryEntry.enums}}
	{{#if @first}}
	/**
	 * Declaration of enums
	 */
	{{/if}}
		{{{generateApiDocumentation this.description}}}
		export enum {{this.name}} {
			{{#each this.values}}
				{{{generateApiDocumentation this.description}}}
				{{{this.name}}} = "{{{this.name}}}",
			{{/each}}
		}
	{{/each}}

	{{#each registryEntry.interfaces}}
	{{#if @first}}
	/**
	 * Declaration of interfaces
	 */
	{{/if}}
		{{{generateApiDocumentation this.description}}}
		export interface {{this.name}} {
			{{{escapeInterfaceName @root.registryEntry.namespace this.name}}}
		}
	{{/each}}
}