astro 4.0.4 → 4.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/astro-jsx.d.ts +8 -2
  2. package/astro.js +1 -1
  3. package/components/Picture.astro +1 -1
  4. package/dist/assets/build/generate.js +2 -1
  5. package/dist/assets/endpoint/config.d.ts +2 -0
  6. package/dist/assets/endpoint/config.js +12 -0
  7. package/dist/assets/endpoint/generic.js +2 -1
  8. package/dist/assets/endpoint/node.js +2 -1
  9. package/dist/assets/internal.d.ts +2 -6
  10. package/dist/assets/internal.js +12 -31
  11. package/dist/assets/services/service.js +2 -1
  12. package/dist/assets/utils/imageKind.d.ts +3 -0
  13. package/dist/assets/utils/imageKind.js +10 -0
  14. package/dist/assets/utils/index.d.ts +2 -0
  15. package/dist/assets/utils/index.js +17 -0
  16. package/dist/assets/utils/remotePattern.d.ts +2 -0
  17. package/dist/assets/utils/remotePattern.js +11 -0
  18. package/dist/assets/utils/transformToPath.js +1 -1
  19. package/dist/assets/vite-plugin-assets.js +1 -1
  20. package/dist/core/app/index.js +19 -7
  21. package/dist/core/build/index.js +1 -1
  22. package/dist/core/build/static-build.js +1 -1
  23. package/dist/core/config/schema.d.ts +360 -360
  24. package/dist/core/constants.js +1 -1
  25. package/dist/core/create-vite.js +2 -0
  26. package/dist/core/dev/container.js +1 -1
  27. package/dist/core/dev/dev.js +1 -1
  28. package/dist/core/errors/errors-data.d.ts +6 -0
  29. package/dist/core/errors/errors-data.js +12 -2
  30. package/dist/core/messages.js +2 -2
  31. package/dist/core/routing/manifest/create.js +1 -1
  32. package/dist/integrations/astroFeaturesValidation.js +7 -7
  33. package/dist/transitions/router.js +7 -5
  34. package/dist/vite-plugin-astro-server/error.d.ts +7 -0
  35. package/dist/vite-plugin-astro-server/error.js +24 -0
  36. package/dist/vite-plugin-astro-server/plugin.js +33 -7
  37. package/dist/vite-plugin-astro-server/request.js +3 -16
  38. package/dist/vite-plugin-fileurl/index.d.ts +2 -0
  39. package/dist/vite-plugin-fileurl/index.js +14 -0
  40. package/package.json +2 -2
@@ -57,12 +57,12 @@ export declare const AstroConfigSchema: z.ZodObject<{
57
57
  redirects: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
58
58
  inlineStylesheets: z.ZodDefault<z.ZodOptional<z.ZodEnum<["always", "auto", "never"]>>>;
59
59
  }, "strip", z.ZodTypeAny, {
60
- redirects: boolean;
61
60
  format: "file" | "directory";
62
61
  client: URL;
63
62
  server: URL;
64
63
  assets: string;
65
64
  serverEntry: string;
65
+ redirects: boolean;
66
66
  inlineStylesheets: "always" | "never" | "auto";
67
67
  assetsPrefix?: string | undefined;
68
68
  }, {
@@ -122,8 +122,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
122
122
  entrypoint: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"astro/assets/services/sharp">, z.ZodLiteral<"astro/assets/services/squoosh">, z.ZodString]>>;
123
123
  config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
