import { type SearchPostApprovalsData } from "../generated/types.js"; import PostApproval from "../models/PostApproval.js"; import { type TransformDataQueryToOptions } from "../util.js"; import Base from "./Base.js"; /** @category Modules/Types */ export interface SearchPostApprovalsOptions extends TransformDataQueryToOptions { } /** @category Modules */ export default class PostApprovals extends Base { /** * Approve Post * * You must have the "Approve Posts" permission. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Posts-approvePost approvePost} * * @see {@link https://e621.wiki/#operations-Posts-approvePost Documentation} for more details. */ create(post_id: number): Promise; /** * Unapprove Post * * You must have the "Approve Posts" permission. The response does not differ for success or failure. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Posts-unapprovePost unapprovePost} * * @see {@link https://e621.wiki/#operations-Posts-unapprovePost Documentation} for more details. */ delete(post_id: number): Promise; /** * Search Post Approvals * * @operationId {@link https://e621.wiki/#operations-Post_Approvals-searchPostApprovals searchPostApprovals} * * @see {@link https://e621.wiki/#operations-Post_Approvals-searchPostApprovals Documentation} for more details. */ search(options?: SearchPostApprovalsOptions): Promise>; }