import { z } from 'zod'; import type { RelationshipData } from "./DocumentEditor/component-blocks/api-shared.js"; declare const zText: z.ZodObject<{ type: z.ZodOptional>; text: z.ZodString; bold: z.ZodOptional>; italic: z.ZodOptional>; underline: z.ZodOptional>; strikethrough: z.ZodOptional>; code: z.ZodOptional>; superscript: z.ZodOptional>; subscript: z.ZodOptional>; keyboard: z.ZodOptional>; insertMenu: z.ZodOptional>; }, z.core.$strict>; declare const zLink: z.ZodObject<{ type: z.ZodLiteral<"link">; href: z.ZodString; }, z.core.$strict>; declare const zHeading: z.ZodObject<{ type: z.ZodLiteral<"heading">; textAlign: z.ZodOptional, z.ZodLiteral<"end">]>, z.ZodLiteral<"right">]>>; level: z.ZodUnion, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>; }, z.core.$strict>; declare const zParagraph: z.ZodObject<{ type: z.ZodLiteral<"paragraph">; textAlign: z.ZodOptional, z.ZodLiteral<"end">]>, z.ZodLiteral<"right">]>>; }, z.core.$strict>; declare const zBasicElements: readonly [z.ZodObject<{ type: z.ZodLiteral<"blockquote">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"layout-area">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"code">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"divider">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"list-item">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"list-item-content">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"ordered-list">; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"unordered-list">; }, z.core.$strict>]; declare const zLayout: z.ZodObject<{ type: z.ZodLiteral<"layout">; layout: z.ZodArray; }, z.core.$strict>; declare const zRelationship: z.ZodObject<{ type: z.ZodLiteral<"relationship">; relationship: z.ZodString; data: z.ZodUnion; data: z.ZodOptional>; }, z.core.$strict>, z.ZodNull]>; }, z.core.$strict>; declare const zComponentBlock: z.ZodObject<{ type: z.ZodLiteral<"component-block">; component: z.ZodString; props: z.ZodRecord; }, z.core.$strict>; declare const zComponentProps: readonly [z.ZodObject<{ type: z.ZodLiteral<"component-block-prop">; propPath: z.ZodOptional>>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"component-inline-prop">; propPath: z.ZodOptional>>; }, z.core.$strict>]; export type Node = z.infer | (z.infer & { children: Node[]; }) | (z.infer & { children: Node[]; }) | (z.infer & { children: Node[]; }) | (z.infer<(typeof zComponentProps)[keyof typeof zComponentProps & number]> & { children: Node[]; }) | (z.infer<(typeof zBasicElements)[keyof typeof zBasicElements & number]> & { children: Node[]; }) | (z.infer & { children: Node[]; }) | (z.infer & { children: Node[]; }) | (z.infer & { children: Node[]; }); export type TextWithMarks = z.infer; export declare function isRelationshipData(value: unknown): value is RelationshipData; export declare function validateDocumentStructure(value: unknown): asserts value is Node[]; export {};