summaryrefslogtreecommitdiff
path: root/packages/astro/config.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/astro/config.d.ts')
-rw-r--r--packages/astro/config.d.ts48
1 files changed, 0 insertions, 48 deletions
diff --git a/packages/astro/config.d.ts b/packages/astro/config.d.ts
deleted file mode 100644
index 68743b35d..000000000
--- a/packages/astro/config.d.ts
+++ /dev/null
@@ -1,48 +0,0 @@
-type ViteUserConfig = import('vite').UserConfig;
-type ViteUserConfigFn = import('vite').UserConfigFn;
-type AstroUserConfig = import('./dist/@types/astro.js').AstroUserConfig;
-type AstroInlineConfig = import('./dist/@types/astro.js').AstroInlineConfig;
-type ImageServiceConfig = import('./dist/@types/astro.js').ImageServiceConfig;
-type SharpImageServiceConfig = import('./dist/assets/services/sharp.js').SharpImageServiceConfig;
-type EnvField = typeof import('./dist/env/config.js').envField;
-
-/**
- * See the full Astro Configuration API Documentation
- * https://astro.build/config
- */
-export function defineConfig(config: AstroUserConfig): AstroUserConfig;
-
-/**
- * Use Astro to generate a fully resolved Vite config
- */
-export function getViteConfig(
- config: ViteUserConfig,
- inlineAstroConfig?: AstroInlineConfig,
-): ViteUserConfigFn;
-
-/**
- * Return the configuration needed to use the Sharp-based image service
- */
-export function sharpImageService(config?: SharpImageServiceConfig): ImageServiceConfig;
-
-/**
- * @deprecated The Squoosh image service is deprecated and will be removed in Astro 5.x.
- * We suggest migrating to the default Sharp image service instead, as it is faster, more powerful and better maintained.
- *
- * Return the configuration needed to use the Squoosh-based image service
- * See: https://docs.astro.build/en/guides/images/#configure-squoosh
- */
-export function squooshImageService(): ImageServiceConfig;
-
-/**
- * Return the configuration needed to use the passthrough image service. This image services does not perform
- * any image transformations, and is mainly useful when your platform does not support other image services, or you are
- * not using Astro's built-in image processing.
- * See: https://docs.astro.build/en/guides/images/#configure-no-op-passthrough-service
- */
-export function passthroughImageService(): ImageServiceConfig;
-
-/**
- * Return a valid env field to use in this Astro config for `experimental.env.schema`.
- */
-export const envField: EnvField;