astro-ghostcms/.pnpm-store/v3/files/af/98060325c3a6e981279258a19b6...

8 lines
494 B
Plaintext

import type { MiddlewareHandler, SSRManifest } from '../@types/astro.js';
import type { PipelineHookFunction } from '../core/pipeline.js';
export declare function createI18nMiddleware(i18n: SSRManifest['i18n'], base: SSRManifest['base'], trailingSlash: SSRManifest['trailingSlash'], buildFormat: SSRManifest['buildFormat']): MiddlewareHandler | undefined;
/**
* This pipeline hook attaches a `RouteData` object to the `Request`
*/
export declare const i18nPipelineHook: PipelineHookFunction;