import { type DashboardCommands } from "../commands/index.js";
import { type DashboardEventType } from "../events/base.js";
/**
 * @internal
 */
export type CommandProcessingStatus = "running" | "success" | "error";
/**
 * @internal
 */
export declare const useDashboardCommandProcessing: <TCommand extends DashboardCommands, TCommandCreatorArgs extends any[], TSuccessEventType extends DashboardEventType, TErrorEventType extends DashboardEventType>({ commandCreator, successEvent, errorEvent, onSuccess, onError, onBeforeRun, }: {
    commandCreator: (...args: TCommandCreatorArgs) => TCommand;
    successEvent: TSuccessEventType;
    errorEvent: TErrorEventType;
    onSuccess?: ((event: Extract<import("../events/attributeHierarchies.js").ICreateAttributeHierarchyRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/lab.js").ICreateInsightRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/alerts.js").IDashboardAlertCreated, {
        type: TSuccessEventType;
    }> | Extract<import("../events/alerts.js").IDashboardAlertSaved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").IDashboardAttributeFilterAdded, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").IDashboardAttributeFilterMoved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").IDashboardAttributeFilterParentChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").IDashboardAttributeFilterRemoved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").IDashboardAttributeSelectionModeChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").IDashboardAttributeTitleChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/scheduledEmail.js").IDashboardAutomationsRefreshed, {
        type: TSuccessEventType;
    }> | Extract<import("../events/general.js").IDashboardCommandFailed<any>, {
        type: TSuccessEventType;
    }> | Extract<import("../events/general.js").IDashboardCommandRejected, {
        type: TSuccessEventType;
    }> | Extract<import("../events/general.js").IDashboardCommandStarted<any>, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillDownRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillDownResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToAttributeUrlRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToAttributeUrlResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToCustomUrlRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToCustomUrlResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToDashboardRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToDashboardResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToInsightRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToInsightResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToLegacyDashboardRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToLegacyDashboardResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillableItemsChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToExcelRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToExcelResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToImageRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToImageResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToPdfPresentationRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToPdfPresentationResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToPdfRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToPdfResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToPptPresentationRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToPptPresentationResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardIgnoreExecutionTimestampChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetDescriptionChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetDrillsModified, {
        type: TSuccessEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetDrillsRemoved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetExportRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetExportResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetFilterSettingsChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetHeaderChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetInsightSwitched, {
        type: TSuccessEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetRefreshed, {
        type: TSuccessEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetVisConfigurationChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetVisPropertiesChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardKeyDriverAnalysisRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/drill.js").IDashboardKeyDriverAnalysisResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetComparisonChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetConfigurationChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetDescriptionChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetDrillRemoved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetDrillSet, {
        type: TSuccessEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetFilterSettingsChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetHeaderChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetMeasureChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionAdded, {
        type: TSuccessEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionHeaderChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionItemMoved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionItemMovedToNewSection, {
        type: TSuccessEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionItemRemoved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionItemReplaced, {
        type: TSuccessEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionItemsAdded, {
        type: TSuccessEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionMoved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionRemoved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterAdded, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterConditionChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterConfigModeChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterDimensionalityChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterMoved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterRemoved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterTitleChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/parameters.js").IDashboardParametersSelectionReset, {
        type: TSuccessEventType;
    }> | Extract<import("../events/general.js").IDashboardQueryCompleted<any, any>, {
        type: TSuccessEventType;
    }> | Extract<import("../events/general.js").IDashboardQueryFailed, {
        type: TSuccessEventType;
    }> | Extract<import("../events/general.js").IDashboardQueryRejected, {
        type: TSuccessEventType;
    }> | Extract<import("../events/general.js").IDashboardQueryStarted, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardRenamed, {
        type: TSuccessEventType;
    }> | Extract<import("../events/renderMode.js").IDashboardRenderModeChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/richText.js").IDashboardRichTextWidgetContentChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/richText.js").IDashboardRichTextWidgetFilterSettingsChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/scheduledEmail.js").IDashboardScheduledEmailCreated, {
        type: TSuccessEventType;
    }> | Extract<import("../events/scheduledEmail.js").IDashboardScheduledEmailSaved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/tabs.js").IDashboardTabCreated, {
        type: TSuccessEventType;
    }> | Extract<import("../events/tabs.js").IDashboardTabDeleted, {
        type: TSuccessEventType;
    }> | Extract<import("../events/tabs.js").IDashboardTabRenamed, {
        type: TSuccessEventType;
    }> | Extract<import("../events/tabs.js").IDashboardTabRenamingCanceled, {
        type: TSuccessEventType;
    }> | Extract<import("../events/tabs.js").IDashboardTabRenamingStarted, {
        type: TSuccessEventType;
    }> | Extract<import("../events/tabs.js").IDashboardTabSwitched, {
        type: TSuccessEventType;
    }> | Extract<import("../events/userInteraction.js").IDashboardUserInteractionTriggered, {
        type: TSuccessEventType;
    }> | Extract<import("../events/visualizationSwitcher.js").IDashboardVisualizationSwitcherWidgetVisualizationAdded, {
        type: TSuccessEventType;
    }> | Extract<import("../events/visualizationSwitcher.js").IDashboardVisualizationSwitcherWidgetVisualizationsUpdated, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardWasReset, {
        type: TSuccessEventType;
    }> | Extract<import("../events/widget.js").IDashboardWidgetExecutionFailed, {
        type: TSuccessEventType;
    }> | Extract<import("../events/widget.js").IDashboardWidgetExecutionStarted, {
        type: TSuccessEventType;
    }> | Extract<import("../events/widget.js").IDashboardWidgetExecutionSucceeded, {
        type: TSuccessEventType;
    }> | Extract<import("../events/attributeHierarchies.js").IDeleteAttributeHierarchyRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/showWidgetAsTable.js").IShowWidgetAsTableSet, {
        type: TSuccessEventType;
    }> | Extract<import("../events/render.js").DashboardAsyncRenderRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/render.js").DashboardAsyncRenderResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").DashboardAttributeFilterItemSelectionReplaced, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").DashboardAttributeFilterSelectionChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").DashboardCopySaved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").DashboardDateFilterSelectionChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").DashboardDeinitialized, {
        type: TSuccessEventType;
    }> | Extract<import("../events/filters.js").DashboardFilterContextChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").DashboardInitialized, {
        type: TSuccessEventType;
    }> | Extract<import("../events/render.js").DashboardRenderRequested, {
        type: TSuccessEventType;
    }> | Extract<import("../events/render.js").DashboardRenderResolved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").DashboardSaved, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").DashboardSharingChanged, {
        type: TSuccessEventType;
    }> | Extract<import("../events/dashboard.js").DateFilterValidationFailed, {
        type: TSuccessEventType;
    }>) => void) | undefined;
    onError?: ((event: Extract<import("../events/attributeHierarchies.js").ICreateAttributeHierarchyRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/lab.js").ICreateInsightRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/alerts.js").IDashboardAlertCreated, {
        type: TErrorEventType;
    }> | Extract<import("../events/alerts.js").IDashboardAlertSaved, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").IDashboardAttributeFilterAdded, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").IDashboardAttributeFilterMoved, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").IDashboardAttributeFilterParentChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").IDashboardAttributeFilterRemoved, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").IDashboardAttributeSelectionModeChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").IDashboardAttributeTitleChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/scheduledEmail.js").IDashboardAutomationsRefreshed, {
        type: TErrorEventType;
    }> | Extract<import("../events/general.js").IDashboardCommandFailed<any>, {
        type: TErrorEventType;
    }> | Extract<import("../events/general.js").IDashboardCommandRejected, {
        type: TErrorEventType;
    }> | Extract<import("../events/general.js").IDashboardCommandStarted<any>, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillDownRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillDownResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToAttributeUrlRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToAttributeUrlResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToCustomUrlRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToCustomUrlResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToDashboardRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToDashboardResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToInsightRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToInsightResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToLegacyDashboardRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillToLegacyDashboardResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardDrillableItemsChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToExcelRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToExcelResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToImageRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToImageResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToPdfPresentationRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToPdfPresentationResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToPdfRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToPdfResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToPptPresentationRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardExportToPptPresentationResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardIgnoreExecutionTimestampChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetDescriptionChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetDrillsModified, {
        type: TErrorEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetDrillsRemoved, {
        type: TErrorEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetExportRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetExportResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetFilterSettingsChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetHeaderChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetInsightSwitched, {
        type: TErrorEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetRefreshed, {
        type: TErrorEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetVisConfigurationChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/insight.js").IDashboardInsightWidgetVisPropertiesChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardKeyDriverAnalysisRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/drill.js").IDashboardKeyDriverAnalysisResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetComparisonChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetConfigurationChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetDescriptionChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetDrillRemoved, {
        type: TErrorEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetDrillSet, {
        type: TErrorEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetFilterSettingsChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetHeaderChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/kpi.js").IDashboardKpiWidgetMeasureChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionAdded, {
        type: TErrorEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionHeaderChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionItemMoved, {
        type: TErrorEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionItemMovedToNewSection, {
        type: TErrorEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionItemRemoved, {
        type: TErrorEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionItemReplaced, {
        type: TErrorEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionItemsAdded, {
        type: TErrorEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionMoved, {
        type: TErrorEventType;
    }> | Extract<import("../events/layout.js").IDashboardLayoutSectionRemoved, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterAdded, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterConditionChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterConfigModeChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterDimensionalityChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterMoved, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterRemoved, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").IDashboardMeasureValueFilterTitleChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/parameters.js").IDashboardParametersSelectionReset, {
        type: TErrorEventType;
    }> | Extract<import("../events/general.js").IDashboardQueryCompleted<any, any>, {
        type: TErrorEventType;
    }> | Extract<import("../events/general.js").IDashboardQueryFailed, {
        type: TErrorEventType;
    }> | Extract<import("../events/general.js").IDashboardQueryRejected, {
        type: TErrorEventType;
    }> | Extract<import("../events/general.js").IDashboardQueryStarted, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardRenamed, {
        type: TErrorEventType;
    }> | Extract<import("../events/renderMode.js").IDashboardRenderModeChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/richText.js").IDashboardRichTextWidgetContentChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/richText.js").IDashboardRichTextWidgetFilterSettingsChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/scheduledEmail.js").IDashboardScheduledEmailCreated, {
        type: TErrorEventType;
    }> | Extract<import("../events/scheduledEmail.js").IDashboardScheduledEmailSaved, {
        type: TErrorEventType;
    }> | Extract<import("../events/tabs.js").IDashboardTabCreated, {
        type: TErrorEventType;
    }> | Extract<import("../events/tabs.js").IDashboardTabDeleted, {
        type: TErrorEventType;
    }> | Extract<import("../events/tabs.js").IDashboardTabRenamed, {
        type: TErrorEventType;
    }> | Extract<import("../events/tabs.js").IDashboardTabRenamingCanceled, {
        type: TErrorEventType;
    }> | Extract<import("../events/tabs.js").IDashboardTabRenamingStarted, {
        type: TErrorEventType;
    }> | Extract<import("../events/tabs.js").IDashboardTabSwitched, {
        type: TErrorEventType;
    }> | Extract<import("../events/userInteraction.js").IDashboardUserInteractionTriggered, {
        type: TErrorEventType;
    }> | Extract<import("../events/visualizationSwitcher.js").IDashboardVisualizationSwitcherWidgetVisualizationAdded, {
        type: TErrorEventType;
    }> | Extract<import("../events/visualizationSwitcher.js").IDashboardVisualizationSwitcherWidgetVisualizationsUpdated, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").IDashboardWasReset, {
        type: TErrorEventType;
    }> | Extract<import("../events/widget.js").IDashboardWidgetExecutionFailed, {
        type: TErrorEventType;
    }> | Extract<import("../events/widget.js").IDashboardWidgetExecutionStarted, {
        type: TErrorEventType;
    }> | Extract<import("../events/widget.js").IDashboardWidgetExecutionSucceeded, {
        type: TErrorEventType;
    }> | Extract<import("../events/attributeHierarchies.js").IDeleteAttributeHierarchyRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/showWidgetAsTable.js").IShowWidgetAsTableSet, {
        type: TErrorEventType;
    }> | Extract<import("../events/render.js").DashboardAsyncRenderRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/render.js").DashboardAsyncRenderResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").DashboardAttributeFilterItemSelectionReplaced, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").DashboardAttributeFilterSelectionChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").DashboardCopySaved, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").DashboardDateFilterSelectionChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").DashboardDeinitialized, {
        type: TErrorEventType;
    }> | Extract<import("../events/filters.js").DashboardFilterContextChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").DashboardInitialized, {
        type: TErrorEventType;
    }> | Extract<import("../events/render.js").DashboardRenderRequested, {
        type: TErrorEventType;
    }> | Extract<import("../events/render.js").DashboardRenderResolved, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").DashboardSaved, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").DashboardSharingChanged, {
        type: TErrorEventType;
    }> | Extract<import("../events/dashboard.js").DateFilterValidationFailed, {
        type: TErrorEventType;
    }>) => void) | undefined;
    onBeforeRun?: ((command: TCommand) => void) | undefined;
}) => {
    run: (...args: TCommandCreatorArgs) => void;
    status?: CommandProcessingStatus | undefined;
};
//# sourceMappingURL=useDashboardCommandProcessing.d.ts.map