import { type IAutomationMetadataObject, type IAutomationMetadataObjectDefinition, type IInsightWidget } from "@gooddata/sdk-model";
type InsightWidgetAlertingViewMode = "list" | "edit" | "create";
export interface IInsightWidgetAlertingProps {
    widget?: IInsightWidget | undefined;
    closeInsightWidgetMenu: () => void;
}
export declare const useInsightWidgetAlerting: ({ widget, closeInsightWidgetMenu }: IInsightWidgetAlertingProps) => {
    isLoading: boolean;
    destinations: import("@gooddata/sdk-model").INotificationChannelIdentifier[] | import("@gooddata/sdk-model").INotificationChannelMetadataObject[];
    users: import("@gooddata/sdk-model").IWorkspaceUser[] | undefined;
    alerts: IAutomationMetadataObject[];
    viewMode: InsightWidgetAlertingViewMode;
    editingAlert: IAutomationMetadataObject | null;
    creatingAlert: IAutomationMetadataObject | IAutomationMetadataObjectDefinition | null;
    initiateAlertCreation: () => void;
    initiateAlertEditing: (alert: IAutomationMetadataObject) => void;
    updateExistingAlert: (alert: IAutomationMetadataObject) => void;
    saveNewAlert: (alert: IAutomationMetadataObjectDefinition) => void;
    pauseExistingAlert: (alert: IAutomationMetadataObject) => void;
    resumeExistingAlert: (alert: IAutomationMetadataObject) => void;
    alertToDelete: IAutomationMetadataObject | null;
    startDeletingAlert: (alert: IAutomationMetadataObject) => void;
    cancelDeletingAlert: () => void;
    deleteExistingAlert: (alert: IAutomationMetadataObject) => Promise<void>;
    cancelAlertEditing: () => void;
    cancelAlertCreation: () => void;
    hasAlerts: boolean;
    execResult: import("../../../../../../index.js").IExecutionResultEnvelope | undefined;
    separators: import("@gooddata/sdk-model").ISeparators;
    supportedMeasures: import("../../../../../alerting/types.js").AlertMetric[];
    supportedAttributes: import("../../../../../alerting/types.js").AlertAttribute[];
    maxAutomationsReached: boolean;
    maxAutomationsRecipients: number;
    canManageAttributes: boolean;
    canManageComparison: boolean;
    canCreateAutomation: boolean;
    measureFormatMap: import("../../../../../alerting/DefaultAlertingDialog/utils/getters.js").IMeasureFormatMap;
    catalogAttributes: import("@gooddata/sdk-model").ICatalogAttribute[];
    catalogDateDatasets: import("@gooddata/sdk-model").ICatalogDateDataset[];
    isExecutionTimestampMode: boolean;
};
export {};
//# sourceMappingURL=useInsightWidgetAlerting.d.ts.map