124
124
  }, "strip", z.ZodTypeAny, {
125
- config: Record<string, any>;
126
125
  entrypoint: string;
126
+ config: Record<string, any>;
127
127
  }, {
128
128
  entrypoint?: string | undefined;
129
129
  config?: Record<string, any> | undefined;
@@ -147,8 +147,8 @@ export declare const AstroConfigSchema: z.ZodObject<{
147
147
  }>, "many">>;
148
148
  }, "strip", z.ZodTypeAny, {
149
149
  service: {
150
- config: Record<string, any>;
151
150
  entrypoint: string;
151
+ config: Record<string, any>;
152
152
  };
153
153
  domains: string[];
154
154
  remotePatterns: {
@@ -307,42 +307,30 @@ export declare const AstroConfigSchema: z.ZodObject<{
307
307
  }>>;
308
308
  legacy: z.ZodDefault<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
309
309
  }, "strip", z.ZodTypeAny, {
310
- build: {
311
- redirects: boolean;
312
- format: "file" | "directory";
313
- client: URL;
314
- server: URL;
315
- assets: string;
316
- serverEntry: string;
317
- inlineStylesheets: "always" | "never" | "auto";
318
- assetsPrefix?: string | undefined;
319
- };
320
- markdown: {
321
- syntaxHighlight: false | "shiki" | "prism";
322
- shikiConfig: {
323
- langs: import("shikiji/dist/types/langs.mjs").p[];
324
- theme: ShikiTheme & (ShikiTheme | undefined);
325
- experimentalThemes: Record<string, ShikiTheme>;
326
- wrap: boolean | null;
310
+ image: {
311
+ service: {
312
+ entrypoint: string;
313
+ config: Record<string, any>;
327
314
  };
328
- remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
329
- rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
330
- remarkRehype: import("mdast-util-to-hast").Options;
331
- gfm: boolean;
332
- smartypants: boolean;
315
+ domains: string[];
316
+ remotePatterns: {
317
+ protocol?: string | undefined;
318
+ hostname?: string | undefined;
319
+ port?: string | undefined;
320
+ pathname?: string | undefined;
321
+ }[];
322
+ endpoint?: string | undefined;
333
323
  };
334
- vite: ViteUserConfig;
335
- redirects: Record<string, string | {
336
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
337
- destination: string;
338
- }>;
339
- output: "server" | "static" | "hybrid";
340
324
  server: {
341
325
  host: string | boolean;
342
326
  port: number;
343
327
  open: boolean;
344
328
  headers?: OutgoingHttpHeaders | undefined;
345
329
  };
330
+ redirects: Record<string, string | {
331
+ status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
332
+ destination: string;
333
+ }>;
346
334
  root: URL;
347
335
  srcDir: URL;
348
336
  publicDir: URL;
@@ -351,6 +339,7 @@ export declare const AstroConfigSchema: z.ZodObject<{
351
339
  compressHTML: boolean;
352
340
  base: string;
353
341
  trailingSlash: "ignore" | "always" | "never";
342
+ output: "server" | "static" | "hybrid";
354
343
  scopedStyleStrategy: "where" | "class" | "attribute";
355
344
  integrations: {
356
345
  name: string;
@@ -358,23 +347,34 @@ export declare const AstroConfigSchema: z.ZodObject<{
358
347
  [k: string]: unknown;
359
348
  };
360
349
  }[];
361
- image: {
362
- service: {
363
- config: Record<string, any>;
364
- entrypoint: string;
365
- };
366
- domains: string[];
367
- remotePatterns: {
368
- protocol?: string | undefined;
369
- hostname?: string | undefined;
370
- port?: string | undefined;
371
- pathname?: string | undefined;
372
- }[];
373
- endpoint?: string | undefined;
350
+ build: {
351
+ format: "file" | "directory";
352
+ client: URL;
353
+ server: URL;
354
+ assets: string;
355
+ serverEntry: string;
356
+ redirects: boolean;
357
+ inlineStylesheets: "always" | "never" | "auto";
358
+ assetsPrefix?: string | undefined;
374
359
  };
375
360
  devToolbar: {
376
361
  enabled: boolean;
377
362
  };
363
+ markdown: {
364
+ syntaxHighlight: false | "shiki" | "prism";
365
+ shikiConfig: {
366
+ langs: import("shikiji/dist/types/langs.mjs").p[];
367
+ theme: ShikiTheme & (ShikiTheme | undefined);
368
+ experimentalThemes: Record<string, ShikiTheme>;
369
+ wrap: boolean | null;
370
+ };
371
+ remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
372
+ rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
373
+ remarkRehype: import("mdast-util-to-hast").Options;
374
+ gfm: boolean;
375
+ smartypants: boolean;
376
+ };
377
+ vite: ViteUserConfig;
378
378
  experimental: {
379
379
  optimizeHoistedScript: boolean;
380
380
  contentCollectionCache: boolean;
@@ -488,57 +488,62 @@ export declare const AstroConfigSchema: z.ZodObject<{
488
488
  }>;
489
489
  export type AstroConfigType = z.infer<typeof AstroConfigSchema>;
490
490
  export declare function createRelativeSchema(cmd: string, fileProtocolRoot: string): z.ZodEffects<z.ZodEffects<z.ZodObject<{
491
- markdown: z.ZodDefault<z.ZodObject<{
492
- syntaxHighlight: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">, z.ZodLiteral<false>]>>;
493
- shikiConfig: z.ZodDefault<z.ZodObject<{
494
- langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<import("shikiji/dist/types/langs.mjs").p, z.ZodTypeDef, import("shikiji/dist/types/langs.mjs").p>, "many">, import("shikiji/dist/types/langs.mjs").p[], import("shikiji/dist/types/langs.mjs").p[]>>;
495
- theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light", ...("css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light")[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>;
496
- experimentalThemes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<["css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light", ...("css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light")[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>>;
497
- wrap: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
491
+ image: z.ZodDefault<z.ZodObject<{
492
+ endpoint: z.ZodOptional<z.ZodString>;
493
+ service: z.ZodDefault<z.ZodObject<{
494
+ entrypoint: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"astro/assets/services/sharp">, z.ZodLiteral<"astro/assets/services/squoosh">, z.ZodString]>>;
495
+ config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
498
496
  }, "strip", z.ZodTypeAny, {
499
- langs: import("shikiji/dist/types/langs.mjs").p[];
500
- theme: ShikiTheme & (ShikiTheme | undefined);
501
- experimentalThemes: Record<string, ShikiTheme>;
502
- wrap: boolean | null;
497
+ entrypoint: string;
498
+ config: Record<string, any>;
503
499
  }, {
504
- langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
505
- theme?: ShikiTheme | undefined;
506
- experimentalThemes?: Record<string, ShikiTheme> | undefined;
507
- wrap?: boolean | null | undefined;
500
+ entrypoint?: string | undefined;
501
+ config?: Record<string, any> | undefined;
508
502
  }>>;
509
- remarkPlugins: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodAny], null>, z.ZodType<RemarkPlugin, z.ZodTypeDef, RemarkPlugin>, z.ZodTuple<[z.ZodType<RemarkPlugin, z.ZodTypeDef, RemarkPlugin>, z.ZodAny], null>]>, "many">>;
510
- rehypePlugins: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodAny], null>, z.ZodType<RehypePlugin, z.ZodTypeDef, RehypePlugin>, z.ZodTuple<[z.ZodType<RehypePlugin, z.ZodTypeDef, RehypePlugin>, z.ZodAny], null>]>, "many">>;
511
- remarkRehype: z.ZodDefault<z.ZodOptional<z.ZodType<import("mdast-util-to-hast").Options, z.ZodTypeDef, import("mdast-util-to-hast").Options>>>;
512
- gfm: z.ZodDefault<z.ZodBoolean>;
513
- smartypants: z.ZodDefault<z.ZodBoolean>;
503
+ domains: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
504
+ remotePatterns: z.ZodDefault<z.ZodArray<z.ZodObject<{
505
+ protocol: z.ZodOptional<z.ZodString>;
506
+ hostname: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
507
+ port: z.ZodOptional<z.ZodString>;
508
+ pathname: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
509
+ }, "strip", z.ZodTypeAny, {
510
+ protocol?: string | undefined;
511
+ hostname?: string | undefined;
512
+ port?: string | undefined;
513
+ pathname?: string | undefined;
514
+ }, {
515
+ protocol?: string | undefined;
516
+ hostname?: string | undefined;
517
+ port?: string | undefined;
518
+ pathname?: string | undefined;
519
+ }>, "many">>;
514
520
  }, "strip", z.ZodTypeAny, {
515
- syntaxHighlight: false | "shiki" | "prism";
516
- shikiConfig: {
517
- langs: import("shikiji/dist/types/langs.mjs").p[];
518
- theme: ShikiTheme & (ShikiTheme | undefined);
519
- experimentalThemes: Record<string, ShikiTheme>;
520
- wrap: boolean | null;
521
+ service: {
522
+ entrypoint: string;
523
+ config: Record<string, any>;
521
524
  };
522
- remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
523
- rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
524
- remarkRehype: import("mdast-util-to-hast").Options;
525
- gfm: boolean;
526
- smartypants: boolean;
525
+ domains: string[];
526
+ remotePatterns: {
527
+ protocol?: string | undefined;
528
+ hostname?: string | undefined;
529
+ port?: string | undefined;
530
+ pathname?: string | undefined;
531
+ }[];
532
+ endpoint?: string | undefined;
527
533
  }, {
528
- syntaxHighlight?: false | "shiki" | "prism" | undefined;
529
- shikiConfig?: {
530
- langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
531
- theme?: ShikiTheme | undefined;
532
- experimentalThemes?: Record<string, ShikiTheme> | undefined;
533
- wrap?: boolean | null | undefined;
534
+ endpoint?: string | undefined;
535
+ service?: {
536
+ entrypoint?: string | undefined;
537
+ config?: Record<string, any> | undefined;
534
538
  } | undefined;
535
- remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
536
- rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
537
- remarkRehype?: import("mdast-util-to-hast").Options | undefined;
538
- gfm?: boolean | undefined;
539
- smartypants?: boolean | undefined;
539
+ domains?: string[] | undefined;
540
+ remotePatterns?: {
541
+ protocol?: string | undefined;
542
+ hostname?: string | undefined;
543
+ port?: string | undefined;
544
+ pathname?: string | undefined;
545
+ }[] | undefined;
540
546
  }>>;
541
- vite: z.ZodDefault<z.ZodType<ViteUserConfig, z.ZodTypeDef, ViteUserConfig>>;
542
547
  redirects: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodObject<{
543
548
  status: z.ZodUnion<[z.ZodLiteral<300>, z.ZodLiteral<301>, z.ZodLiteral<302>, z.ZodLiteral<303>, z.ZodLiteral<304>, z.ZodLiteral<307>, z.ZodLiteral<308>]>;
544
549
  destination: z.ZodString;
@@ -549,10 +554,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
549
554
  status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
550
555
  destination: string;
551
556
  }>]>>>;
552
- output: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"static">, z.ZodLiteral<"server">, z.ZodLiteral<"hybrid">]>>>;
553
557
  site: z.ZodOptional<z.ZodString>;
554
558
  base: z.ZodDefault<z.ZodOptional<z.ZodString>>;
555
559
  trailingSlash: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"always">, z.ZodLiteral<"never">, z.ZodLiteral<"ignore">]>>>;
560
+ output: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"static">, z.ZodLiteral<"server">, z.ZodLiteral<"hybrid">]>>>;
556
561
  scopedStyleStrategy: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"where">, z.ZodLiteral<"class">, z.ZodLiteral<"attribute">]>>>;
557
562
  adapter: z.ZodOptional<z.ZodObject<{
558
563
  name: z.ZodString;
@@ -593,62 +598,6 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
593
598
  prefetchAll?: boolean | undefined;
594
599
  defaultStrategy?: "tap" | "hover" | "viewport" | undefined;
595
600
  }>]>>;
596
- image: z.ZodDefault<z.ZodObject<{
597
- endpoint: z.ZodOptional<z.ZodString>;
598
- service: z.ZodDefault<z.ZodObject<{
599
- entrypoint: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"astro/assets/services/sharp">, z.ZodLiteral<"astro/assets/services/squoosh">, z.ZodString]>>;
600
- config: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodAny>>;
601
- }, "strip", z.ZodTypeAny, {
602
- config: Record<string, any>;
603
- entrypoint: string;
604
- }, {
605
- entrypoint?: string | undefined;
606
- config?: Record<string, any> | undefined;
607
- }>>;
608
- domains: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
609
- remotePatterns: z.ZodDefault<z.ZodArray<z.ZodObject<{
610
- protocol: z.ZodOptional<z.ZodString>;
611
- hostname: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
612
- port: z.ZodOptional<z.ZodString>;
613
- pathname: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
614
- }, "strip", z.ZodTypeAny, {
615
- protocol?: string | undefined;
616
- hostname?: string | undefined;
617
- port?: string | undefined;
618
- pathname?: string | undefined;
619
- }, {
620
- protocol?: string | undefined;
621
- hostname?: string | undefined;
622
- port?: string | undefined;
623
- pathname?: string | undefined;
624
- }>, "many">>;
625
- }, "strip", z.ZodTypeAny, {
626
- service: {
627
- config: Record<string, any>;
628
- entrypoint: string;
629
- };
630
- domains: string[];
631
- remotePatterns: {
632
- protocol?: string | undefined;
633
- hostname?: string | undefined;
634
- port?: string | undefined;
635
- pathname?: string | undefined;
636
- }[];
637
- endpoint?: string | undefined;
638
- }, {
639
- endpoint?: string | undefined;
640
- service?: {
641
- entrypoint?: string | undefined;
642
- config?: Record<string, any> | undefined;
643
- } | undefined;
644
- domains?: string[] | undefined;
645
- remotePatterns?: {
646
- protocol?: string | undefined;
647
- hostname?: string | undefined;
648
- port?: string | undefined;
649
- pathname?: string | undefined;
650
- }[] | undefined;
651
- }>>;
652
601
  devToolbar: z.ZodDefault<z.ZodObject<{
653
602
  enabled: z.ZodDefault<z.ZodBoolean>;
654
603
  }, "strip", z.ZodTypeAny, {
@@ -656,16 +605,67 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
656
605
  }, {
657
606
  enabled?: boolean | undefined;
658
607
  }>>;
659
- i18n: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodObject<{
660
- defaultLocale: z.ZodString;
661
- locales: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
662
- path: z.ZodString;
663
- codes: z.ZodArray<z.ZodString, "atleastone">;
608
+ markdown: z.ZodDefault<z.ZodObject<{
609
+ syntaxHighlight: z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"shiki">, z.ZodLiteral<"prism">, z.ZodLiteral<false>]>>;
610
+ shikiConfig: z.ZodDefault<z.ZodObject<{
611
+ langs: z.ZodDefault<z.ZodEffects<z.ZodArray<z.ZodType<import("shikiji/dist/types/langs.mjs").p, z.ZodTypeDef, import("shikiji/dist/types/langs.mjs").p>, "many">, import("shikiji/dist/types/langs.mjs").p[], import("shikiji/dist/types/langs.mjs").p[]>>;
612
+ theme: z.ZodDefault<z.ZodUnion<[z.ZodEnum<["css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light", ...("css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light")[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>;
613
+ experimentalThemes: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodEnum<["css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light", ...("css-variables" | "dark-plus" | "dracula" | "dracula-soft" | "github-dark" | "github-dark-dimmed" | "github-light" | "hc_light" | "light-plus" | "material-theme" | "material-theme-darker" | "material-theme-lighter" | "material-theme-ocean" | "material-theme-palenight" | "min-dark" | "min-light" | "monokai" | "nord" | "one-dark-pro" | "poimandres" | "rose-pine" | "rose-pine-dawn" | "rose-pine-moon" | "slack-dark" | "slack-ochin" | "solarized-dark" | "solarized-light" | "vitesse-dark" | "vitesse-light")[]]>, z.ZodType<ShikiTheme, z.ZodTypeDef, ShikiTheme>]>>>;
614
+ wrap: z.ZodDefault<z.ZodUnion<[z.ZodBoolean, z.ZodNull]>>;
664
615
  }, "strip", z.ZodTypeAny, {
665
- path: string;
666
- codes: [string, ...string[]];
616
+ langs: import("shikiji/dist/types/langs.mjs").p[];
617
+ theme: ShikiTheme & (ShikiTheme | undefined);
618
+ experimentalThemes: Record<string, ShikiTheme>;
619
+ wrap: boolean | null;
667
620
  }, {
668
- path: string;
621
+ langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
622
+ theme?: ShikiTheme | undefined;
623
+ experimentalThemes?: Record<string, ShikiTheme> | undefined;
624
+ wrap?: boolean | null | undefined;
625
+ }>>;
626
+ remarkPlugins: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodAny], null>, z.ZodType<RemarkPlugin, z.ZodTypeDef, RemarkPlugin>, z.ZodTuple<[z.ZodType<RemarkPlugin, z.ZodTypeDef, RemarkPlugin>, z.ZodAny], null>]>, "many">>;
627
+ rehypePlugins: z.ZodDefault<z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodTuple<[z.ZodString, z.ZodAny], null>, z.ZodType<RehypePlugin, z.ZodTypeDef, RehypePlugin>, z.ZodTuple<[z.ZodType<RehypePlugin, z.ZodTypeDef, RehypePlugin>, z.ZodAny], null>]>, "many">>;
628
+ remarkRehype: z.ZodDefault<z.ZodOptional<z.ZodType<import("mdast-util-to-hast").Options, z.ZodTypeDef, import("mdast-util-to-hast").Options>>>;
629
+ gfm: z.ZodDefault<z.ZodBoolean>;
630
+ smartypants: z.ZodDefault<z.ZodBoolean>;
631
+ }, "strip", z.ZodTypeAny, {
632
+ syntaxHighlight: false | "shiki" | "prism";
633
+ shikiConfig: {
634
+ langs: import("shikiji/dist/types/langs.mjs").p[];
635
+ theme: ShikiTheme & (ShikiTheme | undefined);
636
+ experimentalThemes: Record<string, ShikiTheme>;
637
+ wrap: boolean | null;
638
+ };
639
+ remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
640
+ rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
641
+ remarkRehype: import("mdast-util-to-hast").Options;
642
+ gfm: boolean;
643
+ smartypants: boolean;
644
+ }, {
645
+ syntaxHighlight?: false | "shiki" | "prism" | undefined;
646
+ shikiConfig?: {
647
+ langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
648
+ theme?: ShikiTheme | undefined;
649
+ experimentalThemes?: Record<string, ShikiTheme> | undefined;
650
+ wrap?: boolean | null | undefined;
651
+ } | undefined;
652
+ remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
653
+ rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
654
+ remarkRehype?: import("mdast-util-to-hast").Options | undefined;
655
+ gfm?: boolean | undefined;
656
+ smartypants?: boolean | undefined;
657
+ }>>;
658
+ vite: z.ZodDefault<z.ZodType<ViteUserConfig, z.ZodTypeDef, ViteUserConfig>>;
659
+ i18n: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodObject<{
660
+ defaultLocale: z.ZodString;
661
+ locales: z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodObject<{
662
+ path: z.ZodString;
663
+ codes: z.ZodArray<z.ZodString, "atleastone">;
664
+ }, "strip", z.ZodTypeAny, {
665
+ path: string;
666
+ codes: [string, ...string[]];
667
+ }, {
668
+ path: string;
669
669
  codes: [string, ...string[]];
670
670
  }>]>, "many">;
671
671
  fallback: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -748,12 +748,12 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
748
748
  redirects: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
749
749
  inlineStylesheets: z.ZodDefault<z.ZodOptional<z.ZodEnum<["always", "auto", "never"]>>>;
750
750
  }, "strip", z.ZodTypeAny, {
751
- redirects: boolean;
752
751
  format: "file" | "directory";
753
752
  client: import("url").URL;
754
753
  server: import("url").URL;
755
754
  assets: string;
756
755
  serverEntry: string;
756
+ redirects: boolean;
757
757
  inlineStylesheets: "always" | "never" | "auto";
758
758
  assetsPrefix?: string | undefined;
759
759
  }, {
@@ -792,36 +792,20 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
792
792
  headers?: OutgoingHttpHeaders | undefined;
793
793
  }, unknown>;
