import React from 'react';
interface WithSaveStatusConfig {
    onSave: ((...args: any[]) => Promise<void>) | ((...args: any[]) => void);
    inputRef?: React.RefObject<any>;
}
export interface WithSaveStatusProps {
    value?: any;
    handleSave?: (...args: any[]) => void;
    setSaveStatusIdle: () => void;
    inputRef?: React.RefObject<any>;
    disabled?: boolean;
}
declare const withSaveStatus: (WrappedComponent: React.ComponentType<WithSaveStatusProps>, config: WithSaveStatusConfig) => React.FunctionComponent<WithSaveStatusProps>;
export default withSaveStatus;
