import React from 'react'; import { History, Location } from './MobileContext'; import { Platform } from './constants'; export interface MobileProviderProps { children?: React.ReactNode; mobile?: boolean; platform?: Platform; useHistory?: () => Omit & { back?: () => void; goBack?: () => void; }; useLocation?: () => Location; } export declare function MobileProvider({ mobile, platform, useHistory, useLocation, children, }: MobileProviderProps): JSX.Element;