8 lines
482 B
Plaintext
8 lines
482 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;
|
||
|
/**
|
||
|
* This pipeline hook attaches a `RouteData` object to the `Request`
|
||
|
*/
|
||
|
export declare const i18nPipelineHook: PipelineHookFunction;
|