import { AlertKey, AlertType } from "./enums"; import { AnyNonFunction } from "../common/types"; import { ProductPriceCurrency } from "../product/enums"; export type AlertPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right"; export type AlertOptions = { shouldShowDismiss?: boolean; type: AlertType; autoClose?: number | false; closeOnClick?: boolean; position?: AlertPosition; }; export type ContractCreateSuccessAlertProps = { contractName: string; }; export type ContractEditSuccessAlertProps = { contractName: string; }; export type ContractRemoveSuccessAlertProps = { contractName: string; }; export type ContractGroupCreateSuccessAlertProps = { groupName: string; }; export type ContractGroupUpdateSuccessAlertProps = { groupName: string; }; export type ContractGroupRemoveSuccessAlertProps = { groupName: string; }; export type BackendErrorMessageAlertProps = { errorMessage: string; }; export type WalletTopUpSuccessAlertProps = { amount: number; currency: ProductPriceCurrency; }; export type UTMCodesSuccessAlertProps = { type: "save" | "reset"; }; export type CampaignAISmartfillFailedAlertProps = {}; export type ProductSearchFiltersAISmartfillFailedAlertProps = {}; export type ButtonCopySuccessAlertProps = {}; export type CampaignOrderSuccessAlertProps = {}; export type CampaignOrderFailAlertProps = { errorMessage?: string; }; export type CampaignCopySuccessAlertProps = {}; export type CampaignCopyProductsContractsDeletedWarningAlertProps = {}; export type CampaignEditProductsContractsNotFoundAlertProps = {}; export type CampaignTakeOfflineSuccessAlertProps = {}; export type ProductAddToBasketSuccessAlertProps = {}; export type ProductRemoveFromBasketWarningAlertProps = {}; export type AlertProps = AnyNonFunction; export type Alert = { id: string; key: AlertKey; props: AlertProps | undefined; options: AlertOptions; }; //# sourceMappingURL=types.d.ts.map