declare module 'astro:content' { export { z } from 'astro/zod'; // This needs to be in sync with ImageMetadata export type ImageFunction = () => import('astro/zod').ZodObject<{ src: import('astro/zod').ZodString; width: import('astro/zod').ZodNumber; height: import('astro/zod').ZodNumber; format: import('astro/zod').ZodUnion< [ import('astro/zod').ZodLiteral<'png'>, import('astro/zod').ZodLiteral<'jpg'>, import('astro/zod').ZodLiteral<'jpeg'>, import('astro/zod').ZodLiteral<'tiff'>, import('astro/zod').ZodLiteral<'webp'>, import('astro/zod').ZodLiteral<'gif'>, import('astro/zod').ZodLiteral<'svg'>, import('astro/zod').ZodLiteral<'avif'>, ] >; }>; type BaseSchemaWithoutEffects = | import('astro/zod').AnyZodObject | import('astro/zod').ZodUnion<[BaseSchemaWithoutEffects, ...BaseSchemaWithoutEffects[]]> | import('astro/zod').ZodDiscriminatedUnion | import('astro/zod').ZodIntersection; type BaseSchema = | BaseSchemaWithoutEffects | import('astro/zod').ZodEffects; export type SchemaContext = { image: ImageFunction }; type DataCollectionConfig = { type: 'data'; schema?: S | ((context: SchemaContext) => S); }; type ContentCollectionConfig = { type?: 'content'; schema?: S | ((context: SchemaContext) => S); }; type CollectionConfig = | ContentCollectionConfig | DataCollectionConfig; export function defineCollection( input: CollectionConfig ): CollectionConfig; /** Run `astro sync` to generate high fidelity types */ export const getEntryBySlug: (...args: any[]) => any; /** Run `astro sync` to generate high fidelity types */ export const getDataEntryById: (...args: any[]) => any; /** Run `astro sync` to generate high fidelity types */ export const getCollection: (...args: any[]) => any; /** Run `astro sync` to generate high fidelity types */ export const getEntry: (...args: any[]) => any; /** Run `astro sync` to generate high fidelity types */ export const getEntries: (...args: any[]) => any; /** Run `astro sync` to generate high fidelity types */ export const reference: (...args: any[]) => any; /** Run `astro sync` to generate high fidelity types */ export type CollectionKey = any; /** Run `astro sync` to generate high fidelity types */ export type CollectionEntry = any; /** Run `astro sync` to generate high fidelity types */ export type ContentCollectionKey = any; /** Run `astro sync` to generate high fidelity types */ export type DataCollectionKey = any; /** Run `astro sync` to generate high fidelity types */ export type ContentConfig = any; }