import { DeploymentMode } from '../utilities'; export type ModularArchConfig = { deploymentMode: DeploymentMode; URL_PREFIX: string; BFF_API_VERSION: string; mandatoryNamespace?: string; }; export type ModArchBody = { data: T; metadata?: Record; }; export type UserSettings = { userId: string; clusterAdmin?: boolean; }; export type ConfigSettings = { common: CommonConfig; }; export type CommonConfig = { featureFlags: FeatureFlag; }; export type FeatureFlag = { modelRegistry: boolean; }; export type KeyValuePair = { key: string; value: string; }; export type Namespace = { name: string; displayName?: string; }; export type UpdateObjectAtPropAndValue = (propKey: K, propValue: T[K]) => void; export type FetchStateObject = { data: T; loaded: boolean; error?: E; refresh: () => void; }; export declare enum AlertVariant { success = "success", danger = "danger", warning = "warning", info = "info", custom = "custom" } export type Notification = { id?: number; status: AlertVariant; title: string; message?: React.ReactNode; hidden?: boolean; read?: boolean; timestamp: Date; linkUrl?: string; linkLabel?: string; messageText?: string; }; export declare enum NotificationActionTypes { ADD_NOTIFICATION = "add_notification", DELETE_NOTIFICATION = "delete_notification" } export type NotificationAction = { type: NotificationActionTypes.ADD_NOTIFICATION; payload: Notification; } | { type: NotificationActionTypes.DELETE_NOTIFICATION; payload: { id: Notification['id']; }; }; //# sourceMappingURL=common.d.ts.map