import { MealieClient } from '../client.js'; import type { RecipeCommentOut, RecipeCommentCreate, RecipeCommentUpdate, RecipeCommentPagination, SuccessResponse, CommentQueryParams } from '../types/index.js'; export declare class CommentsService extends MealieClient { /** * Get all comments with optional filtering and pagination * @param params Optional query parameters for filtering, ordering, and pagination * @returns Paginated list of comments */ getAllComments(params?: CommentQueryParams): Promise; /** * Create a new comment for a recipe * @param comment The comment to create * @returns The created comment */ createComment(comment: RecipeCommentCreate): Promise; /** * Get a specific comment by ID * @param commentId The ID of the comment to retrieve * @returns The requested comment */ getComment(commentId: string): Promise; /** * Update an existing comment * @param commentId The ID of the comment to update * @param comment The updated comment data * @returns The updated comment */ updateComment(commentId: string, comment: RecipeCommentUpdate): Promise; /** * Delete a comment * @param commentId The ID of the comment to delete * @returns Success response */ deleteComment(commentId: string): Promise; } //# sourceMappingURL=comments.d.ts.map