import { type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition } from "@gooddata/sdk-model";
export declare function useSaveAlertToBackend({ onCreateSuccess, onCreateError, onUpdateSuccess, onUpdateError, onPauseSuccess, onPauseError, onResumeSuccess, onResumeError }: {
    onCreateSuccess?: (alert: IAutomationMetadataObject) => void;
    onCreateError?: (error: Error) => void;
    onUpdateSuccess?: (alert: IAutomationMetadataObject) => void;
    onUpdateError?: (error: Error) => void;
    onPauseSuccess?: (alert: IAutomationMetadataObject) => void;
    onPauseError?: (error: Error) => void;
    onResumeSuccess?: (alert: IAutomationMetadataObject) => void;
    onResumeError?: (error: Error) => void;
}): {
    handleCreateAlert: (alert: IAutomationMetadataObject | IAutomationMetadataObjectDefinition) => void;
    handleUpdateAlert: (alert: IAutomationMetadataObject | IAutomationMetadataObjectDefinition) => void;
    handlePauseAlert: (alert: IAutomationMetadataObject | IAutomationMetadataObjectDefinition) => void;
    handleResumeAlert: (alert: IAutomationMetadataObject | IAutomationMetadataObjectDefinition) => void;
    isSavingAlert: boolean;
};
//# sourceMappingURL=useSaveAlertToBackend.d.ts.map