import { type IExecutionConfig, type IInsightDefinition, type ObjRef } from "@gooddata/sdk-model";
/**
 * Single shared source of a widget's insight execution config, so the dashboard insight and its
 * drill overlay execute consistently instead of each duplicating (and drifting) the logic.
 *
 * @param ref - source widget whose tab provides the parameter overrides
 * @param insight - the insight being executed (the drill target, not `ref`'s own insight); its metrics
 *   decide which parameters apply
 * @internal
 */
export declare function useWidgetExecConfig(ref: ObjRef, insight: IInsightDefinition): IExecutionConfig;
//# sourceMappingURL=useWidgetExecConfig.d.ts.map