import * as React from 'react'; import { History as IHistory } from 'history'; export declare function useHistory(): IHistory; export interface HistoryProps { children: (history: IHistory) => React.ReactNode; } export declare namespace History { type Props = HistoryProps; } export declare function History(props: HistoryProps): JSX.Element;