import * as React from 'react';
import { StyleData } from '../../utils/types';
interface CodeProps {
    styleData: StyleData | any;
    onStyleDataChange: (val: any) => void;
}
export default class CssCode extends React.Component<CodeProps> {
    state: {
        showDialog: boolean;
        defaultEditorProps: {};
        cssCode: string;
        isCanSave: boolean;
        height: number;
    };
    componentWillReceiveProps(nextProps: CodeProps): void;
    componentDidMount(): void;
    styleSave: () => void;
    updateCode: (newCode: string) => void;
    showDrawer: () => void;
    closeDrawer: () => void;
    prevHeight: number;
    render(): React.JSX.Element;
}
export {};
