import { type IAutomationMetadataObject, type IInsightWidget } from "@gooddata/sdk-model";
import { type GoodDataSdkError } from "@gooddata/sdk-ui";
/**
 * Hook that handles alerts dialog
 *
 * @alpha
 */
export declare const useDashboardAlertsOld: () => {
    isInitialized: boolean;
    automations: IAutomationMetadataObject[];
    alertingToEdit: {
        alert: IAutomationMetadataObject;
        widget: IInsightWidget | undefined;
        anchor: HTMLElement | null;
    } | null;
    alertingLoadError: GoodDataSdkError | undefined;
    isAlertingLoading: boolean;
    isAlertsManagementVisible: boolean;
    isAlertingDialogOpen: boolean;
    isAlertingManagementDialogOpen: boolean;
    defaultOnAlerting: () => void;
    defaultOnAlertsManagement: () => void;
    onAlertingManagementEdit: (alert: IAutomationMetadataObject, widget: IInsightWidget | undefined, anchor: HTMLElement | null, onClosed: () => void) => void;
    onAlertingManagementClose: () => void;
    onAlertingManagementDeleteSuccess: () => void;
    onAlertingManagementDeleteError: () => void;
    onAlertingManagementLoadingError: () => void;
    onAlertingManagementPauseSuccess: (_alert: IAutomationMetadataObject, pause: boolean) => void;
    onAlertingManagementPauseError: (_err: GoodDataSdkError, pause: boolean) => void;
    onAlertingCancel: () => void;
    onAlertingUpdate: (_alert: IAutomationMetadataObject) => void;
};
//# sourceMappingURL=useDashboardAlertsOld.d.ts.map