import { type IAutomationMetadataObjectDefinition, type IFilter, type IInsightDefinition } from "@gooddata/sdk-model";
import { type FilterableDashboardWidget } from "../../types/layoutTypes.js";
import { type QueryProcessingState } from "../useDashboardQueryProcessing.js";
/**
 * @alpha
 */
export interface IUseWidgetAlertFiltersProps {
    /**
     * Optionally provide metadata object to get filters from instead of the current widget filters.
     */
    alertToEdit?: IAutomationMetadataObjectDefinition;
    /**
     * Widget to get filters for.
     */
    widget?: FilterableDashboardWidget;
    /**
     * Insight to get filters for.
     */
    insight?: IInsightDefinition;
}
/**
 * Hook for getting filters for widget alert.
 *
 * Note:
 * - In case of existing widget alert, it returns the saved filters from the widget alert.
 * - Otherwise, it returns the filters ready to be saved in new widget alert, sanitized according to the following rules:
 *     - Cross-filtering filters are excluded as they are typically not desired in the widget alert.
 *     - The widget's ignored filters configuration is honored.
 *
 * @alpha
 * @deprecated - can be removed, once `enableAutomationFilterContext` is removed
 */
export declare function useWidgetAlertFilters({ alertToEdit, widget, insight }: IUseWidgetAlertFiltersProps): QueryProcessingState<IFilter[]>;
//# sourceMappingURL=useWidgetAlertFilters.d.ts.map