// (C) 2007-2026 GoodData Corporation
import { FullVisualizationCatalog, fluidLayoutDescriptor, } from "./internal/index.js";
export { clearInsightViewCaches } from "./dataLoaders/index.js";
export * from "./insightView/index.js";
export * from "./automations/index.js";
export { isDrillDownDefinition, fluidLayoutDescriptor, FluidLayoutDescriptor, isEmptyAfm, EmptyAfmSdkError, PluggableVisualizationErrorCodes, addIntersectionFiltersToInsight, DASHBOARD_LAYOUT_DEFAULT_VIS_HEIGHT_PX, INSIGHT_WIDGET_SIZE_INFO_DEFAULT, INSIGHT_WIDGET_SIZE_INFO_NEW_DEFAULT, KPI_WIDGET_SIZE_INFO_DEFAULT, WIDGET_DROPZONE_SIZE_INFO_DEFAULT, RICH_TEXT_WIDGET_SIZE_INFO_DEFAULT, RICH_TEXT_WIDGET_SIZE_INFO_NEW_DEFAULT, VISUALIZATION_SWITCHER_WIDGET_SIZE_INFO_DEFAULT, VISUALIZATION_SWITCHER_WIDGET_SIZE_INFO_NEW_DEFAULT, DASHBOARD_LAYOUT_WIDGET_SIZE_INFO_DEFAULT, MIN_VISUALIZATION_WIDTH, EmbedInsightDialog, isSizeInfo, isSizeInfoDefault, isVisualizationDefaultSizeInfo, } from "./internal/index.js";
// below functions are exported only for sdk-ui-dashboard use to avoid exporting the whole FullVisualizationCatalog
/**
 * @internal
 */
export function getInsightSizeInfo(insight, settings) {
    return FullVisualizationCatalog.forInsight(insight, settings?.enableNewPivotTable ?? true, settings?.enableNewGeoPushpin ?? false).getSizeInfo(insight, fluidLayoutDescriptor, settings);
}
/**
 * @internal
 */
export function getInsightWithAppliedDrillDown(insight, drillEvent, drillDefinition, backendSupportsElementUris, settings) {
    return FullVisualizationCatalog.forInsight(insight, false, settings?.enableNewGeoPushpin ?? false).applyDrillDown(insight, {
        drillDefinition,
        event: drillEvent,
    }, backendSupportsElementUris);
}
/**
 * @internal
 */
export function getInsightVisualizationMeta(insight, settings) {
    return FullVisualizationCatalog.forInsight(insight, settings?.enableNewPivotTable ?? true, settings?.enableNewGeoPushpin ?? false).getMeta(settings);
}
export * from "./internal/components/dialogs/userManagementDialogs/index.js";
export * from "./internal/components/attributeHierarchies/index.js";
export * from "./internal/components/pluggableVisualizations/alerts.js";
export * from "./internal/components/pluggableVisualizations/keyDriverAnalysis.js";
export { NotificationsPanel } from "./notificationsPanel/NotificationsPanel/NotificationsPanel.js";
export { DefaultNotificationsPanel } from "./notificationsPanel/NotificationsPanel/DefaultNotificationsPanel.js";
export { DefaultNotificationsPanelButton } from "./notificationsPanel/NotificationsPanel/DefaultNotificationsPanelButton.js";
export { DefaultNotificationsPanelHeader } from "./notificationsPanel/NotificationsPanel/DefaultNotificationsPanelHeader.js";
export { DefaultNotificationsList } from "./notificationsPanel/NotificationsList/DefaultNotificationsList.js";
export { DefaultNotificationsListEmptyState } from "./notificationsPanel/NotificationsList/DefaultNotificationsListEmptyState.js";
export { DefaultNotificationsListErrorState } from "./notificationsPanel/NotificationsList/DefaultNotificationsListErrorState.js";
export { DefaultNotification } from "./notificationsPanel/Notification/DefaultNotification.js";
export { DefaultNotificationSkeletonItem } from "./notificationsPanel/NotificationsList/DefaultSkeletonItem.js";
/**
 * In order to use React18 for visualization rendering, one has to provide createRoot function.
 * Older React17 render is used by default.

 * @public
 * @deprecated no longer necessary to call this method. It's now no-op for React 18 and 19, kept for backward compatibility.
 */
export function provideCreateRoot(_fn) {
    // eslint-disable-next-line no-console
    console.log("Info: no longer necessary to call provideCreateRoot");
}
//# sourceMappingURL=index.js.map