/**
 * @param {string} value
 *   Code to highlight.
 * @param {Readonly<IGrammar>} grammar
 *   Grammar instance to use.
 * @param {ReadonlyArray<string>} colors
 *   Colors that are in the theme.
 * @returns {Root}
 *   A hast root that includes basic `<span>`s and text nodes.
 */
export function parse(value: string, grammar: Readonly<IGrammar>, colors: ReadonlyArray<string>): Root;
import type { IGrammar } from 'vscode-textmate';
import type { Root } from 'hast';
//# sourceMappingURL=parse.d.ts.map