import { type IDashboardExportImageOptions, type IDashboardExportPdfOptions, type IDashboardExportPresentationOptions, type IDashboardExportRawOptions, type IDashboardExportTabularOptions, type IDashboardReferences, type IDashboardSummaryWorkflowStartResult, type IDashboardSummaryWorkflowStatusResult, type IDashboardWithReferences, type IDashboardsQuery, type IExportResult, type IGetDashboardOptions, type IGetDashboardPluginOptions, type IRawExportCustomOverrides, type IWorkspaceDashboardsService, type SupportedDashboardReferenceTypes } from "@gooddata/sdk-backend-spi"; import { type FilterContextItem, type IDashboard, type IDashboardAttributeFilterConfig, type IDashboardBase, type IDashboardDefinition, type IDashboardExportParameter, type IDashboardFilterView, type IDashboardFilterViewSaveRequest, type IDashboardObjectIdentity, type IDashboardPermissions, type IDashboardPlugin, type IDashboardPluginDefinition, type IDashboardTab, type IDateFilter, type IExecutionDefinition, type IFilter, type IFilterContext, type IListedDashboard, type IObjectCertificationWrite, type IWidget, type ObjRef } from "@gooddata/sdk-model"; import { type FiltersByTab, type TigerAuthenticatedCallGuard } from "../../../types/index.js"; export declare function getOrphanedTabFilterContexts(originalTabs: IDashboardTab[], currentTabs: IDashboardTab[]): IFilterContext[]; /** * Builds the filter context that replaces the dashboard's persisted one during an export render, * carrying the filters captured at export-request time. Stamped with the shared export-override * identifier so consumers can recognize it via `isExportOverrideFilterContext`. */ export declare function buildExportOverrideFilterContext(exportId: string, filters: FilterContextItem[]): IFilterContext; export declare class TigerWorkspaceDashboards implements IWorkspaceDashboardsService { private readonly authCall; readonly workspace: string; constructor(authCall: TigerAuthenticatedCallGuard, workspace: string); getDashboards: (options?: IGetDashboardOptions) => Promise; getDashboardsQuery: () => IDashboardsQuery; getDashboard: (ref: ObjRef, filterContextRef?: ObjRef, options?: IGetDashboardOptions) => Promise; getDashboardWithReferences: (ref: ObjRef, filterContextRef?: ObjRef, options?: IGetDashboardOptions, types?: SupportedDashboardReferenceTypes[]) => Promise; getDashboardReferencedObjects: (dashboard: IDashboard, types?: SupportedDashboardReferenceTypes[]) => Promise; /** * Export metadata is an immutable snapshot stored with the export request, and several layers * (dashboard load, app bootstrap, dashboard component initialization) read it during a single * export-mode render — the fetch is therefore deduplicated per workspace/export. Failed * fetches are evicted so they can be retried. */ private fetchExportMetadata; getExportDataByExportId: (exportId: string, type: "visual" | "slides" | undefined, exportTabId?: string) => Promise<{ filterContext?: IFilterContext; parametersByTab?: Record; title?: string; hideWidgetTitles?: boolean; exportMetadata?: Record; timezoneId?: string; } | null>; private getDashboardWithSideloads; createDashboard: (dashboard: IDashboardDefinition, generateId?: boolean) => Promise; updateDashboard: (originalDashboard: IDashboard, updatedDashboard: IDashboardDefinition) => Promise; /** * Starts AI dashboard summary workflow. * * @remarks * Tiger-specific extension (not part of SPI), intended for UI-side polling. * The response type was generated from the gdc-nas repo. */ startDashboardSummaryWorkflow: (dashboardId: string) => Promise; /** * Gets AI dashboard summary workflow status. * * @remarks * Tiger-specific extension (not part of SPI), intended for UI-side polling. * The response type was generated from the gdc-nas repo. */ getDashboardSummaryWorkflowStatus: (runId: string) => Promise; updateDashboardMeta: (updatedDashboard: IDashboardObjectIdentity & Partial) => Promise; setCertification: (ref: ObjRef, certification?: IObjectCertificationWrite) => Promise; deleteDashboard: (ref: ObjRef) => Promise; exportDashboardToPdf: (dashboardRef: ObjRef, filters?: FilterContextItem[], filtersByTab?: FiltersByTab, options?: IDashboardExportPdfOptions) => Promise; exportDashboardToPresentation: (dashboardRef: ObjRef, format: "PDF" | "PPTX", filters?: FilterContextItem[], filtersByTab?: FiltersByTab, options?: IDashboardExportPresentationOptions) => Promise; exportDashboardToTabular: (dashboardRef: ObjRef, options?: IDashboardExportTabularOptions) => Promise; exportDashboardToCSVRaw: (definition: IExecutionDefinition, filename: string, customOverrides?: IRawExportCustomOverrides, options?: IDashboardExportRawOptions) => Promise; exportDashboardToImage: (dashboardRef: ObjRef, filters?: FilterContextItem[], filtersByTab?: FiltersByTab, options?: IDashboardExportImageOptions) => Promise; createScheduledMail: () => never; updateScheduledMail: () => never; deleteScheduledMail: () => never; getScheduledMailsForDashboard: () => never; getScheduledMailsCountForDashboard: () => Promise; getAllWidgetAlertsForCurrentUser: () => Promise; getDashboardWidgetAlertsForCurrentUser: () => never; getWidgetAlertsCountForWidgets: () => Promise; createWidgetAlert: () => never; updateWidgetAlert: () => never; deleteWidgetAlert: () => never; deleteWidgetAlerts: () => never; getWidgetReferencedObjects: () => never; getResolvedFiltersForWidget: (widget: IWidget, filters: IFilter[], attributeFilterConfigs: IDashboardAttributeFilterConfig[]) => Promise; getResolvedFiltersForWidgetWithMultipleDateFilters: (widget: IWidget, commonDateFilters: IDateFilter[], otherFilters: IFilter[], attributeFilterConfigs: IDashboardAttributeFilterConfig[]) => Promise; createDashboardPlugin: (plugin: IDashboardPluginDefinition) => Promise; deleteDashboardPlugin: (ref: ObjRef) => Promise; getDashboardPlugin: (ref: ObjRef, options?: IGetDashboardPluginOptions) => Promise; getDashboardPlugins: (options?: IGetDashboardPluginOptions) => Promise; validateDashboardsExistence: (dashboardRefs: ObjRef[]) => Promise<{ ref: ObjRef; identifier: string; uri: string; }[]>; getFilterViewsForCurrentUser: (dashboard: ObjRef) => Promise; createFilterView: (filterView: IDashboardFilterViewSaveRequest) => Promise; deleteFilterView: (ref: ObjRef) => Promise; setFilterViewAsDefault: (ref: ObjRef, isDefault: boolean) => Promise; private unsetDashboardDefaultFilterView; private updateFilterViewDefaultStatus; private getFilterView; private createFilterContext; getDashboardPermissions: (ref: ObjRef) => Promise; private processFilterContextForCreation; private processDashboardTabsFilterContexts; private processFilterContextUpdate; private updateFilterContext; private cleanupOrphanedTabFilterContexts; private deleteFilterContext; private getFilterContext; private prepareMetadata; } //# sourceMappingURL=index.d.ts.map