import React from 'react'; import { registerPath } from './Container'; import { IPreview, IRoute, IRouteWithKey } from './context'; export { registerPath }; export interface DetailEvents { [type: string]: (...args: any[]) => void; } export declare const useDetail: () => [DetailContainerProps]; export interface DetailContainerProps { descriptionChanged: boolean; setDescriptionChanged: (changed: boolean) => void; visible: boolean; routes: IRouteWithKey[]; match: IRouteWithKey; open: (route: IRoute) => void; push: (nextRoute: IRoute) => void; pop: () => void; close: () => void; clear: () => void; eventsMap: Map; fullPage?: boolean; filePreview?: IPreview; setFilePreview: (filePreview?: IPreview) => void; hidden: boolean; setHidden: (hidden: boolean) => void; } declare const _default: React.FunctionComponent; export default _default;