import { type ChalkInstance } from "chalk"; export type Colors = ChalkInstance; export type ColorFormatter = ChalkInstance; /** * Highlight `text` using the token definitions in `defs`. */ type Options = { forceColor?: boolean; }; /** * Whether the code should be highlighted given the passed options. */ export declare function shouldHighlight(options: Options): boolean; /** * The Chalk instance that should be used given the passed options. */ export declare function getChalk(options: Options): ChalkInstance; /** * Highlight `code`. */ export default function highlight(code: string, options?: Options): string; export {};