blank project

This commit is contained in:
root
2025-10-17 20:17:33 +00:00
commit 14b2d53e8e
9366 changed files with 1515019 additions and 0 deletions

22
node_modules/astro/dist/assets/utils/imageKind.d.ts generated vendored Normal file
View File

@@ -0,0 +1,22 @@
import type { ImageMetadata, UnresolvedImageTransform } from '../types.js';
/**
* Determines if the given source is an ECMAScript Module (ESM) imported image.
*
* @param {ImageMetadata | string} src - The source to check. It can be an `ImageMetadata` object or a string.
* @return {boolean} Returns `true` if the source is an `ImageMetadata` object, otherwise `false`.
*/
export declare function isESMImportedImage(src: ImageMetadata | string): src is ImageMetadata;
/**
* Determines if the provided source is a remote image URL in the form of a string.
*
* @param {ImageMetadata | string} src - The source to check, which can either be an `ImageMetadata` object or a string.
* @return {boolean} Returns `true` if the source is a string, otherwise `false`.
*/
export declare function isRemoteImage(src: ImageMetadata | string): src is string;
/**
* Resolves the source of an image transformation by handling asynchronous or synchronous inputs.
*
* @param {UnresolvedImageTransform['src']} src - The source of the image transformation.
* @return {Promise<string | ImageMetadata>} A promise that resolves to the image source. It returns either the default export of the resolved source or the resolved source itself if the default export doesn't exist.
*/
export declare function resolveSrc(src: UnresolvedImageTransform['src']): Promise<string | ImageMetadata>;