import { type NamedExoticComponent } from 'react'; import { type SyntaxHighlighterProps } from '../types'; /** * Takes in a code string and (in the default behaviour): * - Uses refractor to turn it into a tree structure with highlighting metadata * - Collapses this tree into lines for a renderer * - Passes these lines to a React renderer * * In future, the final step could have a custom renderer. */ declare const Highlight: NamedExoticComponent; export default Highlight;