import { default as React } from 'react';
interface ViewerProps {
    ref?: any;
    title?: React.ReactNode;
    defaultLang?: string;
    config?: any;
    value: string;
    height?: string | number;
    placeholder?: string;
    variant?: 'bordered' | 'borderless';
    validateMessage?: React.ReactNode;
    schema?: any;
    isDarkTheme?: boolean;
    onUpload?: (content: string) => void;
    onChange?: (value: string | undefined, event: any) => void;
    onBlur?: () => void;
    onFocus?: () => void;
}
declare const YamlEditor: React.FC<ViewerProps>;
export default YamlEditor;
