export interface ILanguageConfiguration extends IFoldConfiguration { defaultFoldStartRegex ? : string ; disableFolding ? : boolean ; foldDefinitions ? : IFoldConfiguration [ ] ; } export interface IFoldConfiguration { foldEnd : string ; foldEndRegex : string ; foldStart : string ; foldStartRegex : string ; isFoldedByDefault ? : boolean ; } export interface IConfiguration { [ languageName ] : ILanguageConfiguration ; } export interface IOptionsConfiguration { collapseDefaultRegionsOnOpen : boolean ; } export let DefaultOptionsConfiguration = { collapseDefaultRegionsOnOpen : true } ;