import { DashboardProps } from '../../../../domains/dashboarding/types.js'; import type { NlqTranslationResult } from '../../types.js'; import type { DashboardInput } from '../types.js'; /** * Translates NLQ DashboardJSON format to CSDK DashboardProps. * Direction: JSON → CSDK * * Translates each widget using `translateWidgetFromJSON` (which requires each widget JSON to * have an `id`). Each widget is resolved against the {@link DataSchemaContext} matching its own * `dataSource` (falling back to `dashboardJSON.defaultDataSource`), since widgets can span * multiple data sources. Each dashboard-level filter tile is translated independently and * resolved against the context matching its own `dataSource` when tagged (see * `DashboardFilterWithDataSourceJSON`), falling back to `dashboardJSON.defaultDataSource` * otherwise, then merged back together — since a filter panel can also span multiple data * sources. * * Translation fails if any widget or filter translation fails, or if a widget's or a filter's * data source doesn't match any supplied context. * * @param input - DashboardInput containing dashboardJSON and the multi-data-source schema context * @returns NlqTranslationResult with DashboardProps or errors * @internal */ export declare const translateDashboardFromJSON: (input: DashboardInput) => NlqTranslationResult;