import { Dataset, QueryState } from '../../services/nlq/nlq-service'; import { ExtendedChartWidgetProps } from './types'; /** * These helpers accept `savedChartWidgetProps` as an explicit parameter so TypeScript * does not infer `never` on the mutable closure-captured variable inside buildChartEngine. * See https://github.com/microsoft/TypeScript/issues — TS 5.x sequentially narrows * closed-over `let` variables inside object literals after a ternary branch. */ export declare function datasetFromSavedChartWidget(naturalResponseEnabled: boolean | undefined, props: ExtendedChartWidgetProps | null): Dataset | undefined; export declare function queryStateFromSavedChartWidget(props: ExtendedChartWidgetProps | null): QueryState | undefined; //# sourceMappingURL=dataset-from-saved-chart-widget.d.ts.map