import { type IDrillToInsight as IDrillToInsightDefinition, type IInsight } from "@gooddata/sdk-model"; import { type IDashboardDrillEvent } from "../../../types.js"; /** * Applies drill intersection filters that are not excluded by `drillIntersectionIgnoredAttributes`, * and source insight filters/source measure filters that are explicitly included by * `includedSourceInsightFiltersObjRefs`/`includedSourceMeasureFiltersObjRefs`. * Dashboard filters are handled by drill dialog itself. * * If the target insight already contains filters: * - attribute filters are merged with existing target filters * - date filters are merged unless source and target date filters point to the same dataset * - for the same dataset, the source date filter replaces the target date filter * - target measure value/ranking filters are replaced when source includes measure value or ranking filter */ export declare function addDrillFiltersToInsight(targetInsight: IInsight, sourceInsight: IInsight | null, drillDefinition: IDrillToInsightDefinition, drillEvent: IDashboardDrillEvent, supportsElementUris: boolean): IInsight; //# sourceMappingURL=drillToInsightUtils.d.ts.map