import { ActionDrawerState, PrimaryCTA, SecondaryCTA } from '../../core'; /** * A chart-bar drilldown's context carries which block it targets (see BarchartBlock / * DoubleBarChartBlock), since either CTA could in principle open the same drawer. Match that * against `primary_cta.block`; anything else is assumed to be the secondary CTA's block. */ export declare const getCtaForChartBarClick: (actionDrawer: ActionDrawerState, primary_cta: PrimaryCTA | undefined, secondary_cta: SecondaryCTA | undefined) => PrimaryCTA | SecondaryCTA | undefined; /** * Resolves which CTA (primary/secondary) drives the currently open drawer's title/variant, based * on what triggered it. Falls back to `primary_cta` whenever resolution comes up empty (e.g. a * `secondaryCta` trigger with no configured secondary CTA), so callers never have to null-check. */ export declare const getDynamicCtaBasedOnTriggers: (actionDrawer: ActionDrawerState, primary_cta: PrimaryCTA | undefined, secondary_cta: SecondaryCTA | undefined) => PrimaryCTA | SecondaryCTA | undefined;