import type { CommentFields } from "./types.ts"; type CreateClientReturn = ReturnType; export declare function createComments(api: CreateClientReturn): { /** Post a comment on a Page post. */ create(postId: string, message: string): Promise<{ id: string; }>; /** List comments on a Page post. */ list(postId: string, opts?: { fields?: (keyof CommentFields)[]; limit?: number; }): Promise[]>; /** Reply to an existing comment (nested reply). */ reply(commentId: string, message: string): Promise<{ id: string; }>; /** Hide or unhide a comment. */ hide(commentId: string, hidden?: boolean): Promise; /** Delete a comment. */ delete(commentId: string): Promise; }; export {}; //# sourceMappingURL=comments.d.ts.map