import { EditorConfiguration } from "../../config/types";
import { ConfirmationDialogHandle } from "../ConfirmationDialog";
import { ExecutionResult } from "../services/editService";
export declare function handleErrorResult(result: ExecutionResult<unknown>, ui: {
    showErrorToast: (error: {
        summary: string;
        details: string;
    }) => void;
    confirmationDialogRef: React.RefObject<ConfirmationDialogHandle | null>;
}, state: {
    configuration: EditorConfiguration;
}): true | undefined;
