import Base from "./Base.js"; import type ArtistUrl from "./ArtistUrl.js"; import type { Artist as ArtistData } from "../generated/types.js"; import type { EditArtistOptions } from "../modules/Artists.js"; interface Artist extends ArtistData { } /** * @category Models * * @schema {@link https://e621.wiki/#model-Artist Artist} * * @see {@link https://e621.wiki/#model-Artist Documentation} for more details. */ declare class Artist extends Base { domains: Array<[string, number]> | undefined; urls: Array | undefined; /** * Delete Artist * * You must be an Admin+ to delete an artist. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Artists-deleteArtist deleteArtist} * * @see {@link https://e621.wiki/#operations-Artists-deleteArtist Documentation} for more details. */ delete(): Promise; /** * Edit Artist * * If an artist is locked, you must be Janitor+ to edit them. `other_names` & `urls` are silently truncated to 25 entries. `notes` is silently truncated to the wiki page limit (250,000). Individual `other_names` are silently truncated to 100 characters. If an artist is on the avoid posting list, you must have the bd staff user flag to edit name, other_names, or group_name. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Artists-editArtist editArtist} * * @see {@link https://e621.wiki/#operations-Artists-editArtist Documentation} for more details. */ edit(options: EditArtistOptions): Promise; /** * Revert Artist * * If an artist is locked, you must be Janitor+ to revert them. * * @requiresApiKeyAuth * * @operationId {@link https://e621.wiki/#operations-Artists-revertArtist revertArtist} * * @see {@link https://e621.wiki/#operations-Artists-revertArtist Documentation} for more details. */ revert(version_id: number): Promise; } export default Artist;