export type XmlGeneratorMode = "simple" | "advanced";

export interface XmlCategory {
  name: string;
  fieldsText: string;
}

export interface XmlGeneratorConfig {
  baseNamespace: string;
  mode: XmlGeneratorMode;
  categories: Record<string, XmlCategory>;
  currentCategory: string;
}

export interface GeneratedOutput {
  xml: string;
  xpaths: string;
}

export interface SavedXmlConfig {
  id: string;
  label: string;
  config: XmlGeneratorConfig;
  createdAt: string;
  updatedAt: string;
}
