import { z } from 'zod';
import type { RichTextFieldConfig } from '../../fields/types';
/**
 * Build Zod validation schema for rich text field
 *
 * Uses the shared rich text schema from @riverbankcms/blocks to ensure consistency
 * between the form editor and block rendering validation.
 *
 * @param config - Rich text field configuration
 * @returns Zod schema for rich text validation
 */
export declare function buildRichTextFieldSchema(config: RichTextFieldConfig): z.ZodUnion<readonly [z.ZodType<import("../../../../blocks/src/index").TipTapNode, unknown, z.core.$ZodTypeInternals<import("../../../../blocks/src/index").TipTapNode, unknown>>, z.ZodObject<{
    doc: z.ZodType<import("../../../../blocks/src/index").TipTapNode, unknown, z.core.$ZodTypeInternals<import("../../../../blocks/src/index").TipTapNode, unknown>>;
}, z.core.$strip>]> | z.ZodOptional<z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodType<import("../../../../blocks/src/index").TipTapNode, unknown, z.core.$ZodTypeInternals<import("../../../../blocks/src/index").TipTapNode, unknown>>, z.ZodObject<{
    doc: z.ZodType<import("../../../../blocks/src/index").TipTapNode, unknown, z.core.$ZodTypeInternals<import("../../../../blocks/src/index").TipTapNode, unknown>>;
}, z.core.$strip>]>, z.ZodNull]>>;
