import React from 'react';
import { CodeEditorProps } from './CodeEditor';
import { LintSource } from '@codemirror/lint';
export type CodeEditorPopupProps = Pick<CodeEditorProps<'html'>, 'value' | 'onChange'> & {
    open: boolean;
    codeEditorSubtitle?: string;
    messageNode?: React.ReactNode;
    readonly?: boolean;
    onCopyToClipboard?: () => void;
    onAccept: () => void;
    onCancel: () => void;
    linterFunction?: (value: string, view: Parameters<LintSource>[0]) => {
        response: ReturnType<LintSource>;
        hasErrors: boolean;
    };
};
declare const CodeEditorPopup: ({ value, open, readonly, codeEditorSubtitle, messageNode, linterFunction, onCopyToClipboard, onChange, onAccept, onCancel }: CodeEditorPopupProps) => import("react/jsx-runtime").JSX.Element;
export default CodeEditorPopup;
