expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
13 lines • 712 B
TypeScript
import { RedirectConfig } from './getRoutesCore';
import type { StoreRedirects } from './global-state/router-store';
export declare function applyRedirects(url: string | null | undefined, redirects: StoreRedirects[] | undefined): string | undefined | null;
export declare function getRedirectModule(route: string): {
default: () => import("react").CElement<{
href: string;
}, import("react").Component<{
href: string;
}, any, any>>;
};
export declare function convertRedirect(path: string, config: RedirectConfig): string;
export declare function mergeVariablesWithPath(path: string, params: Record<string, string | string[]>): string;
//# sourceMappingURL=getRoutesRedirects.d.ts.map