import { QueryResultData } from '@sisense/sdk-data'; import { QueryExecutionConfig } from '@sisense/sdk-query-client'; import { QueryDescription } from '../../../../../domains/query-execution/core/execute-query'; import { type ClientApplication } from '../../../../../infra/app/types'; import { ChartType } from '../../../../../types'; import { ChartDataOptionsInternal } from '../../../core/chart-data-options/types'; export type LoadDataFunction = (options: { app: ClientApplication; chartDataOptionsInternal?: ChartDataOptionsInternal; queryDescription: QueryDescription; executionConfig?: QueryExecutionConfig; }) => Promise; /** * Get the load data function based on the chart type */ export declare function getLoadDataFunction(chartType: ChartType, /** Indicates if the chart is a forecast or trend chart for temporal routing between legacy and restructured charts processing */ isForecastOrTrendChart: boolean): LoadDataFunction;