import Base from "./Base.js"; import type { Takedown as TakedownData } from "../generated/types.js"; import type { AddPostsToTakedownByIdsResponse, AddPostsToTakedownByTagsResponse, CountMatchingPostsResponse, EditTakedownOptions } from "../modules/Takedowns.js"; interface Takedown extends TakedownData { } /** * @category Models * * @schema {@link https://e621.wiki/#model-Takedown Takedown} * * @see {@link https://e621.wiki/#model-Takedown Documentation} for more details. */ declare class Takedown extends Base { /** * Add Posts To Takedown By IDs * * You must have the bd staff user flag. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Takedowns-addPostsToTakedownByIds addPostsToTakedownByIds} * * @see {@link https://e621.wiki/#operations-Takedowns-addPostsToTakedownByIds Documentation} for more details. */ addByIds(post_ids: Array): Promise; /** * Add Posts To Takedown By Tags * * You must have the bd staff user flag. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Takedowns-addPostsToTakedownByTags addPostsToTakedownByTags} * * @see {@link https://e621.wiki/#operations-Takedowns-addPostsToTakedownByTags Documentation} for more details. */ addByTags(tags: Array): Promise; /** * Count Matching Posts * * You must have the bd staff user flag. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Takedowns-countMatchingPosts countMatchingPosts} * * @see {@link https://e621.wiki/#operations-Takedowns-countMatchingPosts Documentation} for more details. */ countMatchingPosts(tags: string): Promise; /** * Delete Takedown * * You must have the bd staff user flag. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Takedowns-deleteTakedown deleteTakedown} * * @see {@link https://e621.wiki/#operations-Takedowns-deleteTakedown Documentation} for more details. */ delete(): Promise; /** * Edit Takedown * * You must have the bd staff user flag. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Takedowns-editTakedown editTakedown} * * @see {@link https://e621.wiki/#operations-Takedowns-editTakedown Documentation} for more details. */ edit(options: EditTakedownOptions): Promise; /** * Remove Posts From Takedown By IDs * * You must have the bd staff user flag. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Takedowns-removePostsFromTakedownByIds removePostsFromTakedownByIds} * * @see {@link https://e621.wiki/#operations-Takedowns-removePostsFromTakedownByIds Documentation} for more details. */ removeByIds(post_ids: Array): Promise; } export default Takedown;