export declare type Route<
/**
* Route string path
*/
R extends string> = {
routeName: R;
params?: object;
};
declare type GenericRoute = {
/**
* React navigation route or page name for next.js
*/
routeName: string;
/**
* (optional) Dictionary that will be accessed via `getParams` in the target screen.
*/
params?: object;
/**
* Dictionary that will only be used for web:
*
* @example
*
* The following will use the `home` route in react navigation.
*
* However, it will use the `pages/index.tsx` file for next. Also, it will show up as `domain.com/inbox` in the address bar.
*
* ```es6
* export default function Button() {
* return (
*
*
= {
params: P;
};
export declare type WebRoute