import type { Theme } from "cli-highlight"; export { BUILTIN_THEME_NAMES } from "./syntax-themes.js"; export declare function detectLanguage(code: string): string; export declare function highlightWithTheme(code: string, _language: string, theme: Theme): string; export declare function syntaxHighlight(code: string, _language: string, theme?: string | Record): string; export declare function _diff(oldText: string, newText: string, context: number, lineNumbers: boolean, color: "auto" | boolean, oldLabel: string, newLabel: string, ignoreWhitespace: boolean, hunkHeaders: boolean, summary: boolean, language: string, theme: string | Record): string; export declare function _patch(oldText: string, newText: string, filename: string, context: number, ignoreWhitespace: boolean, newFilename: string): string;