import { ICommentInfo, IComment, ILikedByInformation } from "./types.js"; import { IItemUpdateResult } from "../items/index.js"; declare module "../clientside-pages/types" { interface _ClientsidePage { addComment(info: string | ICommentInfo): Promise; getCommentById(id: string | number): Promise; clearComments(): Promise; getComments(): Promise; like(): Promise; unlike(): Promise; getLikedByInformation(): Promise; enableComments(): Promise; disableComments(): Promise; setCommentsOn(on: boolean): Promise; } interface IClientsidePage { /** * Adds a comment to this page * * @param info The comment information */ addComment(info: string | Partial): Promise; /** * * @param id gets a comment by id */ getCommentById(id: string | number): Promise; /** * Deletes all comments for this page */ clearComments(): Promise; /** * Gets all the comments for this page */ getComments(): Promise; /** * Like this page */ like(): Promise; /** * Unlike this page */ unlike(): Promise; /** * gets list of who likes the page, current user's status, a few other details */ getLikedByInformation(): Promise; /** * Enables comments for this page */ enableComments(): Promise; /** * Disables comments for this page */ disableComments(): Promise; } } //# sourceMappingURL=clientside-page.d.ts.map