import { default as React } from 'react';
import { Style as GsStyle, StyleParser } from 'geostyler-style';
export interface CodeEditorProps {
    /** Delay in ms until onStyleChange will be called */
    delay?: number;
    /** Show upload file button */
    showUploadButton?: boolean;
    /** Show save button */
    showSaveButton?: boolean;
    /** show copy button */
    showCopyButton?: boolean;
    /** GeoStyler Style Object to display */
    style?: GsStyle;
    /** List of StylerParsers to parse from/to */
    parsers?: StyleParser[];
    /** Default parser */
    defaultParser?: StyleParser;
    /** The callback method that is triggered when the state changes */
    onStyleChange?: (rule: GsStyle) => void;
    /** Callback method when the activeParser has changed via dropdown. */
    onActiveParserChange?: (activeParser: StyleParser) => void;
}
export declare const COMPONENTNAME = "CodeEditor";
export declare const CodeEditor: React.FC<CodeEditorProps>;
