astro-ghostcms/.pnpm-store/v3/files/b9/917857e91537392c6536af4b5c0...

8 lines
482 B
Plaintext
Raw Normal View History

2024-02-14 14:10:47 +00:00
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;
/**
* This pipeline hook attaches a `RouteData` object to the `Request`
*/
export declare const i18nPipelineHook: PipelineHookFunction;