import { type ReactElement } from "react"; import { type IInsight, type ObjRef } from "@gooddata/sdk-model"; import { type OnDashboardDrill, type OnDrillDownSuccess, type OnDrillToAttributeUrlSuccess, type OnDrillToCustomUrlSuccess, type OnDrillToDashboardSuccess, type OnDrillToInsightSuccess, type OnKeyDriverAnalysisSuccess, type OnWidgetDrill } from "../types.js"; /** * @internal */ export interface IWithDrillSelectProps { widgetRef: ObjRef; insight: IInsight; visualizationId?: string; returnFocusToInsight?: (force?: boolean) => void; onDrillStart?: OnDashboardDrill; onDrillDownSuccess?: OnDrillDownSuccess; onDrillToInsightSuccess?: OnDrillToInsightSuccess; onDrillToDashboardSuccess?: OnDrillToDashboardSuccess; onDrillToAttributeUrlSuccess?: OnDrillToAttributeUrlSuccess; onDrillToCustomUrlSuccess?: OnDrillToCustomUrlSuccess; onKeyDriverAnalysisSuccess?: OnKeyDriverAnalysisSuccess; onError?: (error: any) => void; children: (props: { onDrill: OnWidgetDrill; }) => ReactElement; } /** * @internal */ export declare function WithDrillSelect({ widgetRef, children, insight, returnFocusToInsight, onDrillStart, onDrillDownSuccess, onDrillToInsightSuccess, onDrillToDashboardSuccess, onDrillToAttributeUrlSuccess, onDrillToCustomUrlSuccess, onKeyDriverAnalysisSuccess, onError }: IWithDrillSelectProps): ReactElement; //# sourceMappingURL=WithDrillSelect.d.ts.map