import type { IAutomationMetadataObject, IInsight, IUser, IWidget, ObjRef } from "@gooddata/sdk-model"; /** * Sub-context for the alerting management dialog. * The connector hydrates this from dashboard state. * The management dialog tree reads from this context instead of calling useDashboardSelector directly. */ export interface IAlertingManagementDialogContextValue { currentUser?: IUser; dashboardId?: string; dashboardTitle?: string; canManageWorkspace: boolean; isAlertDialogOpen: boolean; alertingDialogReturnFocusTo?: string; managementDialogContext: { widgetRef?: ObjRef; }; automationsInvalidationId?: number; isEmbedded: boolean; enableAccessibilityMode: boolean; getWidgetByRef: (ref: ObjRef | undefined) => IWidget | undefined; getInsightByWidgetRef: (ref: ObjRef | undefined) => IInsight | undefined; pauseAlert(alert: IAutomationMetadataObject): Promise; resumeAlert(alert: IAutomationMetadataObject): Promise; } export declare const AlertingManagementDialogContextProvider: import("react").Provider; export declare function useAlertingManagementDialogContext(): IAlertingManagementDialogContextValue; //# sourceMappingURL=AlertingManagementDialogContext.d.ts.map