import * as Ast from "@unified-latex/unified-latex-types"; /** * Compute the hex representation of a color specified by an xcolor color command. * For example `\color[rgb]{1 .5 .5}` or `\textcolor{red}{foo}`. If the color cannot be parsed, * `null` is returned for the hex value. In all cases a css variable name (prefixed with "--"") * is returned. This can be used to set up CSS for custom colors. */ export declare function xcolorMacroToHex(node: Ast.Macro): { hex: string | null; cssVarName: string; }; //# sourceMappingURL=xcolor-macro-to-hex.d.ts.map