export declare enum TokenType { Text = "text", Keyword = "keyword", String = "string", Number = "number", Key = "key", Comment = "comment", Operator = "operator", Function = "function", Atom = "atom", Variable = "variable", Type = "type", Interface = "interface", Punctuation = "punctuation", Tag = "tag", Attribute = "attribute", Selector = "selector", Property = "property", Value = "value", Unit = "unit", Color = "color", Decorator = "decorator", Symbol = "symbol", Command = "command", Parameter = "parameter", Lifetime = "lifetime", Heading = "heading", Bold = "bold", Italic = "italic", Link = "link", Code = "code", List = "list", Blockquote = "blockquote", HorizontalRule = "hr", Boolean = "boolean", Null = "null" } export interface Token { type: TokenType; value: string; } export interface LanguageDefinition { name: string; patterns: { [key in TokenType]?: RegExp; }; keywords: string[]; }