import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as operations from "./models/operations/index.js"; export declare class Posts extends ClientSDK { /** * Creates a new topic, a new post, or a private message */ createTopicPostPM(request?: operations.CreateTopicPostPMRequestBody | undefined, options?: RequestOptions): Promise; /** * delete a single post */ deletePost(id: number, requestBody?: operations.DeletePostRequestBody | undefined, options?: RequestOptions): Promise; /** * Retrieve a single post * * @remarks * This endpoint can be used to get the number of likes on a post using the * `actions_summary` property in the response. `actions_summary` responses * with the id of `2` signify a `like`. If there are no `actions_summary` * items with the id of `2`, that means there are 0 likes. Other ids likely * refer to various different flag types. */ getPost(id: string, options?: RequestOptions): Promise; /** * List latest posts across topics */ listPosts(apiKey: string, apiUsername: string, before?: string | undefined, options?: RequestOptions): Promise; /** * Lock a post from being edited */ lockPost(apiKey: string, apiUsername: string, id: string, requestBody?: operations.LockPostRequestBody | undefined, options?: RequestOptions): Promise; /** * Like a post and other actions */ performPostAction(apiKey: string, apiUsername: string, requestBody?: operations.PerformPostActionRequestBody | undefined, options?: RequestOptions): Promise; /** * List replies to a post */ postReplies(id: string, options?: RequestOptions): Promise>; /** * Update a single post */ updatePost(id: string, requestBody?: operations.UpdatePostRequestBody | undefined, options?: RequestOptions): Promise; } //# sourceMappingURL=posts.d.ts.map