import React from 'react'; import { ILocation, IMatch, IRoute, LocationState, MatchParams } from '../Router'; export declare type Modal = { remove: () => void; } & ILocation & IMatch
& R; export declare const ModalContext: React.Context | null | undefined>; export declare type ModalProviderProps = { location: ILocation; match: IMatch; route: IRoute; }; export declare const ModalProvider: React.FC;