import { type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition } from "@gooddata/sdk-model";
import { type IScheduledEmailDialogProps } from "../../types.js";
export declare function useSaveScheduledEmailToBackend(automation: IAutomationMetadataObject | IAutomationMetadataObjectDefinition, { onSuccess, onError, onSubmit, onSaveSuccess, onSaveError, onSave }: Pick<IScheduledEmailDialogProps, "onSuccess" | "onError" | "onSubmit" | "onSaveSuccess" | "onSaveError" | "onSave">): {
    handleSaveScheduledEmail: () => void;
    isSavingScheduledEmail: boolean;
    savingErrorMessage: string | undefined;
};
//# sourceMappingURL=useSaveScheduledEmailToBackend.d.ts.map