UNPKG

astro

Version:

Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

13 lines (12 loc) 583 B
import type { ComponentInstance } from '../../types/astro.js'; import type { SSRManifest } from '../app/types.js'; export interface DefaultRouteParams { instance: ComponentInstance; matchesComponent(filePath: URL): boolean; route: string; component: string; } export declare const DEFAULT_COMPONENTS: string[]; export declare function createDefaultRoutes(manifest: SSRManifest): DefaultRouteParams[]; /** The built-in internal routes for a manifest, derived once per manifest. */ export declare function getDefaultRoutes(manifest: SSRManifest): DefaultRouteParams[];