UNPKG

astro-loader-hashnode

Version:

Astro content loader for seamlessly integrating Hashnode blog posts into your Astro website using the Content Layer API

1,673 lines 99 kB
/** * Zod schemas for content validation */ import { z } from 'zod'; export declare const authorSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; username: z.ZodString; profilePicture: z.ZodOptional<z.ZodString>; bio: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; social: z.ZodOptional<z.ZodObject<{ website: z.ZodOptional<z.ZodString>; github: z.ZodOptional<z.ZodString>; twitter: z.ZodOptional<z.ZodString>; linkedin: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; }, { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; }>>; followersCount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }, { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }>; export declare const tagSchema: z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodString; slug: z.ZodString; logo: z.ZodOptional<z.ZodString>; tagline: z.ZodOptional<z.ZodString>; followersCount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { slug: string; name: string; id?: string | undefined; followersCount?: number | undefined; logo?: string | undefined; tagline?: string | undefined; }, { slug: string; name: string; id?: string | undefined; followersCount?: number | undefined; logo?: string | undefined; tagline?: string | undefined; }>; export declare const coverImageSchema: z.ZodObject<{ url: z.ZodString; alt: z.ZodOptional<z.ZodString>; attribution: z.ZodOptional<z.ZodString>; isPortrait: z.ZodOptional<z.ZodBoolean>; isAttributionHidden: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { url: string; alt?: string | undefined; attribution?: string | undefined; isPortrait?: boolean | undefined; isAttributionHidden?: boolean | undefined; }, { url: string; alt?: string | undefined; attribution?: string | undefined; isPortrait?: boolean | undefined; isAttributionHidden?: boolean | undefined; }>; export declare const tableOfContentsSchema: z.ZodObject<{ isEnabled: z.ZodBoolean; items: z.ZodArray<z.ZodObject<{ id: z.ZodString; level: z.ZodNumber; parentId: z.ZodOptional<z.ZodString>; slug: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { slug: string; id: string; level: number; title: string; parentId?: string | undefined; }, { slug: string; id: string; level: number; title: string; parentId?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { items: { slug: string; id: string; level: number; title: string; parentId?: string | undefined; }[]; isEnabled: boolean; }, { items: { slug: string; id: string; level: number; title: string; parentId?: string | undefined; }[]; isEnabled: boolean; }>; export declare const commentSchema: z.ZodLazy<z.ZodObject<{ id: z.ZodString; dateAdded: z.ZodString; totalReactions: z.ZodOptional<z.ZodNumber>; content: z.ZodObject<{ html: z.ZodString; markdown: z.ZodOptional<z.ZodString>; }>; author: typeof authorSchema; replies: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<Record<string, z.ZodTypeAny>>>>>; }>>; export declare const seoSchema: z.ZodObject<{ title: z.ZodString; description: z.ZodString; }, "strip", z.ZodTypeAny, { title: string; description: string; }, { title: string; description: string; }>; export declare const contentSchema: z.ZodObject<{ html: z.ZodString; markdown: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { html: string; markdown?: string | undefined; }, { html: string; markdown?: string | undefined; }>; export declare const publicationSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; displayTitle: z.ZodOptional<z.ZodString>; url: z.ZodString; isTeam: z.ZodOptional<z.ZodBoolean>; favicon: z.ZodOptional<z.ZodString>; about: z.ZodOptional<z.ZodString>; features: z.ZodOptional<z.ZodObject<{ newsletter: z.ZodOptional<z.ZodObject<{ isEnabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { isEnabled: boolean; }, { isEnabled: boolean; }>>; readTime: z.ZodOptional<z.ZodObject<{ isEnabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { isEnabled: boolean; }, { isEnabled: boolean; }>>; textSelectionSharer: z.ZodOptional<z.ZodObject<{ isEnabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { isEnabled: boolean; }, { isEnabled: boolean; }>>; audioBlog: z.ZodOptional<z.ZodObject<{ isEnabled: z.ZodBoolean; voiceType: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { isEnabled: boolean; voiceType?: string | undefined; }, { isEnabled: boolean; voiceType?: string | undefined; }>>; customCSS: z.ZodOptional<z.ZodObject<{ isEnabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { isEnabled: boolean; }, { isEnabled: boolean; }>>; }, "strip", z.ZodTypeAny, { newsletter?: { isEnabled: boolean; } | undefined; readTime?: { isEnabled: boolean; } | undefined; textSelectionSharer?: { isEnabled: boolean; } | undefined; audioBlog?: { isEnabled: boolean; voiceType?: string | undefined; } | undefined; customCSS?: { isEnabled: boolean; } | undefined; }, { newsletter?: { isEnabled: boolean; } | undefined; readTime?: { isEnabled: boolean; } | undefined; textSelectionSharer?: { isEnabled: boolean; } | undefined; audioBlog?: { isEnabled: boolean; voiceType?: string | undefined; } | undefined; customCSS?: { isEnabled: boolean; } | undefined; }>>; }, "strip", z.ZodTypeAny, { id: string; url: string; title: string; displayTitle?: string | undefined; isTeam?: boolean | undefined; favicon?: string | undefined; about?: string | undefined; features?: { newsletter?: { isEnabled: boolean; } | undefined; readTime?: { isEnabled: boolean; } | undefined; textSelectionSharer?: { isEnabled: boolean; } | undefined; audioBlog?: { isEnabled: boolean; voiceType?: string | undefined; } | undefined; customCSS?: { isEnabled: boolean; } | undefined; } | undefined; }, { id: string; url: string; title: string; displayTitle?: string | undefined; isTeam?: boolean | undefined; favicon?: string | undefined; about?: string | undefined; features?: { newsletter?: { isEnabled: boolean; } | undefined; readTime?: { isEnabled: boolean; } | undefined; textSelectionSharer?: { isEnabled: boolean; } | undefined; audioBlog?: { isEnabled: boolean; voiceType?: string | undefined; } | undefined; customCSS?: { isEnabled: boolean; } | undefined; } | undefined; }>; export declare const postSchema: z.ZodObject<{ id: z.ZodString; cuid: z.ZodOptional<z.ZodString>; title: z.ZodString; subtitle: z.ZodOptional<z.ZodString>; brief: z.ZodString; slug: z.ZodString; url: z.ZodString; content: z.ZodObject<{ html: z.ZodString; markdown: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { html: string; markdown?: string | undefined; }, { html: string; markdown?: string | undefined; }>; publishedAt: z.ZodDate; updatedAt: z.ZodOptional<z.ZodDate>; coverImage: z.ZodOptional<z.ZodObject<{ url: z.ZodString; alt: z.ZodOptional<z.ZodString>; attribution: z.ZodOptional<z.ZodString>; isPortrait: z.ZodOptional<z.ZodBoolean>; isAttributionHidden: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { url: string; alt?: string | undefined; attribution?: string | undefined; isPortrait?: boolean | undefined; isAttributionHidden?: boolean | undefined; }, { url: string; alt?: string | undefined; attribution?: string | undefined; isPortrait?: boolean | undefined; isAttributionHidden?: boolean | undefined; }>>; tags: z.ZodArray<z.ZodObject<{ id: z.ZodOptional<z.ZodString>; name: z.ZodString; slug: z.ZodString; logo: z.ZodOptional<z.ZodString>; tagline: z.ZodOptional<z.ZodString>; followersCount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { slug: string; name: string; id?: string | undefined; followersCount?: number | undefined; logo?: string | undefined; tagline?: string | undefined; }, { slug: string; name: string; id?: string | undefined; followersCount?: number | undefined; logo?: string | undefined; tagline?: string | undefined; }>, "many">; author: z.ZodObject<{ id: z.ZodString; name: z.ZodString; username: z.ZodString; profilePicture: z.ZodOptional<z.ZodString>; bio: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; social: z.ZodOptional<z.ZodObject<{ website: z.ZodOptional<z.ZodString>; github: z.ZodOptional<z.ZodString>; twitter: z.ZodOptional<z.ZodString>; linkedin: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; }, { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; }>>; followersCount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }, { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }>; coAuthors: z.ZodOptional<z.ZodArray<z.ZodObject<{ id: z.ZodString; name: z.ZodString; username: z.ZodString; profilePicture: z.ZodOptional<z.ZodString>; bio: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; social: z.ZodOptional<z.ZodObject<{ website: z.ZodOptional<z.ZodString>; github: z.ZodOptional<z.ZodString>; twitter: z.ZodOptional<z.ZodString>; linkedin: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; }, { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; }>>; followersCount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }, { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }>, "many">>; seo: z.ZodObject<{ title: z.ZodString; description: z.ZodString; }, "strip", z.ZodTypeAny, { title: string; description: string; }, { title: string; description: string; }>; ogMetaData: z.ZodOptional<z.ZodObject<{ image: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { image?: string | undefined; }, { image?: string | undefined; }>>; readingTime: z.ZodNumber; wordCount: z.ZodOptional<z.ZodNumber>; views: z.ZodDefault<z.ZodNumber>; reactions: z.ZodDefault<z.ZodNumber>; comments: z.ZodDefault<z.ZodNumber>; replies: z.ZodDefault<z.ZodNumber>; isDraft: z.ZodDefault<z.ZodBoolean>; hasLatex: z.ZodDefault<z.ZodBoolean>; series: z.ZodOptional<z.ZodObject<{ id: z.ZodString; name: z.ZodOptional<z.ZodString>; slug: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { id: string; slug?: string | undefined; name?: string | undefined; }, { id: string; slug?: string | undefined; name?: string | undefined; }>>; tableOfContents: z.ZodOptional<z.ZodObject<{ isEnabled: z.ZodBoolean; items: z.ZodArray<z.ZodObject<{ id: z.ZodString; level: z.ZodNumber; parentId: z.ZodOptional<z.ZodString>; slug: z.ZodString; title: z.ZodString; }, "strip", z.ZodTypeAny, { slug: string; id: string; level: number; title: string; parentId?: string | undefined; }, { slug: string; id: string; level: number; title: string; parentId?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { items: { slug: string; id: string; level: number; title: string; parentId?: string | undefined; }[]; isEnabled: boolean; }, { items: { slug: string; id: string; level: number; title: string; parentId?: string | undefined; }[]; isEnabled: boolean; }>>; preferences: z.ZodOptional<z.ZodObject<{ disableComments: z.ZodOptional<z.ZodBoolean>; stickCoverToBottom: z.ZodOptional<z.ZodBoolean>; pinnedToBlog: z.ZodOptional<z.ZodBoolean>; isDelisted: z.ZodOptional<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { disableComments?: boolean | undefined; stickCoverToBottom?: boolean | undefined; pinnedToBlog?: boolean | undefined; isDelisted?: boolean | undefined; }, { disableComments?: boolean | undefined; stickCoverToBottom?: boolean | undefined; pinnedToBlog?: boolean | undefined; isDelisted?: boolean | undefined; }>>; commentsData: z.ZodOptional<z.ZodObject<{ totalCount: z.ZodNumber; comments: z.ZodArray<z.ZodLazy<z.ZodObject<{ id: z.ZodString; dateAdded: z.ZodString; totalReactions: z.ZodOptional<z.ZodNumber>; content: z.ZodObject<{ html: z.ZodString; markdown: z.ZodOptional<z.ZodString>; }>; author: typeof authorSchema; replies: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<Record<string, z.ZodTypeAny>>>>>; }, z.UnknownKeysParam, z.ZodTypeAny, { id: string; dateAdded: string; content: { html: string; markdown?: string | undefined; }; author: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }; totalReactions?: number | undefined; replies?: { [x: string]: any; }[] | undefined; }, { id: string; dateAdded: string; content: { html: string; markdown?: string | undefined; }; author: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }; totalReactions?: number | undefined; replies?: { [x: string]: any; }[] | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { comments: { id: string; dateAdded: string; content: { html: string; markdown?: string | undefined; }; author: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }; totalReactions?: number | undefined; replies?: { [x: string]: any; }[] | undefined; }[]; totalCount: number; }, { comments: { id: string; dateAdded: string; content: { html: string; markdown?: string | undefined; }; author: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }; totalReactions?: number | undefined; replies?: { [x: string]: any; }[] | undefined; }[]; totalCount: number; }>>; publication: z.ZodOptional<z.ZodObject<{ id: z.ZodString; title: z.ZodString; displayTitle: z.ZodOptional<z.ZodString>; url: z.ZodString; isTeam: z.ZodOptional<z.ZodBoolean>; favicon: z.ZodOptional<z.ZodString>; about: z.ZodOptional<z.ZodString>; features: z.ZodOptional<z.ZodObject<{ newsletter: z.ZodOptional<z.ZodObject<{ isEnabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { isEnabled: boolean; }, { isEnabled: boolean; }>>; readTime: z.ZodOptional<z.ZodObject<{ isEnabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { isEnabled: boolean; }, { isEnabled: boolean; }>>; textSelectionSharer: z.ZodOptional<z.ZodObject<{ isEnabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { isEnabled: boolean; }, { isEnabled: boolean; }>>; audioBlog: z.ZodOptional<z.ZodObject<{ isEnabled: z.ZodBoolean; voiceType: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { isEnabled: boolean; voiceType?: string | undefined; }, { isEnabled: boolean; voiceType?: string | undefined; }>>; customCSS: z.ZodOptional<z.ZodObject<{ isEnabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { isEnabled: boolean; }, { isEnabled: boolean; }>>; }, "strip", z.ZodTypeAny, { newsletter?: { isEnabled: boolean; } | undefined; readTime?: { isEnabled: boolean; } | undefined; textSelectionSharer?: { isEnabled: boolean; } | undefined; audioBlog?: { isEnabled: boolean; voiceType?: string | undefined; } | undefined; customCSS?: { isEnabled: boolean; } | undefined; }, { newsletter?: { isEnabled: boolean; } | undefined; readTime?: { isEnabled: boolean; } | undefined; textSelectionSharer?: { isEnabled: boolean; } | undefined; audioBlog?: { isEnabled: boolean; voiceType?: string | undefined; } | undefined; customCSS?: { isEnabled: boolean; } | undefined; }>>; }, "strip", z.ZodTypeAny, { id: string; url: string; title: string; displayTitle?: string | undefined; isTeam?: boolean | undefined; favicon?: string | undefined; about?: string | undefined; features?: { newsletter?: { isEnabled: boolean; } | undefined; readTime?: { isEnabled: boolean; } | undefined; textSelectionSharer?: { isEnabled: boolean; } | undefined; audioBlog?: { isEnabled: boolean; voiceType?: string | undefined; } | undefined; customCSS?: { isEnabled: boolean; } | undefined; } | undefined; }, { id: string; url: string; title: string; displayTitle?: string | undefined; isTeam?: boolean | undefined; favicon?: string | undefined; about?: string | undefined; features?: { newsletter?: { isEnabled: boolean; } | undefined; readTime?: { isEnabled: boolean; } | undefined; textSelectionSharer?: { isEnabled: boolean; } | undefined; audioBlog?: { isEnabled: boolean; voiceType?: string | undefined; } | undefined; customCSS?: { isEnabled: boolean; } | undefined; } | undefined; }>>; hashnodeId: z.ZodString; hashnodeUrl: z.ZodString; }, "strip", z.ZodTypeAny, { slug: string; id: string; url: string; title: string; content: { html: string; markdown?: string | undefined; }; author: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }; replies: number; brief: string; publishedAt: Date; tags: { slug: string; name: string; id?: string | undefined; followersCount?: number | undefined; logo?: string | undefined; tagline?: string | undefined; }[]; seo: { title: string; description: string; }; readingTime: number; views: number; reactions: number; comments: number; isDraft: boolean; hasLatex: boolean; hashnodeId: string; hashnodeUrl: string; cuid?: string | undefined; subtitle?: string | undefined; updatedAt?: Date | undefined; coverImage?: { url: string; alt?: string | undefined; attribution?: string | undefined; isPortrait?: boolean | undefined; isAttributionHidden?: boolean | undefined; } | undefined; coAuthors?: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }[] | undefined; ogMetaData?: { image?: string | undefined; } | undefined; wordCount?: number | undefined; series?: { id: string; slug?: string | undefined; name?: string | undefined; } | undefined; tableOfContents?: { items: { slug: string; id: string; level: number; title: string; parentId?: string | undefined; }[]; isEnabled: boolean; } | undefined; preferences?: { disableComments?: boolean | undefined; stickCoverToBottom?: boolean | undefined; pinnedToBlog?: boolean | undefined; isDelisted?: boolean | undefined; } | undefined; commentsData?: { comments: { id: string; dateAdded: string; content: { html: string; markdown?: string | undefined; }; author: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }; totalReactions?: number | undefined; replies?: { [x: string]: any; }[] | undefined; }[]; totalCount: number; } | undefined; publication?: { id: string; url: string; title: string; displayTitle?: string | undefined; isTeam?: boolean | undefined; favicon?: string | undefined; about?: string | undefined; features?: { newsletter?: { isEnabled: boolean; } | undefined; readTime?: { isEnabled: boolean; } | undefined; textSelectionSharer?: { isEnabled: boolean; } | undefined; audioBlog?: { isEnabled: boolean; voiceType?: string | undefined; } | undefined; customCSS?: { isEnabled: boolean; } | undefined; } | undefined; } | undefined; }, { slug: string; id: string; url: string; title: string; content: { html: string; markdown?: string | undefined; }; author: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }; brief: string; publishedAt: Date; tags: { slug: string; name: string; id?: string | undefined; followersCount?: number | undefined; logo?: string | undefined; tagline?: string | undefined; }[]; seo: { title: string; description: string; }; readingTime: number; hashnodeId: string; hashnodeUrl: string; cuid?: string | undefined; replies?: number | undefined; subtitle?: string | undefined; updatedAt?: Date | undefined; coverImage?: { url: string; alt?: string | undefined; attribution?: string | undefined; isPortrait?: boolean | undefined; isAttributionHidden?: boolean | undefined; } | undefined; coAuthors?: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }[] | undefined; ogMetaData?: { image?: string | undefined; } | undefined; wordCount?: number | undefined; views?: number | undefined; reactions?: number | undefined; comments?: number | undefined; isDraft?: boolean | undefined; hasLatex?: boolean | undefined; series?: { id: string; slug?: string | undefined; name?: string | undefined; } | undefined; tableOfContents?: { items: { slug: string; id: string; level: number; title: string; parentId?: string | undefined; }[]; isEnabled: boolean; } | undefined; preferences?: { disableComments?: boolean | undefined; stickCoverToBottom?: boolean | undefined; pinnedToBlog?: boolean | undefined; isDelisted?: boolean | undefined; } | undefined; commentsData?: { comments: { id: string; dateAdded: string; content: { html: string; markdown?: string | undefined; }; author: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }; totalReactions?: number | undefined; replies?: { [x: string]: any; }[] | undefined; }[]; totalCount: number; } | undefined; publication?: { id: string; url: string; title: string; displayTitle?: string | undefined; isTeam?: boolean | undefined; favicon?: string | undefined; about?: string | undefined; features?: { newsletter?: { isEnabled: boolean; } | undefined; readTime?: { isEnabled: boolean; } | undefined; textSelectionSharer?: { isEnabled: boolean; } | undefined; audioBlog?: { isEnabled: boolean; voiceType?: string | undefined; } | undefined; customCSS?: { isEnabled: boolean; } | undefined; } | undefined; } | undefined; }>; export declare const seriesSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; slug: z.ZodString; description: z.ZodOptional<z.ZodString>; descriptionMarkdown: z.ZodOptional<z.ZodString>; descriptionText: z.ZodOptional<z.ZodString>; coverImage: z.ZodOptional<z.ZodString>; cuid: z.ZodOptional<z.ZodString>; author: z.ZodObject<{ id: z.ZodString; name: z.ZodString; username: z.ZodString; profilePicture: z.ZodOptional<z.ZodString>; bio: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; social: z.ZodOptional<z.ZodObject<{ website: z.ZodOptional<z.ZodString>; github: z.ZodOptional<z.ZodString>; twitter: z.ZodOptional<z.ZodString>; linkedin: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; }, { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; }>>; followersCount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }, { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }>; postsCount: z.ZodNumber; posts: z.ZodArray<z.ZodString, "many">; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { slug: string; id: string; name: string; author: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }; updatedAt: string; postsCount: number; posts: string[]; createdAt: string; cuid?: string | undefined; description?: string | undefined; coverImage?: string | undefined; descriptionMarkdown?: string | undefined; descriptionText?: string | undefined; }, { slug: string; id: string; name: string; author: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }; updatedAt: string; postsCount: number; posts: string[]; createdAt: string; cuid?: string | undefined; description?: string | undefined; coverImage?: string | undefined; descriptionMarkdown?: string | undefined; descriptionText?: string | undefined; }>; export declare const staticPageSchema: z.ZodObject<{ id: z.ZodString; slug: z.ZodString; title: z.ZodString; content: z.ZodObject<{ html: z.ZodString; markdown: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { html: string; markdown?: string | undefined; }, { html: string; markdown?: string | undefined; }>; seo: z.ZodObject<{ title: z.ZodString; description: z.ZodString; }, "strip", z.ZodTypeAny, { title: string; description: string; }, { title: string; description: string; }>; ogMetaData: z.ZodOptional<z.ZodObject<{ image: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { image?: string | undefined; }, { image?: string | undefined; }>>; wordCount: z.ZodOptional<z.ZodNumber>; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { slug: string; id: string; title: string; content: { html: string; markdown?: string | undefined; }; updatedAt: string; seo: { title: string; description: string; }; ogMetaData?: { image?: string | undefined; } | undefined; wordCount?: number | undefined; }, { slug: string; id: string; title: string; content: { html: string; markdown?: string | undefined; }; updatedAt: string; seo: { title: string; description: string; }; ogMetaData?: { image?: string | undefined; } | undefined; wordCount?: number | undefined; }>; export declare const tagCollectionSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; slug: z.ZodString; logo: z.ZodOptional<z.ZodString>; tagline: z.ZodOptional<z.ZodString>; followersCount: z.ZodNumber; postsCount: z.ZodNumber; posts: z.ZodArray<z.ZodString, "many">; createdAt: z.ZodString; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { slug: string; id: string; name: string; followersCount: number; updatedAt: string; postsCount: number; posts: string[]; createdAt: string; logo?: string | undefined; tagline?: string | undefined; }, { slug: string; id: string; name: string; followersCount: number; updatedAt: string; postsCount: number; posts: string[]; createdAt: string; logo?: string | undefined; tagline?: string | undefined; }>; export declare const rssFeedSchema: z.ZodObject<{ title: z.ZodString; description: z.ZodString; link: z.ZodString; posts: z.ZodArray<z.ZodObject<{ title: z.ZodString; description: z.ZodString; link: z.ZodString; pubDate: z.ZodString; author: z.ZodString; guid: z.ZodString; }, "strip", z.ZodTypeAny, { title: string; author: string; description: string; link: string; pubDate: string; guid: string; }, { title: string; author: string; description: string; link: string; pubDate: string; guid: string; }>, "many">; }, "strip", z.ZodTypeAny, { title: string; description: string; posts: { title: string; author: string; description: string; link: string; pubDate: string; guid: string; }[]; link: string; }, { title: string; description: string; posts: { title: string; author: string; description: string; link: string; pubDate: string; guid: string; }[]; link: string; }>; export declare const sitemapSchema: z.ZodObject<{ urls: z.ZodArray<z.ZodObject<{ url: z.ZodString; lastmod: z.ZodString; priority: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; lastmod: string; priority: string; }, { url: string; lastmod: string; priority: string; }>, "many">; totalUrls: z.ZodNumber; generatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { urls: { url: string; lastmod: string; priority: string; }[]; totalUrls: number; generatedAt: string; }, { urls: { url: string; lastmod: string; priority: string; }[]; totalUrls: number; generatedAt: string; }>; export declare const newsletterSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; displayTitle: z.ZodOptional<z.ZodString>; url: z.ZodString; isNewsletterEnabled: z.ZodBoolean; isNewsletterPageEnabled: z.ZodBoolean; followersCount: z.ZodNumber; description: z.ZodOptional<z.ZodString>; about: z.ZodOptional<z.ZodString>; author: z.ZodObject<{ id: z.ZodString; name: z.ZodString; username: z.ZodString; profilePicture: z.ZodOptional<z.ZodString>; bio: z.ZodOptional<z.ZodString>; url: z.ZodOptional<z.ZodString>; social: z.ZodOptional<z.ZodObject<{ website: z.ZodOptional<z.ZodString>; github: z.ZodOptional<z.ZodString>; twitter: z.ZodOptional<z.ZodString>; linkedin: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; }, { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; }>>; followersCount: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }, { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }>; recentPosts: z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; slug: z.ZodString; publishedAt: z.ZodString; brief: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { slug: string; id: string; title: string; publishedAt: string; brief?: string | undefined; }, { slug: string; id: string; title: string; publishedAt: string; brief?: string | undefined; }>, "many">; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; url: string; followersCount: number; title: string; author: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }; updatedAt: string; isNewsletterEnabled: boolean; isNewsletterPageEnabled: boolean; recentPosts: { slug: string; id: string; title: string; publishedAt: string; brief?: string | undefined; }[]; description?: string | undefined; displayTitle?: string | undefined; about?: string | undefined; }, { id: string; url: string; followersCount: number; title: string; author: { id: string; name: string; username: string; profilePicture?: string | undefined; bio?: string | undefined; url?: string | undefined; social?: { website?: string | undefined; github?: string | undefined; twitter?: string | undefined; linkedin?: string | undefined; } | undefined; followersCount?: number | undefined; }; updatedAt: string; isNewsletterEnabled: boolean; isNewsletterPageEnabled: boolean; recentPosts: { slug: string; id: string; title: string; publishedAt: string; brief?: string | undefined; }[]; description?: string | undefined; displayTitle?: string | undefined; about?: string | undefined; }>; export declare const searchResultsSchema: z.ZodObject<{ query: z.ZodString; totalResults: z.ZodNumber; results: z.ZodArray<z.ZodObject<{ id: z.ZodString; title: z.ZodString; brief: z.ZodString; slug: z.ZodString; url: z.ZodString; publishedAt: z.ZodString; author: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; name: string; }, { id: string; name: string; }>; coverImage: z.ZodOptional<z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>>; reactionCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { slug: string; id: string; url: string; title: string; author: { id: string; name: string; }; brief: string; publishedAt: string; reactionCount: number; coverImage?: { url: string; } | undefined; }, { slug: string; id: string; url: string; title: string; author: { id: string; name: string; }; brief: string; publishedAt: string; reactionCount: number; coverImage?: { url: string; } | undefined; }>, "many">; searchedAt: z.ZodString; }, "strip", z.ZodTypeAny, { query: string; totalResults: number; results: { slug: string; id: string; url: string; title: string; author: { id: string; name: string; }; brief: string; publishedAt: string; reactionCount: number; coverImage?: { url: string; } | undefined; }[