export type ToggleableSettingsData = {
  disableXmlRpc: boolean;
  forceHttps: boolean;
  maintenanceMode: boolean;
  forceWww: boolean;
  isEligibleWwwRedirect: boolean;
  disableAuthenticationPassword: boolean;
};

export type NonToggleableSettingsData = {
  bypassCode: string;
  currentWpVersion: string;
  newestWpVersion: string;
  phpVersion: string;
};

export type HostingerToolsData = {
  homeUrl: string;
  siteUrl: string;
  pluginUrl: string;
  assetUrl: string;
  translations: { [key: string]: string };
  restBaseUrl: string;
  nonce: string;
  wpVersion: string;
  phpVersion: string;
};

export type SettingsData = NonToggleableSettingsData & ToggleableSettingsData;
