UNPKG

astro

Version:

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

12 lines (11 loc) 475 B
import type { PluginContext } from 'rollup'; import { z } from 'zod'; export declare function createImage(pluginContext: PluginContext, shouldEmitFile: boolean, entryFilePath: string, experimentalSvgEnabled: boolean): () => z.ZodEffects<z.ZodString, z.ZodNever | { ASTRO_ASSET: string; width: number; height: number; format: import("../assets/types.js").ImageInputFormat; src: string; fsPath: string; orientation?: number | undefined; }, string>;