UNPKG

internet-avatar.js

Version:

Library for connecting to Internet Avatar API.

26 lines (25 loc) 588 B
import { Client } from "client"; /** * Represents a basic data model. * * @abstract */ export declare class Base { /** * The client that instantiated this structure. * * @type {Client} * @readonly */ readonly _client: Client; constructor(client: Client); /** * When JSON.stringify is called on this class, this method is called. * We use it to exclude the client property from the output. */ toJSON(): Record<string, unknown>; /** * Returns a string representation of this object. */ toString(): string; }