export type EntityCommentAuthorType = "human" | "agent" | "system"; export type EntityCommentRecord = { id: string; parent_comment_id: string | null; author_type: EntityCommentAuthorType; author_id: string; author_name: string | null; body: string; comment_type: string; severity: string; tags: string[] | null; created_at: string; }; export declare function listEntityComments(entityType: string, entityId: string): EntityCommentRecord[]; export declare function appendEntityComment(input: { entityType: string; entityId: string; body: string; commentType?: string | null; severity?: string | null; tags?: unknown; author?: { author_type?: EntityCommentAuthorType; author_id?: string; author_name?: string | null; }; }): EntityCommentRecord; export declare function mergeEntityComments(remote: unknown, local: EntityCommentRecord[]): EntityCommentRecord[]; export declare function clearEntityCommentsStore(): void;