declare module 'gatsby-plugin-intl' { import * as gatsby from 'gatsby'; import React from 'react'; export * from 'react-intl'; export class Link extends gatsby.Link {} export const navigate: typeof gatsby.navigate; export const changeLocale: (language: string, to?: string) => void; import { IntlShape } from "react-intl"; interface GatsbyPluginIntlShape extends IntlShape { language: string; languages: string[]; routed: boolean; originalPath: string; redirect: boolean; } export const IntlContextProvider: React.Provider; export const IntlContextConsumer: React.Consumer; }