import { type IFilter, type IInsightWidget, type IRichTextWidget } from "@gooddata/sdk-model";
/**
 * Result of {@link useRichTextWidgetFilters} and {@link useSectionDescriptionFilters} hooks.
 */
interface IRichTextFiltersResult {
    /**
     * Filters to apply to Rich Text content.
     */
    filters: IFilter[];
    /**
     * Whether the filters are still loading.
     */
    loading: boolean;
    /**
     * Error that occurred while loading filters, if any.
     */
    error?: Error;
}
/**
 * Hook for obtaining effective filters for Rich Text widgets.
 *
 * Uses the same sophisticated filter resolution as Insight widgets, which:
 * - Respects widget's `ignoreDashboardFilters` configuration
 * - Re-computes when filter settings change
 * - Validates filters against backend
 *
 * @param widget - Rich Text or Insight widget to get filters for
 * @returns filters, loading state, and error
 *
 * @internal
 */
export declare function useRichTextWidgetFilters(widget: IRichTextWidget | IInsightWidget): IRichTextFiltersResult;
/**
 * Hook for obtaining filters for section descriptions with Rich Text content.
 *
 * Section descriptions always receive all dashboard filters (no ignoring),
 * and use the dashboard-level date dataset configuration.
 *
 * @returns filters, loading state, and error
 *
 * @internal
 */
export declare function useSectionDescriptionFilters(): IRichTextFiltersResult;
export {};
//# sourceMappingURL=useRichTextFilters.d.ts.map