mirror of
https://github.com/sern-handler/website
synced 2026-06-28 02:32:23 +00:00
12 lines
462 B
TypeScript
12 lines
462 B
TypeScript
import type { PluginContext } from 'rollup';
|
|
import { z } from 'zod';
|
|
export declare function createImage(pluginContext: PluginContext, shouldEmitFile: boolean, entryFilePath: string): () => z.ZodEffects<z.ZodString, z.ZodNever | {
|
|
ASTRO_ASSET: string;
|
|
src: string;
|
|
width: number;
|
|
height: number;
|
|
format: "jpeg" | "jpg" | "png" | "tiff" | "webp" | "gif" | "svg" | "avif";
|
|
orientation?: number | undefined;
|
|
fsPath: string;
|
|
}, string>;
|