import { type IntlShape } from "react-intl"; import { type IAlertAnomalyDetectionGranularity, type IAlertAnomalyDetectionSensitivity, type IAlertComparisonOperator, type IAlertRelativeArithmeticOperator, type IAlertRelativeOperator, type IAutomationMetadataObject, type IAutomationRecipient, type IExportDefinitionMetadataObject } from "@gooddata/sdk-model"; import { type AutomationsType } from "./types.js"; export declare const getWorkspaceId: (automation: IAutomationMetadataObject, fallbackWorkspaceId: string | undefined) => string | undefined; export declare const defaultEditAutomation: (automation: IAutomationMetadataObject, workspaceId: string | undefined, dashboardId: string | undefined) => void; export declare const getRecipientName: (recipient: IAutomationRecipient) => string; export declare const getNextRunFromCron: (cron: string | undefined) => string | undefined; export declare const getFirstAutomationExportDefinition: (automation: IAutomationMetadataObject) => IExportDefinitionMetadataObject | undefined; export declare const getWidgetId: (automation: IAutomationMetadataObject, type: AutomationsType) => string; export declare const getWidgetName: (automation: IAutomationMetadataObject, type: AutomationsType) => string; export declare const isRequestHeaderTooLargeError: (error: unknown) => boolean; /** * @internal */ export declare const getComparisonOperatorTitle: (operator: IAlertComparisonOperator, intl: IntlShape) => string; export declare function getAnomalyDetectionOperatorTitle(title: string, _sensitivity: IAlertAnomalyDetectionSensitivity, _granularity: IAlertAnomalyDetectionGranularity, intl: IntlShape): string; /** * @internal */ export declare const getRelativeOperatorTitle: (operator: IAlertRelativeOperator, art: IAlertRelativeArithmeticOperator, intl: IntlShape) => string; //# sourceMappingURL=utils.d.ts.map