UNPKG

astro

Version:

Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

20 lines (19 loc) 1.14 kB
import type { SharpImageServiceConfig } from '../assets/services/sharp.js'; import type { ImageServiceConfig } from '../types/public/index.js'; export { defineConfig, getViteConfig } from './index.js'; export { envField } from '../env/config.js'; export { mergeConfig } from '../core/config/merge.js'; export { validateConfig } from '../core/config/validate.js'; export { fontProviders, defineAstroFontProvider } from '../assets/fonts/providers/index.js'; export type { AstroFontProvider } from '../assets/fonts/types.js'; /** * Return the configuration needed to use the Sharp-based image service */ export declare function sharpImageService(config?: SharpImageServiceConfig): 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 declare function passthroughImageService(): ImageServiceConfig;