@@ -106,7 +106,7 @@ declare module '*.avif' {
106106}
107107
108108declare module 'astro:transitions' {
109- type TransitionModule = typeof import ( './dist/transitions/index .js' ) ;
109+ type TransitionModule = typeof import ( './dist/virtual-modules/transitions .js' ) ;
110110 export const slide : TransitionModule [ 'slide' ] ;
111111 export const fade : TransitionModule [ 'fade' ] ;
112112
@@ -115,24 +115,24 @@ declare module 'astro:transitions' {
115115}
116116
117117declare module 'astro:transitions/client' {
118- type TransitionRouterModule = typeof import ( './dist/transitions/ router.js' ) ;
118+ type TransitionRouterModule = typeof import ( './dist/virtual-modules/transitions- router.js' ) ;
119119 export const supportsViewTransitions : TransitionRouterModule [ 'supportsViewTransitions' ] ;
120120 export const transitionEnabledOnThisPage : TransitionRouterModule [ 'transitionEnabledOnThisPage' ] ;
121121 export const navigate : TransitionRouterModule [ 'navigate' ] ;
122- export type Options = import ( './dist/transitions/ router.js' ) . Options ;
122+ export type Options = import ( './dist/virtual-modules/transitions- router.js' ) . Options ;
123123}
124124
125125declare module 'astro:prefetch' {
126- export { prefetch , PrefetchOptions } from 'astro/prefetch' ;
126+ export { prefetch , PrefetchOptions } from 'astro/virtual-modules/ prefetch.js ' ;
127127}
128128
129129declare module 'astro:i18n' {
130- export type GetLocaleOptions = import ( './dist/i18n/index .js' ) . GetLocaleOptions ;
130+ export type GetLocaleOptions = import ( './dist/virtual-modules/i18n .js' ) . GetLocaleOptions ;
131131
132132 /**
133133 * @param {string } locale A locale
134134 * @param {string } [path=""] An optional path to add after the `locale`.
135- * @param {import('./dist/i18n/index .js').GetLocaleOptions } options Customise the generated path
135+ * @param {import('./dist/virtual-modules/i18n .js').GetLocaleOptions } options Customise the generated path
136136 * @return {string }
137137 *
138138 * Returns a _relative_ path with passed locale.
@@ -161,7 +161,7 @@ declare module 'astro:i18n' {
161161 *
162162 * @param {string } locale A locale
163163 * @param {string } [path=""] An optional path to add after the `locale`.
164- * @param {import('./dist/i18n/index .js').GetLocaleOptions } options Customise the generated path
164+ * @param {import('./dist/virtual-modules/i18n .js').GetLocaleOptions } options Customise the generated path
165165 * @return {string }
166166 *
167167 * Returns an absolute path with the passed locale. The behaviour is subject to change based on `site` configuration.
@@ -191,15 +191,15 @@ declare module 'astro:i18n' {
191191
192192 /**
193193 * @param {string } [path=""] An optional path to add after the `locale`.
194- * @param {import('./dist/i18n/index .js').GetLocaleOptions } options Customise the generated path
194+ * @param {import('./dist/virtual-modules/i18n .js').GetLocaleOptions } options Customise the generated path
195195 * @return {string[] }
196196 *
197197 * Works like `getRelativeLocaleUrl` but it emits the relative URLs for ALL locales:
198198 */
199199 export const getRelativeLocaleUrlList : ( path ?: string , options ?: GetLocaleOptions ) => string [ ] ;
200200 /**
201201 * @param {string } [path=""] An optional path to add after the `locale`.
202- * @param {import('./dist/i18n/index .js').GetLocaleOptions } options Customise the generated path
202+ * @param {import('./dist/virtual-modules/i18n .js').GetLocaleOptions } options Customise the generated path
203203 * @return {string[] }
204204 *
205205 * Works like `getAbsoluteLocaleUrl` but it emits the absolute URLs for ALL locales:
@@ -208,7 +208,7 @@ declare module 'astro:i18n' {
208208}
209209
210210declare module 'astro:middleware' {
211- export * from 'astro/middleware/namespace ' ;
211+ export * from 'astro/virtual-modules/middleware.js ' ;
212212}
213213
214214declare module 'astro:components' {
0 commit comments