import { HttpClient } from '@sisense/sdk-rest-client'; import { DashboardModel } from '../../../domains/dashboarding/dashboard-model'; import { AppSettings } from '../../../infra/app/settings/settings'; import { CompleteThemeSettingsInternal } from '../../../types'; export interface GetDashboardModelOptions { /** * Boolean flag whether to include widgets in the dashboard model * * If not specified, the default value is `false` */ includeWidgets?: boolean; /** * Boolean flag whether to include filters in the dashboard model * * If not specified, the default value is `false` */ includeFilters?: boolean; /** * Whether to load the dashboard in shared mode (co-authoring feature). * * @default false * @internal */ sharedMode?: boolean; /** * Whether to force the legacy (non-V1) API version for the dashboard model. * * `userAuth` is now populated by default via the V1 endpoint (with an automatic * fallback to the legacy endpoint on older Sisense versions), so this flag is no * longer required to retrieve it and is kept for backward compatibility only. * * @deprecated No longer needed to retrieve `userAuth`. Use `includeWidgets` / * `includeFilters` on the default (V1) path instead. This option will be removed * once no consumer relies on it. * @default false * @internal */ useLegacyApiVersion?: boolean; /** * Whether to fetch the dashboard with admin-level access. * * @default false * @sisenseInternal */ adminAccess?: boolean; } /** * Retrieves a dashboard model by its OID. * * @param http - The HTTP client * @param dashboardOid - The OID of the dashboard * @param options - The options to include widgets and filters in the dashboard model * @param themeSettings - Optional theme settings * @param appSettings - Optional application settings * @returns The dashboard model * * @internal * @sisenseInternal */ export declare function getDashboardModel(http: HttpClient, dashboardOid: string, options?: GetDashboardModelOptions, themeSettings?: CompleteThemeSettingsInternal, appSettings?: AppSettings): Promise;