import { Grammar, GrammarTokens, TokenName, TokenStream } from '../types.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 `