import { type Conversation } from "../../entities/v1/index.js"; import { type Method } from "../../method.js"; import { type Paginator } from "../../paginator.js"; import { type DefaultPaginationParams } from "../../resource.js"; export interface Conversations$SelectResource { /** * Remove conversation * @return N/A * @see https://docs.joinmastodon.org/methods/timelines/conversations/#delete */ remove: Method; /** * Mark as read * @return Conversation * @see https://docs.joinmastodon.org/methods/timelines/conversations/#post */ read: Method; /** https://github.com/mastodon/mastodon/pull/25509 */ unread: Method; } export interface ConversationsResource { $select(id: string): Conversations$SelectResource; /** * Show conversation * @param params Parameters * @return Array of Conversation * @see https://docs.joinmastodon.org/methods/timelines/conversations/ */ list: Method, DefaultPaginationParams>; } /** @deprecated Use `ConversationsResource` instead. */ export type ConversationRepository = ConversationsResource;