import React, { ReactNode } from "react";
declare enum StateTypes {
    READ_ONLY = "READ_ONLY",
    EDIT_MODE = "EDIT_MODE"
}
interface EditWrapperProps {
    children: ReactNode;
    className?: string;
    editModeClassName?: string;
    readOnlyClassName?: string;
    enableDelete?: boolean;
    editModeComponent: ReactNode;
    enableSaveButton?: boolean;
    onDelete?: () => void;
    onSave?: () => void;
    initialState: StateTypes.EDIT_MODE | StateTypes.READ_ONLY | undefined;
    /** Simple delete popup */
    title: string | React.ReactNode;
    /** More customised message */
    deleteTitle?: string;
    deleteMessage?: string;
    hasUnsavedChanges?: boolean;
}
export default function EditWrapper({ children, className, editModeClassName, readOnlyClassName, editModeComponent, enableDelete, enableSaveButton, initialState, onDelete, onSave, deleteTitle, deleteMessage, hasUnsavedChanges, title, ...props }: EditWrapperProps): React.JSX.Element;
export {};
