import { AstroIntegration } from "astro"; //#region src/index.d.ts /** * Astro integration for Intlayer. * * It handles: * 1. Preparing Intlayer resources (dictionaries) at config setup. * 2. Injecting Vite plugins for aliases, locale-based routing (middleware), and build optimizations (prune). * 3. Configuring Vite aliases for dictionary access. * 4. Starting a file watcher for dictionary changes during development. * 5. Emitting the prerendered pages at their rewritten (localized) URLs. * * @returns An Astro integration object. * * @example * ```ts * // astro.config.mjs * import { defineConfig } from 'astro/config'; * import { intlayer } from 'astro-intlayer'; * * export default defineConfig({ * integrations: [intlayer()], * }); * ``` */ declare const intlayer: () => AstroIntegration; //#endregion export { intlayer }; //# sourceMappingURL=index.d.ts.map