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