794
794
  }, "strip", z.ZodTypeAny, {
795
- build: {
796
- redirects: boolean;
797
- format: "file" | "directory";
798
- client: import("url").URL;
799
- server: import("url").URL;
800
- assets: string;
801
- serverEntry: string;
802
- inlineStylesheets: "always" | "never" | "auto";
803
- assetsPrefix?: string | undefined;
804
- };
805
- markdown: {
806
- syntaxHighlight: false | "shiki" | "prism";
807
- shikiConfig: {
808
- langs: import("shikiji/dist/types/langs.mjs").p[];
809
- theme: ShikiTheme & (ShikiTheme | undefined);
810
- experimentalThemes: Record<string, ShikiTheme>;
811
- wrap: boolean | null;
795
+ image: {
796
+ service: {
797
+ entrypoint: string;
798
+ config: Record<string, any>;
812
799
  };
813
- remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
814
- rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
815
- remarkRehype: import("mdast-util-to-hast").Options;
816
- gfm: boolean;
817
- smartypants: boolean;
800
+ domains: string[];
801
+ remotePatterns: {
802
+ protocol?: string | undefined;
803
+ hostname?: string | undefined;
804
+ port?: string | undefined;
805
+ pathname?: string | undefined;
806
+ }[];
807
+ endpoint?: string | undefined;
818
808
  };
819
- vite: ViteUserConfig;
820
- redirects: Record<string, string | {
821
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
822
- destination: string;
823
- }>;
824
- output: "server" | "static" | "hybrid";
825
809
  server: {
826
810
  host: string | boolean;
827
811
  port: number;
@@ -829,6 +813,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
829
813
  streaming: boolean;
830
814
  headers?: OutgoingHttpHeaders | undefined;
831
815
  };
816
+ redirects: Record<string, string | {
817
+ status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
818
+ destination: string;
819
+ }>;
832
820
  root: import("url").URL;
833
821
  srcDir: import("url").URL;
834
822
  publicDir: import("url").URL;
@@ -837,6 +825,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
837
825
  compressHTML: boolean;
838
826
  base: string;
839
827
  trailingSlash: "ignore" | "always" | "never";
828
+ output: "server" | "static" | "hybrid";
840
829
  scopedStyleStrategy: "where" | "class" | "attribute";
841
830
  integrations: {
842
831
  name: string;
@@ -844,23 +833,34 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
844
833
  [k: string]: unknown;
845
834
  };
846
835
  }[];
847
- image: {
848
- service: {
849
- config: Record<string, any>;
850
- entrypoint: string;
851
- };
852
- domains: string[];
853
- remotePatterns: {
854
- protocol?: string | undefined;
855
- hostname?: string | undefined;
856
- port?: string | undefined;
857
- pathname?: string | undefined;
858
- }[];
859
- endpoint?: string | undefined;
836
+ build: {
837
+ format: "file" | "directory";
838
+ client: import("url").URL;
839
+ server: import("url").URL;
840
+ assets: string;
841
+ serverEntry: string;
842
+ redirects: boolean;
843
+ inlineStylesheets: "always" | "never" | "auto";
844
+ assetsPrefix?: string | undefined;
860
845
  };
861
846
  devToolbar: {
862
847
  enabled: boolean;
863
848
  };
849
+ markdown: {
850
+ syntaxHighlight: false | "shiki" | "prism";
851
+ shikiConfig: {
852
+ langs: import("shikiji/dist/types/langs.mjs").p[];
853
+ theme: ShikiTheme & (ShikiTheme | undefined);
854
+ experimentalThemes: Record<string, ShikiTheme>;
855
+ wrap: boolean | null;
856
+ };
857
+ remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
858
+ rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
859
+ remarkRehype: import("mdast-util-to-hast").Options;
860
+ gfm: boolean;
861
+ smartypants: boolean;
862
+ };
863
+ vite: ViteUserConfig;
864
864
  experimental: {
865
865
  optimizeHoistedScript: boolean;
866
866
  contentCollectionCache: boolean;
@@ -887,29 +887,28 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
887
887
  fallback?: Record<string, string> | undefined;
888
888
  } | undefined;
889
889
  }, {
890
- markdown?: {
891
- syntaxHighlight?: false | "shiki" | "prism" | undefined;
892
- shikiConfig?: {
893
- langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
894
- theme?: ShikiTheme | undefined;
895
- experimentalThemes?: Record<string, ShikiTheme> | undefined;
896
- wrap?: boolean | null | undefined;
890
+ image?: {
891
+ endpoint?: string | undefined;
892
+ service?: {
893
+ entrypoint?: string | undefined;
894
+ config?: Record<string, any> | undefined;
897
895
  } | undefined;
898
- remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
899
- rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
900
- remarkRehype?: import("mdast-util-to-hast").Options | undefined;
901
- gfm?: boolean | undefined;
902
- smartypants?: boolean | undefined;
896
+ domains?: string[] | undefined;
897
+ remotePatterns?: {
898
+ protocol?: string | undefined;
899
+ hostname?: string | undefined;
900
+ port?: string | undefined;
901
+ pathname?: string | undefined;
902
+ }[] | undefined;
903
903
  } | undefined;
904
- vite?: ViteUserConfig | undefined;
905
904
  redirects?: Record<string, string | {
906
905
  status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
907
906
  destination: string;
908
907
  }> | undefined;
909
- output?: "server" | "static" | "hybrid" | undefined;
910
908
  site?: string | undefined;
911
909
  base?: string | undefined;
912
910
  trailingSlash?: "ignore" | "always" | "never" | undefined;
911
+ output?: "server" | "static" | "hybrid" | undefined;
913
912
  scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
914
913
  adapter?: {
915
914
  name: string;
@@ -920,23 +919,24 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
920
919
  prefetchAll?: boolean | undefined;
921
920
  defaultStrategy?: "tap" | "hover" | "viewport" | undefined;
922
921
  } | undefined;
923
- image?: {
924
- endpoint?: string | undefined;
925
- service?: {
926
- entrypoint?: string | undefined;
927
- config?: Record<string, any> | undefined;
928
- } | undefined;
929
- domains?: string[] | undefined;
930
- remotePatterns?: {
931
- protocol?: string | undefined;
932
- hostname?: string | undefined;
933
- port?: string | undefined;
934
- pathname?: string | undefined;
935
- }[] | undefined;
936
- } | undefined;
937
922
  devToolbar?: {
938
923
  enabled?: boolean | undefined;
939
924
  } | undefined;
925
+ markdown?: {
926
+ syntaxHighlight?: false | "shiki" | "prism" | undefined;
927
+ shikiConfig?: {
928
+ langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
929
+ theme?: ShikiTheme | undefined;
930
+ experimentalThemes?: Record<string, ShikiTheme> | undefined;
931
+ wrap?: boolean | null | undefined;
932
+ } | undefined;
933
+ remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
934
+ rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
935
+ remarkRehype?: import("mdast-util-to-hast").Options | undefined;
936
+ gfm?: boolean | undefined;
937
+ smartypants?: boolean | undefined;
938
+ } | undefined;
939
+ vite?: ViteUserConfig | undefined;
940
940
  i18n?: {
941
941
  defaultLocale: string;
942
942
  locales: (string | {
@@ -972,36 +972,20 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
972
972
  } | undefined;
973
973
  server?: unknown;
974
974
  }>, {
975
- build: {
976
- redirects: boolean;
977
- format: "file" | "directory";
978
- client: import("url").URL;
979
- server: import("url").URL;
980
- assets: string;
981
- serverEntry: string;
982
- inlineStylesheets: "always" | "never" | "auto";
983
- assetsPrefix?: string | undefined;
984
- };
985
- markdown: {
986
- syntaxHighlight: false | "shiki" | "prism";
987
- shikiConfig: {
988
- langs: import("shikiji/dist/types/langs.mjs").p[];
989
- theme: ShikiTheme & (ShikiTheme | undefined);
990
- experimentalThemes: Record<string, ShikiTheme>;
991
- wrap: boolean | null;
975
+ image: {
976
+ service: {
977
+ entrypoint: string;
978
+ config: Record<string, any>;
992
979
  };
993
- remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
994
- rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
995
- remarkRehype: import("mdast-util-to-hast").Options;
996
- gfm: boolean;
997
- smartypants: boolean;
980
+ domains: string[];
981
+ remotePatterns: {
982
+ protocol?: string | undefined;
983
+ hostname?: string | undefined;
984
+ port?: string | undefined;
985
+ pathname?: string | undefined;
986
+ }[];
987
+ endpoint?: string | undefined;
998
988
  };
999
- vite: ViteUserConfig;
1000
- redirects: Record<string, string | {
1001
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
1002
- destination: string;
1003
- }>;
1004
- output: "server" | "static" | "hybrid";
1005
989
  server: {
1006
990
  host: string | boolean;
1007
991
  port: number;
@@ -1009,6 +993,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1009
993
  streaming: boolean;
1010
994
  headers?: OutgoingHttpHeaders | undefined;
1011
995
  };
996
+ redirects: Record<string, string | {
997
+ status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
998
+ destination: string;
999
+ }>;
1012
1000
  root: import("url").URL;
1013
1001
  srcDir: import("url").URL;
1014
1002
  publicDir: import("url").URL;
@@ -1017,6 +1005,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1017
1005
  compressHTML: boolean;
1018
1006
  base: string;
1019
1007
  trailingSlash: "ignore" | "always" | "never";
1008
+ output: "server" | "static" | "hybrid";
1020
1009
  scopedStyleStrategy: "where" | "class" | "attribute";
1021
1010
  integrations: {
1022
1011
  name: string;
@@ -1024,23 +1013,34 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1024
1013
  [k: string]: unknown;
1025
1014
  };
1026
1015
  }[];
1027
- image: {
1028
- service: {
1029
- config: Record<string, any>;
1030
- entrypoint: string;
1031
- };
1032
- domains: string[];
1033
- remotePatterns: {
1034
- protocol?: string | undefined;
1035
- hostname?: string | undefined;
1036
- port?: string | undefined;
1037
- pathname?: string | undefined;
1038
- }[];
1039
- endpoint?: string | undefined;
1016
+ build: {
1017
+ format: "file" | "directory";
1018
+ client: import("url").URL;
1019
+ server: import("url").URL;
1020
+ assets: string;
1021
+ serverEntry: string;
1022
+ redirects: boolean;
1023
+ inlineStylesheets: "always" | "never" | "auto";
1024
+ assetsPrefix?: string | undefined;
1040
1025
  };
1041
1026
  devToolbar: {
1042
1027
  enabled: boolean;
1043
1028
  };
1029
+ markdown: {
1030
+ syntaxHighlight: false | "shiki" | "prism";
1031
+ shikiConfig: {
1032
+ langs: import("shikiji/dist/types/langs.mjs").p[];
1033
+ theme: ShikiTheme & (ShikiTheme | undefined);
1034
+ experimentalThemes: Record<string, ShikiTheme>;
1035
+ wrap: boolean | null;
1036
+ };
1037
+ remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
1038
+ rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
1039
+ remarkRehype: import("mdast-util-to-hast").Options;
1040
+ gfm: boolean;
1041
+ smartypants: boolean;
1042
+ };
1043
+ vite: ViteUserConfig;
1044
1044
  experimental: {
1045
1045
  optimizeHoistedScript: boolean;
1046
1046
  contentCollectionCache: boolean;
@@ -1067,29 +1067,28 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1067
1067
  fallback?: Record<string, string> | undefined;
1068
1068
  } | undefined;
1069
1069
  }, {
1070
- markdown?: {
1071
- syntaxHighlight?: false | "shiki" | "prism" | undefined;
1072
- shikiConfig?: {
1073
- langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
1074
- theme?: ShikiTheme | undefined;
1075
- experimentalThemes?: Record<string, ShikiTheme> | undefined;
1076
- wrap?: boolean | null | undefined;
1070
+ image?: {
1071
+ endpoint?: string | undefined;
1072
+ service?: {
1073
+ entrypoint?: string | undefined;
1074
+ config?: Record<string, any> | undefined;
1077
1075
  } | undefined;
1078
- remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
1079
- rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
1080
- remarkRehype?: import("mdast-util-to-hast").Options | undefined;
1081
- gfm?: boolean | undefined;
1082
- smartypants?: boolean | undefined;
1076
+ domains?: string[] | undefined;
1077
+ remotePatterns?: {
1078
+ protocol?: string | undefined;
1079
+ hostname?: string | undefined;
1080
+ port?: string | undefined;
1081
+ pathname?: string | undefined;
1082
+ }[] | undefined;
1083
1083
  } | undefined;
1084
- vite?: ViteUserConfig | undefined;
1085
1084
  redirects?: Record<string, string | {
1086
1085
  status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
1087
1086
  destination: string;
1088
1087
  }> | undefined;
1089
- output?: "server" | "static" | "hybrid" | undefined;
1090
1088
  site?: string | undefined;
1091
1089
  base?: string | undefined;
1092
1090
  trailingSlash?: "ignore" | "always" | "never" | undefined;
1091
+ output?: "server" | "static" | "hybrid" | undefined;
1093
1092
  scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
1094
1093
  adapter?: {
1095
1094
  name: string;
@@ -1100,23 +1099,24 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1100
1099
  prefetchAll?: boolean | undefined;
1101
1100
  defaultStrategy?: "tap" | "hover" | "viewport" | undefined;
1102
1101
  } | undefined;
1103
- image?: {
1104
- endpoint?: string | undefined;
1105
- service?: {
1106
- entrypoint?: string | undefined;
1107
- config?: Record<string, any> | undefined;
1108
- } | undefined;
1109
- domains?: string[] | undefined;
1110
- remotePatterns?: {
1111
- protocol?: string | undefined;
1112
- hostname?: string | undefined;
1113
- port?: string | undefined;
1114
- pathname?: string | undefined;
1115
- }[] | undefined;
1116
- } | undefined;
1117
1102
  devToolbar?: {
1118
1103
  enabled?: boolean | undefined;
1119
1104
  } | undefined;
1105
+ markdown?: {
1106
+ syntaxHighlight?: false | "shiki" | "prism" | undefined;
1107
+ shikiConfig?: {
1108
+ langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
1109
+ theme?: ShikiTheme | undefined;
1110
+ experimentalThemes?: Record<string, ShikiTheme> | undefined;
1111
+ wrap?: boolean | null | undefined;
1112
+ } | undefined;
1113
+ remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
1114
+ rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
1115
+ remarkRehype?: import("mdast-util-to-hast").Options | undefined;
1116
+ gfm?: boolean | undefined;
1117
+ smartypants?: boolean | undefined;
1118
+ } | undefined;
1119
+ vite?: ViteUserConfig | undefined;
1120
1120
  i18n?: {
1121
1121
  defaultLocale: string;
1122
1122
  locales: (string | {
@@ -1152,36 +1152,20 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1152
1152
  } | undefined;
1153
1153
  server?: unknown;
1154
1154
  }>, {
1155
- build: {
1156
- redirects: boolean;
1157
- format: "file" | "directory";
1158
- client: import("url").URL;
1159
- server: import("url").URL;
1160
- assets: string;
1161
- serverEntry: string;
1162
- inlineStylesheets: "always" | "never" | "auto";
1163
- assetsPrefix?: string | undefined;
1164
- };
1165
- markdown: {
1166
- syntaxHighlight: false | "shiki" | "prism";
1167
- shikiConfig: {
1168
- langs: import("shikiji/dist/types/langs.mjs").p[];
1169
- theme: ShikiTheme & (ShikiTheme | undefined);
1170
- experimentalThemes: Record<string, ShikiTheme>;
1171
- wrap: boolean | null;
1155
+ image: {
1156
+ service: {
1157
+ entrypoint: string;
1158
+ config: Record<string, any>;
1172
1159
  };
1173
- remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
1174
- rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
1175
- remarkRehype: import("mdast-util-to-hast").Options;
1176
- gfm: boolean;
1177
- smartypants: boolean;
1160
+ domains: string[];
1161
+ remotePatterns: {
1162
+ protocol?: string | undefined;
1163
+ hostname?: string | undefined;
1164
+ port?: string | undefined;
1165
+ pathname?: string | undefined;
1166
+ }[];
1167
+ endpoint?: string | undefined;
1178
1168
  };
1179
- vite: ViteUserConfig;
1180
- redirects: Record<string, string | {
1181
- status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
1182
- destination: string;
1183
- }>;
1184
- output: "server" | "static" | "hybrid";
1185
1169
  server: {
1186
1170
  host: string | boolean;
1187
1171
  port: number;
@@ -1189,6 +1173,10 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1189
1173
  streaming: boolean;
1190
1174
  headers?: OutgoingHttpHeaders | undefined;
1191
1175
  };
1176
+ redirects: Record<string, string | {
1177
+ status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
1178
+ destination: string;
1179
+ }>;
1192
1180
  root: import("url").URL;
1193
1181
  srcDir: import("url").URL;
1194
1182
  publicDir: import("url").URL;
@@ -1197,6 +1185,7 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1197
1185
  compressHTML: boolean;
1198
1186
  base: string;
1199
1187
  trailingSlash: "ignore" | "always" | "never";
1188
+ output: "server" | "static" | "hybrid";
1200
1189
  scopedStyleStrategy: "where" | "class" | "attribute";
1201
1190
  integrations: {
1202
1191
  name: string;
@@ -1204,23 +1193,34 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1204
1193
  [k: string]: unknown;
1205
1194
  };
1206
1195
  }[];
1207
- image: {
1208
- service: {
1209
- config: Record<string, any>;
1210
- entrypoint: string;
1211
- };
1212
- domains: string[];
1213
- remotePatterns: {
1214
- protocol?: string | undefined;
1215
- hostname?: string | undefined;
1216
- port?: string | undefined;
1217
- pathname?: string | undefined;
1218
- }[];
1219
- endpoint?: string | undefined;
1196
+ build: {
1197
+ format: "file" | "directory";
1198
+ client: import("url").URL;
1199
+ server: import("url").URL;
1200
+ assets: string;
1201
+ serverEntry: string;
1202
+ redirects: boolean;
1203
+ inlineStylesheets: "always" | "never" | "auto";
1204
+ assetsPrefix?: string | undefined;
1220
1205
  };
1221
1206
  devToolbar: {
1222
1207
  enabled: boolean;
1223
1208
  };
1209
+ markdown: {
1210
+ syntaxHighlight: false | "shiki" | "prism";
1211
+ shikiConfig: {
1212
+ langs: import("shikiji/dist/types/langs.mjs").p[];
1213
+ theme: ShikiTheme & (ShikiTheme | undefined);
1214
+ experimentalThemes: Record<string, ShikiTheme>;
1215
+ wrap: boolean | null;
1216
+ };
1217
+ remarkPlugins: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[];
1218
+ rehypePlugins: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[];
1219
+ remarkRehype: import("mdast-util-to-hast").Options;
1220
+ gfm: boolean;
1221
+ smartypants: boolean;
1222
+ };
1223
+ vite: ViteUserConfig;
1224
1224
  experimental: {
1225
1225
  optimizeHoistedScript: boolean;
1226
1226
  contentCollectionCache: boolean;
@@ -1247,29 +1247,28 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1247
1247
  fallback?: Record<string, string> | undefined;
1248
1248
  } | undefined;
1249
1249
  }, {
1250
- markdown?: {
1251
- syntaxHighlight?: false | "shiki" | "prism" | undefined;
1252
- shikiConfig?: {
1253
- langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
1254
- theme?: ShikiTheme | undefined;
1255
- experimentalThemes?: Record<string, ShikiTheme> | undefined;
1256
- wrap?: boolean | null | undefined;
1250
+ image?: {
1251
+ endpoint?: string | undefined;
1252
+ service?: {
1253
+ entrypoint?: string | undefined;
1254
+ config?: Record<string, any> | undefined;
1257
1255
  } | undefined;
1258
- remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
1259
- rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
1260
- remarkRehype?: import("mdast-util-to-hast").Options | undefined;
1261
- gfm?: boolean | undefined;
1262
- smartypants?: boolean | undefined;
1256
+ domains?: string[] | undefined;
1257
+ remotePatterns?: {
1258
+ protocol?: string | undefined;
1259
+ hostname?: string | undefined;
1260
+ port?: string | undefined;
1261
+ pathname?: string | undefined;
1262
+ }[] | undefined;
1263
1263
  } | undefined;
1264
- vite?: ViteUserConfig | undefined;
1265
1264
  redirects?: Record<string, string | {
1266
1265
  status: 300 | 301 | 302 | 303 | 304 | 307 | 308;
1267
1266
  destination: string;
1268
1267
  }> | undefined;
1269
- output?: "server" | "static" | "hybrid" | undefined;
1270
1268
  site?: string | undefined;
1271
1269
  base?: string | undefined;
1272
1270
  trailingSlash?: "ignore" | "always" | "never" | undefined;
1271
+ output?: "server" | "static" | "hybrid" | undefined;
1273
1272
  scopedStyleStrategy?: "where" | "class" | "attribute" | undefined;
1274
1273
  adapter?: {
1275
1274
  name: string;
@@ -1280,23 +1279,24 @@ export declare function createRelativeSchema(cmd: string, fileProtocolRoot: stri
1280
1279
  prefetchAll?: boolean | undefined;
1281
1280
  defaultStrategy?: "tap" | "hover" | "viewport" | undefined;
1282
1281
  } | undefined;
1283
- image?: {
1284
- endpoint?: string | undefined;
1285
- service?: {
1286
- entrypoint?: string | undefined;
1287
- config?: Record<string, any> | undefined;
1288
- } | undefined;
1289
- domains?: string[] | undefined;
1290
- remotePatterns?: {
1291
- protocol?: string | undefined;
1292
- hostname?: string | undefined;
1293
- port?: string | undefined;
1294
- pathname?: string | undefined;
1295
- }[] | undefined;
1296
- } | undefined;
1297
1282
  devToolbar?: {
1298
1283
  enabled?: boolean | undefined;
1299
1284
  } | undefined;
1285
+ markdown?: {
1286
+ syntaxHighlight?: false | "shiki" | "prism" | undefined;
1287
+ shikiConfig?: {
1288
+ langs?: import("shikiji/dist/types/langs.mjs").p[] | undefined;
1289
+ theme?: ShikiTheme | undefined;
1290
+ experimentalThemes?: Record<string, ShikiTheme> | undefined;
1291
+ wrap?: boolean | null | undefined;
1292
+ } | undefined;
1293
+ remarkPlugins?: (string | [string, any] | RemarkPlugin | [RemarkPlugin, any])[] | undefined;
1294
+ rehypePlugins?: (string | [string, any] | RehypePlugin | [RehypePlugin, any])[] | undefined;
1295
+ remarkRehype?: import("mdast-util-to-hast").Options | undefined;
1296
+ gfm?: boolean | undefined;
1297
+ smartypants?: boolean | undefined;
1298
+ } | undefined;
1299
+ vite?: ViteUserConfig | undefined;
1300
1300
  i18n?: {
1301
1301
  defaultLocale: string;
1302
1302
  locales: (string | {