import { type IInsight } from "@gooddata/sdk-model"; import { type IPushData, type PushDataCallback } from "@gooddata/sdk-ui"; export interface IUseDrillDialogSyncInsightPropertiesParams { insight: IInsight; drillStepInsightId: string | undefined; onPushData: PushDataCallback; pushData: PushDataCallback | undefined; isWidgetAsTable?: boolean; } /** * Keeps drill dialog visualization props in sync with interactive changes reported via `pushData.properties`. * * @remarks * In drill dialog we do not persist `pushData.properties` anywhere (unlike in the normal widget rendering path), * so we keep them locally and overlay them on top of the currently rendered insight properties. * * This is intentionally **generic**: it merges the entire `pushData.properties` object (not a whitelist). * PivotTableNext text wrapping is just one example: it uses this to keep the header menu checked state consistent. * * @internal */ export declare function useDrillDialogSyncInsightProperties({ insight, drillStepInsightId, onPushData, pushData, isWidgetAsTable }: IUseDrillDialogSyncInsightPropertiesParams): { syncedInsight: IInsight; handlePushData: (data: IPushData) => void; }; //# sourceMappingURL=useDrillDialogSyncInsightProperties.d.ts.map