import { PageCollectionItemBase, Collection } from '@nuxt/content'; import { z, TypeOf } from 'zod'; declare global { var __sitemapCollectionFilters: Map boolean> | undefined; var __sitemapCollectionOnUrlFns: Map void> | undefined; } interface DefineSitemapSchemaOptions> { z?: typeof z; name?: string; filter?: (entry: PageCollectionItemBase & SitemapSchema & TEntry) => boolean; onUrl?: (url: { loc: string; lastmod?: string | Date; changefreq?: string; priority?: number; images?: { loc: string; }[]; videos?: { content_loc: string; }[]; [key: string]: unknown; }, entry: PageCollectionItemBase & SitemapSchema & TEntry, collection: string) => void; } declare const defineSchema: (options?: DefineSitemapSchemaOptions> | undefined) => z.ZodOptional; lastmod: z.ZodOptional; changefreq: z.ZodOptional, z.ZodLiteral<"hourly">, z.ZodLiteral<"daily">, z.ZodLiteral<"weekly">, z.ZodLiteral<"monthly">, z.ZodLiteral<"yearly">, z.ZodLiteral<"never">]>>; priority: z.ZodOptional; images: z.ZodOptional; geo_location: z.ZodOptional; title: z.ZodOptional; license: z.ZodOptional; }, z.core.$strip>>>; videos: z.ZodOptional; duration: z.ZodOptional; expiration_date: z.ZodOptional; rating: z.ZodOptional; view_count: z.ZodOptional; publication_date: z.ZodOptional; family_friendly: z.ZodOptional; tag: z.ZodOptional; category: z.ZodOptional; restriction: z.ZodOptional>; value: z.ZodOptional; }, z.core.$strip>>; gallery_loc: z.ZodOptional; price: z.ZodOptional; requires_subscription: z.ZodOptional; uploader: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; declare const schema: z.ZodObject<{ [x: string]: any; }, z.core.$strip>; type SitemapSchema = TypeOf; /** @deprecated Use `defineSitemapSchema()` in your collection schema instead. See https://nuxtseo.com/sitemap/guides/content */ declare function asSitemapCollection(collection: Collection, options?: DefineSitemapSchemaOptions): Collection; export { asSitemapCollection, defineSchema as defineSitemapSchema, schema }; export type { DefineSitemapSchemaOptions, SitemapSchema };