import { ComponentConfigOfExport } from './template.types';

interface FilterConfig {
  callbackKeys: string;
  content: string;
  id: number;
  name: string;
  type: 'mobile';
}
interface ScreenConfig {
  assets: string;
  components: string;
  config: string;
  id: number;
  isShowAlert: number;
  isShowLoading: number;
  layers: string;
  lines: string;
  mobileId: number;
  name: string;
  panelId: null | number;
  panels: string;
  thumb: null | string;
  uniqueTag: string;
}
export interface InteractionExportResponse {
  info: {
    version: string;
  };
  mapConfig: {
    componentMap: any[];
    panelMap: any[];
    screenMap: any[];
    stateMap: any[];
  };
  mobileConfig: {
    config: string;
    name: string;
    pages: string;
  };
  pagesConfig: {
    componentsConfig: ComponentConfigOfExport[];
    constantConfig: any[];
    filterConfig: FilterConfig[];
    panelConfig: any[];
    screenConfig: ScreenConfig;
    sourceConfig: any[];
  }[];
}
