import Base from "./Base.js"; import type { PostSet as PostSetData } from "../generated/types.js"; import type { EditPostSetOptions } from "../modules/PostSets.js"; interface PostSet extends PostSetData { } /** * @category Models * * @schema {@link https://e621.wiki/#model-PostSet PostSet} * * @see {@link https://e621.wiki/#model-PostSet Documentation} for more details. */ declare class PostSet extends Base { /** * Add Posts To Post Set * * You must be the owner of the set, a maintainer (if public), or Admin+. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Post_Sets-addPostsToPostSet addPostsToPostSet} * * @see {@link https://e621.wiki/#operations-Post_Sets-addPostsToPostSet Documentation} for more details. */ addPosts(post_ids: Array): Promise; /** * Delete Post Set * * You must be the owner of the set, or Admin+. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Post_Sets-deletePostSet deletePostSet} * * @see {@link https://e621.wiki/#operations-Post_Sets-deletePostSet Documentation} for more details. */ delete(): Promise; /** * Edit Post Set * * You must be the owner of the set, or Admin+. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Post_Sets-editPostSet editPostSet} * * @see {@link https://e621.wiki/#operations-Post_Sets-editPostSet Documentation} for more details. */ edit(options: EditPostSetOptions): Promise; /** * Remove Posts From Post Set * * You must be the owner of the set, a maintainer (if public), or Admin+. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Post_Sets-removePostsFromPostSet removePostsFromPostSet} * * @see {@link https://e621.wiki/#operations-Post_Sets-removePostsFromPostSet Documentation} for more details. */ removePosts(post_ids: Array): Promise; /** * Update Post Set Posts * * You must be the owner of the set, a maintainer (if public), or Admin+. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Post_Sets-updatePostSetPosts updatePostSetPosts} * * @see {@link https://e621.wiki/#operations-Post_Sets-updatePostSetPosts Documentation} for more details. */ updatePosts(post_ids: Array): Promise; } export default PostSet;