import Response from "../util/Response"; import { AxiosPromise } from "axios"; declare class TipEmojis { /** * Retrieve a list of emojis for tupping. * * @see https://api.glitch.fun/api/documentation#/Post%20Route/resourcePostList * * @returns promise */ static list(params?: Record): AxiosPromise>; /** * Create a new emoji to use when tipping. * * @see https://api.glitch.fun/api/documentation#/Post%20Route/newPostResourceStorage * * @param data The data to be passed when creating a post. * * @returns Promise */ static create(data: object, params?: Record): AxiosPromise>; /** * Update an emoji for tipping. * * @see https://api.glitch.fun/api/documentation#/Post%20Route/updatePostStorage * * @param type_id The id of the post to update. * @param data The data to update. * * @returns promise */ static update(type_id: string, data: object, params?: Record): AxiosPromise>; /** * Retrieve a single emoji resource to be used when tipping. * * @see https://api.glitch.fun/api/documentation#/Post%20Route/showPostStorage * * @param type_id The id fo the post to retrieve. * * @returns promise */ static view(type_id: string, params?: Record): AxiosPromise>; /** * Delete an emoji resource. * * @see https://api.glitch.fun/api/documentation#/Post%20Route/destoryPostStorage * * @param type_id The id of the post to delete. * @returns promise */ static delete(type_id: string, params?: Record): AxiosPromise>; } export default TipEmojis;