feat: scaffold Astro + Tailwind project

This commit is contained in:
TerryM
2026-05-12 16:16:03 +08:00
parent 906eb5c763
commit 03d3800c6c
12097 changed files with 1266600 additions and 0 deletions

33
node_modules/astro/dist/assets/services/sharp.d.ts generated vendored Normal file
View File

@@ -0,0 +1,33 @@
import type { AvifOptions, JpegOptions, PngOptions, ResizeOptions, SharpOptions, WebpOptions } from 'sharp';
import { type BaseServiceTransform, type LocalImageService } from './service.js';
export interface SharpImageServiceConfig {
/**
* The `limitInputPixels` option passed to Sharp. See https://sharp.pixelplumbing.com/api-constructor for more information
*/
limitInputPixels?: SharpOptions['limitInputPixels'];
/**
* The `kernel` option is passed to resize calls. See https://sharp.pixelplumbing.com/api-resize/ for more information
*/
kernel?: ResizeOptions['kernel'];
/**
* The default encoder options passed to `sharp().jpeg()`.
*/
jpeg?: JpegOptions;
/**
* The default encoder options passed to `sharp().png()`.
*/
png?: PngOptions;
/**
* The default encoder options passed to `sharp().webp()`.
*/
webp?: WebpOptions;
/**
* The default encoder options passed to `sharp().avif()`.
*/
avif?: AvifOptions;
}
export declare function resolveSharpEncoderOptions(transform: Pick<BaseServiceTransform, 'format' | 'quality'>, inputFormat: string | undefined, serviceConfig?: SharpImageServiceConfig): JpegOptions | PngOptions | WebpOptions | AvifOptions | {
quality?: number;
} | undefined;
declare const sharpService: LocalImageService<SharpImageServiceConfig>;
export default sharpService;