import { type AnalyticalDashboardModelV2, type AnalyticalDashboardModelV3 } from "@gooddata/api-client-tiger"; import { type LayoutPath } from "@gooddata/sdk-backend-spi"; import { type IDashboardDefinition, type IDashboardLayout, type IDashboardParameter, type IDashboardPluginDefinition, type IDashboardPluginLink, type IFilterContextDefinition, type ObjRef } from "@gooddata/sdk-model"; /** * Converts platform-agnostic dashboard definition to Tiger-specific analytical dashboard. * * @param dashboard - Platform-agnostic dashboard definition (uses IDashboardLayout, IDashboardTab, etc.) * @param filterContextRef - Optional filter context reference * @param useWidgetLocalIdentifiers - Whether to preserve widget local identifiers * @param enableDashboardSectionHeadersDateDataSet - Whether to include section headers date data set * @param enableAnalyticalDashboardVersion3 - When true and the dashboard has tabs, produce a V3 analytical * dashboard: tabs-only, no root-level layout / filter configs / parameters. V3 cannot be read * by SDK versions that only know V2 root-level properties. Opt-in. * @returns Tiger analytical dashboard (V2 by default, V3 when the flag is on and tabs are present). */ export declare function convertAnalyticalDashboard(dashboard: IDashboardDefinition, filterContextRef?: ObjRef, useWidgetLocalIdentifiers?: boolean, enableDashboardSectionHeadersDateDataSet?: boolean, enableAnalyticalDashboardVersion3?: false): AnalyticalDashboardModelV2.IAnalyticalDashboard; export declare function convertAnalyticalDashboard(dashboard: IDashboardDefinition, filterContextRef?: ObjRef, useWidgetLocalIdentifiers?: boolean, enableDashboardSectionHeadersDateDataSet?: boolean, enableAnalyticalDashboardVersion3?: boolean): AnalyticalDashboardModelV2.IAnalyticalDashboard | AnalyticalDashboardModelV3.IAnalyticalDashboard; /** * Converts platform-agnostic filter context to Tiger-specific filter context. * * @param filterContext - Platform-agnostic filter context definition (uses FilterContextItem[]) * @param useDateFilterLocalIdentifiers - Whether to add local identifiers to date filters * @returns Tiger filter context (uses ITigerFilterContextItem[]) */ export declare function convertFilterContextToBackend(filterContext: IFilterContextDefinition, useDateFilterLocalIdentifiers?: boolean): AnalyticalDashboardModelV2.IFilterContext; export declare function convertFilterViewContextToBackend(filterContext: IFilterContextDefinition, useDateFilterLocalIdentifiers?: boolean, tabLocalIdentifier?: string, parameters?: IDashboardParameter[]): AnalyticalDashboardModelV2.IFilterContextWithTab; export declare function convertDashboardPluginToBackend(plugin: IDashboardPluginDefinition): AnalyticalDashboardModelV2.IDashboardPlugin; export declare function convertDashboardPluginLinkToBackend(pluginLink: IDashboardPluginLink): AnalyticalDashboardModelV2.IDashboardPluginLink; export declare function getDrillToCustomUrlPaths(layout: IDashboardLayout): LayoutPath[]; //# sourceMappingURL=AnalyticalDashboardConverter.d.ts.map