import {
  OrgUIConfig,
  PageVariantConfig,
  WidgetConfig,
  WidgetMountingConfig,
} from 'src/contexts/types';
import { Override } from '../utils/overrides';

export interface FrontendConfig {
  merchant_override_css?: string;
  pageVariants?: PageVariantConfig[];
  mountingConfigs?: Record<string, WidgetMountingConfig>;
  widgetConfigs?: Record<string, WidgetConfig>;
  uiConfigs?: Omit<OrgUIConfig, 'merchantOverrideCss'>;
}

export type FrontendConfigOverrides = Override<FrontendConfig>;

export {};
