import { matchBrackets } from '../extensions/match-brackets/index.js'; import { matchTags } from '../extensions/match-tags.js'; import { showInvisibles } from '../extensions/search/invisibles.js'; import { CustomTokenizer, Grammar, GrammarTokens, TokenName, TokenStream } from './index.js'; /** * Creates a deep clone of the given grammar definition. * @param grammar Grammar object you want to clone. */ export declare const clone: (grammar: Grammar) => Grammar /** * Inserts tokens _before_ another token in the given grammar. * * ## Usage * * This helper method makes it easy to modify existing grammars. For example, the markup language definition * defines highlighting for CSS embedded in HTML through `