import { ReactElement } from 'react'; interface Route { el: ReactElement; next?: string; prev?: string; } interface SimpleRouterProps { initialRouteName: string; routes: Record; onClose: () => void; } export declare function useSimpleRouter(): { currentRouteName: string; prevRouteName?: string | undefined; goNext?: (() => void) | undefined; goBack?: (() => void) | undefined; goTo: (routeName: string) => void; onClose: () => void; } | null; export declare function SimpleRouter({ routes, onClose, initialRouteName }: SimpleRouterProps): import("react/jsx-runtime").JSX.Element; export {};