import { SearchPostVotesData } from "../generated/types.js"; import PostVote from "../models/PostVote.js"; import { TransformDataQueryToOptions } from "../util.js"; import Base from "./Base.js"; /** @category Modules/Types */ export interface SearchPostVotesOptions extends TransformDataQueryToOptions { } /** @category Modules */ export default class PostVotes extends Base { /** * Delete Post Vote * * You must be Admin+. Errors if ids is not provided. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Post_Votes-deletePostVotes deletePostVotes} * * @see {@link https://e621.wiki/#operations-Post_Votes-deletePostVotes Documentation} for more details. */ delete(ids: Array): Promise; /** * Lock Post Votes * * You must be Moderator+. Errors if ids is not provided. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Post_Votes-lockPostVotes lockPostVotes} * * @see {@link https://e621.wiki/#operations-Post_Votes-lockPostVotes Documentation} for more details. */ lock(ids: Array): Promise; /** * Search Post Votes * * You must be Moderator+. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Post_Votes-searchPostVotes searchPostVotes} * * @see {@link https://e621.wiki/#operations-Post_Votes-searchPostVotes Documentation} for more details. */ search(options?: SearchPostVotesOptions): Promise>; }