import { type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type ISeparators } from "@gooddata/sdk-model"; import { type GoodDataSdkError } from "@gooddata/sdk-ui"; import { type AlertMetric } from "../../types.js"; export interface IUseAlertSubmitProps { editedAutomation: IAutomationMetadataObjectDefinition | undefined; supportedMeasures: AlertMetric[]; separators?: ISeparators; alertToEdit?: IAutomationMetadataObject; onSuccess?: (alert: IAutomationMetadataObject) => void; onError?: (error: GoodDataSdkError) => void; onSaveSuccess?: (alert: IAutomationMetadataObject) => void; onSaveError?: (error: GoodDataSdkError) => void; } export declare function useAlertSubmit({ editedAutomation, supportedMeasures, separators, alertToEdit, onSuccess, onError, onSaveSuccess, onSaveError }: IUseAlertSubmitProps): { isSaving: boolean; submit: () => Promise; }; //# sourceMappingURL=useAlertSubmit.d.ts.map