import { type ExportItem, type ExportMeta } from "./format"; /** One thread as an agent reads it. */ export interface AgentThread { /** The id to answer a thread by. */ id: string; state: "open" | "addressed" | "resolved"; where: string; /** The page's `data-pipeup-id` for the block, when it has one. */ element?: string; quote?: string; pin?: string; addressed?: { note: string; by: string; }; comments: { id: string; by: string; agent: boolean; at: string; text: string; /** Who reacted with what; absent when nobody did. */ reactions?: { emoji: string; by: string[]; }[]; }[]; } export interface AgentComments { /** The same Markdown as Copy comments › As Markdown. */ markdown: string; threads: AgentThread[]; } /** The page's comments as an agent reads them: the Markdown, and the threads as data. */ export declare function agentComments(items: ExportItem[], meta: ExportMeta): AgentComments;