type CurrentLanguageResult = {
  url: string
  isExternal?: boolean
}

export type LanguageSwitcherData = {
  da?: CurrentLanguageResult
  de?: CurrentLanguageResult
  en?: CurrentLanguageResult
  fi?: CurrentLanguageResult
  no?: CurrentLanguageResult
  sv?: CurrentLanguageResult
}

type LanguageResult = {
  web?: {
    original_url?: string | null
  }
  url: string
}

export type LanguageSwitcherQueryDataRaw = {
  da: LanguageResult | undefined
  de: LanguageResult | undefined
  en: LanguageResult | undefined
  fi: LanguageResult | undefined
  no: LanguageResult | undefined
  sv: LanguageResult | undefined
}
