import type { ConfluenceVersion } from './page.js'; /** * Confluence comment object */ export interface ConfluenceComment { id: string; type: string; status?: string; title?: string; body?: { wiki?: { value: string; representation: string; }; storage?: { value: string; representation: string; }; view?: { value: string; representation: string; }; }; version?: ConfluenceVersion; _links?: { self?: string; webui?: string; }; } /** * Parameters for getting comments */ export interface GetCommentsParams { /** Page ID */ pageId: string; /** Starting index */ start?: number; /** Maximum results */ limit?: number; /** Comment depth */ depth?: string; /** Expand options */ expand?: string; } /** * Parameters for adding a comment */ export interface AddCommentParams { /** Page ID */ pageId: string; /** Comment body in wiki markup */ body: string; } /** * Parameters for updating a comment */ export interface UpdateCommentParams { /** Comment ID */ commentId: string; /** New comment body in wiki markup */ body: string; /** Current version number (will be incremented) */ version: number; } /** * Parameters for deleting a comment */ export interface DeleteCommentParams { /** Comment ID */ commentId: string; } /** * Parameters for replying to a comment */ export interface ReplyCommentParams { /** Page ID the comment belongs to */ pageId: string; /** Parent comment ID to reply to */ parentCommentId: string; /** Reply body in wiki markup */ body: string; } //# sourceMappingURL=comment.d.ts.map