import React from "react";
type status = "idle" | "saving" | "saved" | "error";
interface CommonProps {
    onSave?: () => any;
    errorMessage?: React.ReactNode | string;
    className?: string;
}
interface Props extends CommonProps {
    forcedStatus?: "unset" | status;
    isSaving: boolean;
    isError: boolean;
}
interface AutoSavingContentProps extends CommonProps {
    status: status;
}
export declare const AutoSavingContent: ({ status, onSave, errorMessage, className }: AutoSavingContentProps) => React.JSX.Element;
declare const AutoSaving: (props: Props) => React.JSX.Element;
export default AutoSaving;
