import { Compartment, Extension } from '@codemirror/state';
import { PropType } from 'vue';
declare const _default: import("vue").DefineComponent<{
    content: {
        type: StringConstructor;
        default: any;
    };
    disableFilename: BooleanConstructor;
    footer: {
        type: BooleanConstructor;
        default: boolean;
    };
    filename: {
        type: StringConstructor;
        default: any;
    };
    save: {
        type: FunctionConstructor;
        default(): true;
    };
    saveButton: {
        type: BooleanConstructor;
        default: boolean;
    };
    theme: {
        type: PropType<Extension>;
        default: () => Extension;
    };
    title: {
        type: StringConstructor;
        default: any;
    };
    toolbar: {
        type: BooleanConstructor;
        default: boolean;
    };
}, unknown, {
    currentContent: import("vue").Ref<string>;
    themeConfig: Compartment;
    errors: any[];
    hasDismissedFinishPopup: boolean;
    showFinishModal: boolean;
    view: any;
}, {}, {
    extensions(): any[];
    onGoto({ from, to }: {
        from: number;
        to: number;
    }): void;
    onSave(): void;
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("save" | "update:filename" | "fixed-errors" | "update:content")[], "save" | "update:filename" | "fixed-errors" | "update:content", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
    content: {
        type: StringConstructor;
        default: any;
    };
    disableFilename: BooleanConstructor;
    footer: {
        type: BooleanConstructor;
        default: boolean;
    };
    filename: {
        type: StringConstructor;
        default: any;
    };
    save: {
        type: FunctionConstructor;
        default(): true;
    };
    saveButton: {
        type: BooleanConstructor;
        default: boolean;
    };
    theme: {
        type: PropType<Extension>;
        default: () => Extension;
    };
    title: {
        type: StringConstructor;
        default: any;
    };
    toolbar: {
        type: BooleanConstructor;
        default: boolean;
    };
}>> & {
    onSave?: (...args: any[]) => any;
    "onUpdate:filename"?: (...args: any[]) => any;
    "onFixed-errors"?: (...args: any[]) => any;
    "onUpdate:content"?: (...args: any[]) => any;
}, {
    footer: boolean;
    title: string;
    saveButton: boolean;
    save: Function;
    disableFilename: boolean;
    filename: string;
    content: string;
    theme: Extension;
    toolbar: boolean;
}, {}>;
export default _default;
