import type { DashboardProps } from '../../../domains/dashboarding/index.js'; import type { DashboardDto } from '../../../infra/api/types/dashboard-dto.js'; import type { AppSettings } from '../../../infra/app/settings/settings.js'; import type { CompleteThemeSettingsInternal } from '../../../types.js'; import type { DashboardModel } from './dashboard-model.js'; /** * Translates {@link DashboardModel} to {@link DashboardProps}. * * Narrative widgets are handed the dashboard's `oid` as their `dashboardId`. * * @param dashboardModel - The dashboard model to translate. * @returns Props for the `Dashboard` component. * @example * ```tsx * * ``` */ export declare function toDashboardProps(dashboardModel: DashboardModel): DashboardProps; /** * Creates a new dashboard model from a dashboard DTO. * * @param dashboardDto - The dashboard DTO to be converted to a dashboard model. * @param themeSettings - Optional theme settings. * @param appSettings - Optional application settings. * @returns The dashboard model. * @internal */ export declare function fromDashboardDto(dashboardDto: DashboardDto, themeSettings?: CompleteThemeSettingsInternal, appSettings?: AppSettings): DashboardModel;