// @flow import * as React from "react"; type SetStateAction = S | ((prevState: S) => S); type Dispatch = (value: A) => void; export type Context = {| +setWidths: Dispatch>, +setCalculatedWidth: Dispatch>, +calculatedWidth: number, |}; export type ProviderProps = {| +children: React.Node, |}; declare export var ItineraryProvider: React.ComponentType; declare export function useWidth(): Context;