/** Request-body parsing for the comment routes: unknown JSON in, a typed input or `null` out. */ import type { Context } from 'hono'; import type { FactoryMentionRef } from './base.js'; export declare const UUID_RE: RegExp; export declare function isRecord(value: unknown): value is Record; export declare function readJson(c: Context): Promise; export interface ParsedCreateComment { body: string; clientToken?: string; replyTo?: { commentId: string; quote?: string; }; mentions?: FactoryMentionRef[]; } export declare function parseCreateCommentBody(raw: unknown): ParsedCreateComment | null; export interface ParsedEditComment { body: string; mentions?: FactoryMentionRef[]; expectedRevision?: number; } export declare function parseEditCommentBody(raw: unknown): ParsedEditComment | null; //# sourceMappingURL=parse.d.ts.map