/** Get language from a file path's extension */
export declare function langFromPath(filePath: string): string | undefined;
/**
 * Syntax-highlight code. Returns ANSI string.
 * Falls back to raw code if the highlighter hasn't loaded yet or language is unknown.
 */
export declare function highlightCode(code: string, language?: string): string;
//# sourceMappingURL=highlight.d.ts.map