import React from "react";
export interface CodeViewerConfig {
    dependencies?: Record<string, any>;
    containerClassName?: string;
    containerStyle?: React.CSSProperties;
    errorClassName?: string;
    errorStyle?: React.CSSProperties;
    securityPatterns?: RegExp[];
    onError?: (error: Error) => void;
    tailwind?: boolean;
}
export interface CodeViewerProps {
    code: string;
    config?: CodeViewerConfig;
}
export declare const CodeViewer: React.FC<CodeViewerProps>;
export default CodeViewer;
