/** * SyntaxHighlighter - React Native compatible syntax highlighter * Based on react-native-syntax-highlighter * Requires react-syntax-highlighter as a peer dependency */ import React from 'react'; /** * Props for the SyntaxHighlighter component */ export interface SyntaxHighlighterProps { /** Code string to highlight */ children: string; /** Programming language for syntax highlighting */ language?: string; /** Style theme from react-syntax-highlighter/styles */ style?: object; /** Which highlighter to use: 'hljs' or 'prism' (default: 'hljs') */ highlighter?: 'hljs' | 'prism'; /** Font size in pixels */ fontSize?: number; /** Font family for code text */ fontFamily?: string; } /** * Check if react-syntax-highlighter is available */ export declare function isSyntaxHighlightingAvailable(): boolean; /** * SyntaxHighlighter component for React Native * Renders syntax-highlighted code using react-syntax-highlighter */ export declare function SyntaxHighlighter({ children, language, style, highlighter, fontSize, fontFamily, }: SyntaxHighlighterProps): React.ReactElement | null; export default SyntaxHighlighter; //# sourceMappingURL=SyntaxHighlighter.d.ts.map