import { type ErrorType, type Result } from '../ErrorResult.js'; import type { RichText, RichTextNode } from '../Types.js'; import { type ContentValuePath } from './ContentPath.js'; type RichTextNodeTransformer = (path: ContentValuePath, node: Readonly) => Result, TError>; export declare function transformRichText | RichText, TError extends ErrorType>(path: ContentValuePath, richText: T, transformer: RichTextNodeTransformer): Result; export {};