expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
17 lines • 833 B
TypeScript
/**
* Copyright © 2024 650 Industries.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { Options } from '../getRoutes';
import { ExpoRouterServerManifestV1 } from '../getServerManifest';
/**
* Get the server manifest with all dynamic routes loaded with `generateStaticParams`.
* Unlike the `expo-router/src/routes-manifest.ts` method, this requires loading the entire app in-memory, which
* takes substantially longer and requires Metro bundling.
*
* This is used for the production manifest where we pre-render certain pages and should no longer treat them as dynamic.
*/
export declare function getBuildTimeServerManifestAsync(options?: Options): Promise<ExpoRouterServerManifestV1>;
//# sourceMappingURL=getServerManifest.d.ts.map