// TODO: Use the global type export interface RequireContext { /** Return the keys that can be resolved. */ keys(): string[] (id: string): any (id: string): T /** **Unimplemented:** Return the module identifier for a user request. */ resolve(id: string): string /** **Unimplemented:** Readable identifier for the context module. */ id: string } /** The list of input keys will become optional, everything else will remain the same. */ export type PickPartial = Omit & Partial> export type GlobbedRouteImports = Record Promise> export type Endpoint = (req: Request) => Response | string | Object | null export type Options = { ignore?: RegExp[] preserveApiRoutes?: boolean ignoreRequireErrors?: boolean ignoreEntryPoints?: boolean /* Used to simplify testing for toEqual() comparison */ internal_stripLoadRoute?: boolean /* Used to simplify by skipping the generated routes */ skipGenerated?: boolean importMode?: string platformRoutes?: boolean platform?: string }