import { FilledLinkContentValue } from "./link.js"; import { RichTextNodeType, RichTextNodeTypes, Span } from "./legacy/richText.js"; import { z } from "zod/mini"; //#region src/content/richText.d.ts type RichTextContentSpan = Span; declare const RichTextContentTextBlockSchema: z.ZodMiniObject<{ type: z.ZodMiniUnion, z.ZodMiniLiteral<"heading1">, z.ZodMiniLiteral<"heading2">, z.ZodMiniLiteral<"heading3">, z.ZodMiniLiteral<"heading4">, z.ZodMiniLiteral<"heading5">, z.ZodMiniLiteral<"heading6">, z.ZodMiniLiteral<"preformatted">, z.ZodMiniLiteral<"o-list-item">, z.ZodMiniLiteral<"list-item">]>; content: z.ZodMiniObject<{ text: z.ZodMiniString; spans: z.ZodMiniOptional, z.ZodMiniTransform<({ type: "label"; start: number; end: number; data: string; } | { type: "list-item" | "strong" | "em"; start: number; end: number; } | { type: "hyperlink"; start: number; end: number; data: FilledLinkContentValue; })[], unknown[]>>>; }, z.core.$strip>; label: z.ZodMiniOptional>; direction: z.ZodMiniOptional>; }, z.core.$strip>; type RichTextContentTextBlock = z.infer; declare const RichTextContentImageBlockSchema: z.ZodMiniObject<{ type: z.ZodMiniLiteral<"image">; data: z.ZodMiniObject<{ origin: z.ZodMiniObject<{ id: z.ZodMiniString; url: z.ZodMiniString; width: z.ZodMiniNumber; height: z.ZodMiniNumber; }, z.core.$strip>; width: z.ZodMiniNumber; height: z.ZodMiniNumber; edit: z.ZodMiniObject<{ zoom: z.ZodMiniNumber; crop: z.ZodMiniObject<{ x: z.ZodMiniNumber; y: z.ZodMiniNumber; }, z.core.$strip>; background: z.ZodMiniString; }, z.core.$strip>; url: z.ZodMiniOptional>; credits: z.ZodMiniOptional>>, z.ZodMiniTransform>>; alt: z.ZodMiniOptional>>, z.ZodMiniTransform>>; provider: z.ZodMiniOptional>>; linkTo: z.ZodMiniOptional>>>; }, z.core.$strip>; label: z.ZodMiniOptional>>; direction: z.ZodMiniOptional>>; }, z.core.$strip>; type RichTextContentImageBlock = z.infer; declare const RichTextContentEmbedBlockSchema: z.ZodMiniObject<{ type: z.ZodMiniLiteral<"embed">; data: z.ZodMiniObject<{ embed_url: z.ZodMiniString; type: z.ZodMiniString; version: z.ZodMiniOptional, z.ZodMiniNumber]>>>; title: z.ZodMiniOptional>>; author_name: z.ZodMiniOptional>>; author_url: z.ZodMiniOptional>>; provider_name: z.ZodMiniOptional>>; provider_url: z.ZodMiniOptional>>; cache_age: z.ZodMiniOptional, z.ZodMiniNumber]>>>; thumbnail_url: z.ZodMiniOptional>>; thumbnail_width: z.ZodMiniOptional>>; thumbnail_height: z.ZodMiniOptional>>; html: z.ZodMiniOptional>>; __TYPE__: z.ZodMiniLiteral<"EmbedContent">; all: z.ZodMiniUnknown; }, z.core.$strip>; label: z.ZodMiniOptional>>; direction: z.ZodMiniOptional>>; }, z.core.$strip>; type RichTextContentEmbedBlock = z.infer; type RichTextContentBlock = RichTextContentTextBlock | RichTextContentImageBlock | RichTextContentEmbedBlock; declare const RichTextContentType: "StructuredTextContent"; type RichTextContent = { __TYPE__: typeof RichTextContentType; value: RichTextContentBlock[]; }; //#endregion export { RichTextContent, RichTextContentBlock, RichTextContentEmbedBlock, RichTextContentImageBlock, RichTextContentSpan, RichTextContentTextBlock }; //# sourceMappingURL=richText.d.ts.map