import { Model } from "./model"; import { StateInfo } from "./interfaces"; import { TagAliasListArgs } from "./argumentTypes"; export declare class TagAliases extends Model { /** * Calls to parent class constructor with state_info. * @param stateInfo - A dictionary containing a user-agent, rate-limiter, and username/API key if logged in. */ constructor(stateInfo: StateInfo); /** * Gets a list of tag aliases, as filtered by parameters * @param {string} [name_matches] - optional; a string against which to match the tag_alias. Permits wildcards, e.g. "horse*" * @param {string} [status] - optional; one of 'approved', 'active', 'pending', 'deleted', 'retired', 'processing', 'queued', or 'blank'. * @param {string} [order] - optional; one of 'status', 'created_at', 'updated_at', 'name', or 'tag_count.' Default, if not provided, is 'status'. * @param {string} [antecedent_tag_category] - optional; the tag category to which the original tag belonged: one of 'approved', 'active', 'pending', 'deleted', 'retired', 'processing', or 'queued'. * @param {string} [consequent_tag_category] - optional; the tag category to which the new tag belongs: one of 'approved', 'active', 'pending', 'deleted', 'retired', 'processing', or 'queued'. * @param {number} [limit] - optional; the number of tag_aliases to return; limits greater than 1,000 default to a maximum of 1,000, per the API. * @param {number} [page] - optional; the page of tag_aliases to return (pages are defined as traunches of size 'limit.' Defaults to 75.) * @param {number} [before_page] - optional; limits results to ID numbers lesser than before_page * @param {number} [after_page] - optional; limits results to ID numbers greater than after_page * @returns a JSON dictionary listing tag_aliases meeting the criteria given, and information thereabout (e.g. id, status, etc.) */ list: ({ name_matches, status, order, antecedent_tag_category, consequent_tag_category, limit, page, before_page, after_page, }: TagAliasListArgs) => Promise>; private parse_category; }