pl-api
    Preparing search index...

    Class PlApiClient

    Mastodon API client.

    Index

    Constructors

    • Parameters

      • baseURL: string

        Mastodon API-compatible server URL

      • OptionalaccessToken: string

        OAuth token for an authorized user

      • __namedParameters: PlApiClientConstructorOpts = {}

      Returns PlApiClient

    Properties

    accounts: {
        biteAccount: (accountId: string) => Promise<{}>;
        createScrobble: (
            params: CreateScrobbleParams,
        ) => Promise<
            {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: (...) | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: string; value: string; verified_at: (...)
                            | (...) }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: string; value: string; verified_at: string }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: (...) | (...);
                                href: (...) | (...);
                                name: (...) | (...);
                                object_id: (...) | (...);
                                price: (...) | (...);
                                type: (...) | (...);
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: boolean;
                                blocking: boolean;
                                domain_blocking: boolean;
                                endorsed: boolean;
                                followed_by: boolean;
                                following: boolean;
                                id: string;
                                muting: boolean;
                                muting_notifications: boolean;
                                note: string;
                                notifying: boolean;
                                requested: boolean;
                                showing_reblogs: boolean;
                            };
                            roles: {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                album: string;
                artist: string;
                created_at: string;
                external_link: null
                | string;
                id: string;
                length: null | number;
                title: string;
            },
        >;
        followAccount: (
            accountId: string,
            params?: FollowAccountParams,
        ) => Promise<
            {
                blocked_by: boolean;
                blocking: boolean;
                domain_blocking: boolean;
                endorsed: boolean;
                followed_by: boolean;
                following: boolean;
                id: string;
                muting: boolean;
                muting_notifications: boolean;
                note: string;
                notifying: boolean;
                requested: boolean;
                showing_reblogs: boolean;
            },
        >;
        getAccount: (
            accountId: string,
            params?: WithMutedParam,
        ) => Promise<Account>;
        getAccountAntennas: (accountId: string) => Promise<Antenna[]>;
        getAccountCircles: (accountId: string) => Promise<Antenna[]>;
        getAccountEndorsements: (
            accountId: string,
            params?: GetAccountEndorsementsParams,
        ) => Promise<PaginatedResponse<Account, true>>;
        getAccountExcludeAntennas: (
            accountId: string,
        ) => Promise<{ id: string; title: string }[]>;
        getAccountFavourites: (
            accountId: string,
            params?: PaginationParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        getAccountFeaturedTags: (
            accountId: string,
        ) => Promise<
            {
                id: string;
                last_status_at: number;
                name: string;
                statuses_count: number;
                url?: string;
            }[],
        >;
        getAccountFollowers: (
            accountId: string,
            params?: GetAccountFollowersParams,
        ) => Promise<PaginatedResponse<Account, true>>;
        getAccountFollowing: (
            accountId: string,
            params?: GetAccountFollowingParams,
        ) => Promise<PaginatedResponse<Account, true>>;
        getAccountLists: (
            accountId: string,
        ) => Promise<
            {
                antennas: Antenna[];
                exclusive?: boolean;
                favourite?: boolean;
                id: string;
                notify?: boolean;
                replies_policy?: string;
                title: string;
            }[],
        >;
        getAccounts: (accountId: string[]) => Promise<Account[]>;
        getAccountStatuses: (
            accountId: string,
            params?: GetAccountStatusesParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        getAccountSubscribers: (
            accountId: string,
            params?: GetAccountSubscribersParams,
        ) => Promise<PaginatedResponse<Account, true>>;
        getBirthdays: (day: number, month: number) => Promise<Account[]>;
        getFamiliarFollowers: (
            accountIds: string[],
        ) => Promise<{ accounts: Account[]; id: string }[]>;
        getRelationships: (
            accountIds: string[],
            params?: GetRelationshipsParams,
        ) => Promise<
            {
                blocked_by: boolean;
                blocking: boolean;
                domain_blocking: boolean;
                endorsed: boolean;
                followed_by: boolean;
                following: boolean;
                id: string;
                muting: boolean;
                muting_notifications: boolean;
                note: string;
                notifying: boolean;
                requested: boolean;
                showing_reblogs: boolean;
            }[],
        >;
        getScrobbles: (
            accountId: string,
            params?: PaginationParams,
        ) => Promise<
            PaginatedResponse<
                {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: null | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: null
                        | string }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: any; source?: any };
                                accepts_chat_messages: null | boolean;
                                acct: string;
                                ap_id: null | string;
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: null | string;
                                birthday?: string;
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: boolean;
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                enable_rss: boolean;
                                favicon?: string;
                                fields: { name: ...; value: ...; verified_at: ... }[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: boolean;
                                hide_favorites: boolean;
                                hide_followers?: boolean;
                                hide_followers_count?: boolean;
                                hide_follows?: boolean;
                                hide_follows_count?: boolean;
                                id: string;
                                identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                                is_admin?: boolean;
                                is_cat: boolean;
                                is_moderator?: boolean;
                                is_suggested?: boolean;
                                last_status_at: null | string;
                                limited?: boolean;
                                local?: boolean;
                                location?: string;
                                locked: boolean;
                                mention_policy: "none" | "only_known" | "only_followers";
                                noindex: null | boolean;
                                note: string;
                                payment_options: {
                                    chain_id: ...;
                                    href: ...;
                                    name: ...;
                                    object_id: ...;
                                    price: ...;
                                    type: ...;
                                }[];
                                permit_followback?: boolean;
                                pronouns: string[];
                                relationship?: {
                                    blocked_by: ...;
                                    blocking: ...;
                                    domain_blocking: ...;
                                    endorsed: ...;
                                    followed_by: ...;
                                    following: ...;
                                    id: ...;
                                    muting: ...;
                                    muting_notifications: ...;
                                    note: ...;
                                    notifying: ...;
                                    requested: ...;
                                    showing_reblogs: ...;
                                };
                                roles: {
                                    color: ...;
                                    highlighted: ...;
                                    id: ...;
                                    name: ...;
                                    permissions: ...;
                                }[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: boolean;
                                url: string;
                                username: string;
                                verified?: boolean;
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: null | string;
                            href: null | string;
                            name: null | string;
                            object_id: null | string;
                            price: null | string;
                            type: "link" | "monero-subscription";
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    album: string;
                    artist: string;
                    created_at: string;
                    external_link: null
                    | string;
                    id: string;
                    length: null | number;
                    title: string;
                },
                true,
            >,
        >;
        loadActivities: (accountId: string) => Promise<{}>;
        lookupAccount: (acct: string, meta?: RequestMeta) => Promise<Account>;
        pinAccount: (
            accountId: string,
        ) => Promise<
            {
                blocked_by: boolean;
                blocking: boolean;
                domain_blocking: boolean;
                endorsed: boolean;
                followed_by: boolean;
                following: boolean;
                id: string;
                muting: boolean;
                muting_notifications: boolean;
                note: string;
                notifying: boolean;
                requested: boolean;
                showing_reblogs: boolean;
            },
        >;
        remoteInteraction: (
            ap_id: string,
            profile: string,
        ) => Promise<{ url: string }>;
        removeAccountFromFollowers: (
            accountId: string,
        ) => Promise<
            {
                blocked_by: boolean;
                blocking: boolean;
                domain_blocking: boolean;
                endorsed: boolean;
                followed_by: boolean;
                following: boolean;
                id: string;
                muting: boolean;
                muting_notifications: boolean;
                note: string;
                notifying: boolean;
                requested: boolean;
                showing_reblogs: boolean;
            },
        >;
        reportAccount: (
            accountId: string,
            params: ReportAccountParams,
        ) => Promise<
            {
                action_taken?: boolean;
                action_taken_at: null
                | string;
                category?: string;
                comment?: string;
                created_at?: string;
                forwarded?: boolean;
                id: string;
                rule_ids: null | string;
                status_ids: null | string;
                target_account: null | Account;
            },
        >;
        searchAccounts: (
            q: string,
            params?: SearchAccountParams,
            meta?: RequestMeta,
        ) => Promise<Account[]>;
        unfollowAccount: (
            accountId: string,
        ) => Promise<
            {
                blocked_by: boolean;
                blocking: boolean;
                domain_blocking: boolean;
                endorsed: boolean;
                followed_by: boolean;
                following: boolean;
                id: string;
                muting: boolean;
                muting_notifications: boolean;
                note: string;
                notifying: boolean;
                requested: boolean;
                showing_reblogs: boolean;
            },
        >;
        unpinAccount: (
            accountId: string,
        ) => Promise<
            {
                blocked_by: boolean;
                blocking: boolean;
                domain_blocking: boolean;
                endorsed: boolean;
                followed_by: boolean;
                following: boolean;
                id: string;
                muting: boolean;
                muting_notifications: boolean;
                note: string;
                notifying: boolean;
                requested: boolean;
                showing_reblogs: boolean;
            },
        >;
        updateAccountNote: (
            accountId: string,
            comment: string,
        ) => Promise<
            {
                blocked_by: boolean;
                blocking: boolean;
                domain_blocking: boolean;
                endorsed: boolean;
                followed_by: boolean;
                following: boolean;
                id: string;
                muting: boolean;
                muting_notifications: boolean;
                note: string;
                notifying: boolean;
                requested: boolean;
                showing_reblogs: boolean;
            },
        >;
    } = ...

    Type declaration

    • biteAccount: (accountId: string) => Promise<{}>

      Bite the given user.

      Requires featuresFeatures.bites.

    • createScrobble: (
          params: CreateScrobbleParams,
      ) => Promise<
          {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: (...) | (...);
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: string; value: string; verified_at: (...)
                          | (...) }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: string; value: string; verified_at: string }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: (...) | (...);
                              href: (...) | (...);
                              name: (...) | (...);
                              object_id: (...) | (...);
                              price: (...) | (...);
                              type: (...) | (...);
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: boolean;
                              blocking: boolean;
                              domain_blocking: boolean;
                              endorsed: boolean;
                              followed_by: boolean;
                              following: boolean;
                              id: string;
                              muting: boolean;
                              muting_notifications: boolean;
                              note: string;
                              notifying: boolean;
                              requested: boolean;
                              showing_reblogs: boolean;
                          };
                          roles: {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              album: string;
              artist: string;
              created_at: string;
              external_link: null
              | string;
              id: string;
              length: null | number;
              title: string;
          },
      >

      Creates a new Listen activity for an account

      Requires featuresFeatures.scrobbles

    • followAccount: (
          accountId: string,
          params?: FollowAccountParams,
      ) => Promise<
          {
              blocked_by: boolean;
              blocking: boolean;
              domain_blocking: boolean;
              endorsed: boolean;
              followed_by: boolean;
              following: boolean;
              id: string;
              muting: boolean;
              muting_notifications: boolean;
              note: string;
              notifying: boolean;
              requested: boolean;
              showing_reblogs: boolean;
          },
      >

      Follow account Follow the given account. Can also be used to update whether to show reblogs or enable notifications.

    • getAccount: (accountId: string, params?: WithMutedParam) => Promise<Account>

      Get account View information about a profile.

    • getAccountAntennas: (accountId: string) => Promise<Antenna[]>

      Get antennas containing this account User antennas that you have added this account to. Requires featuresFeatures.antennas.

    • getAccountCircles: (accountId: string) => Promise<Antenna[]>

      Get circles including this account User circles that you have added this account to. Requires featuresFeatures.circles.

    • getAccountEndorsements: (
          accountId: string,
          params?: GetAccountEndorsementsParams,
      ) => Promise<PaginatedResponse<Account, true>>

      Endorsements Returns endorsed accounts

      Requires featuresFeatures.accountEndorsements.

    • getAccountExcludeAntennas: (accountId: string) => Promise<{ id: string; title: string }[]>

      Get antennas excluding this account Requires featuresFeatures.antennas.

    • getAccountFavourites: (
          accountId: string,
          params?: PaginationParams,
      ) => Promise<PaginatedResponse<Status, true>>

      Returns favorites timeline of any user

      Requires featuresFeatures.publicFavourites.

    • getAccountFeaturedTags: (
          accountId: string,
      ) => Promise<
          {
              id: string;
              last_status_at: number;
              name: string;
              statuses_count: number;
              url?: string;
          }[],
      >

      Get account’s featured tags Tags featured by this account.

      Requires featuresFeatures.featuredTags.

    • getAccountFollowers: (
          accountId: string,
          params?: GetAccountFollowersParams,
      ) => Promise<PaginatedResponse<Account, true>>

      Get account’s followers Accounts which follow the given account, if network is not hidden by the account owner.

    • getAccountFollowing: (
          accountId: string,
          params?: GetAccountFollowingParams,
      ) => Promise<PaginatedResponse<Account, true>>

      Get account’s following Accounts which the given account is following, if network is not hidden by the account owner.

    • getAccountLists: (
          accountId: string,
      ) => Promise<
          {
              antennas: Antenna[];
              exclusive?: boolean;
              favourite?: boolean;
              id: string;
              notify?: boolean;
              replies_policy?: string;
              title: string;
          }[],
      >

      Get lists containing this account User lists that you have added this account to.

    • getAccounts: (accountId: string[]) => Promise<Account[]>

      Get multiple accounts View information about multiple profiles.

      Requires featuresFeatures.getAccounts.

    • getAccountStatuses: (
          accountId: string,
          params?: GetAccountStatusesParams,
      ) => Promise<PaginatedResponse<Status, true>>

      Get account’s statuses Statuses posted to the given account.

    • getAccountSubscribers: (
          accountId: string,
          params?: GetAccountSubscribersParams,
      ) => Promise<PaginatedResponse<Account, true>>

      Subscriptions to the given user.

      Requires featuresFeatures.subscriptions.

    • getBirthdays: (day: number, month: number) => Promise<Account[]>

      Birthday reminders Birthday reminders about users you follow.

      Requires featuresFeatures.birthdays.

    • getFamiliarFollowers: (accountIds: string[]) => Promise<{ accounts: Account[]; id: string }[]>

      Find familiar followers Obtain a list of all accounts that follow a given account, filtered for accounts you follow.

      Requires featuresFeatures.familiarFollowers.

    • getRelationships: (
          accountIds: string[],
          params?: GetRelationshipsParams,
      ) => Promise<
          {
              blocked_by: boolean;
              blocking: boolean;
              domain_blocking: boolean;
              endorsed: boolean;
              followed_by: boolean;
              following: boolean;
              id: string;
              muting: boolean;
              muting_notifications: boolean;
              note: string;
              notifying: boolean;
              requested: boolean;
              showing_reblogs: boolean;
          }[],
      >

      Check relationships to other accounts Find out whether a given account is followed, blocked, muted, etc.

    • getScrobbles: (
          accountId: string,
          params?: PaginationParams,
      ) => Promise<
          PaginatedResponse<
              {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: null | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: null
                      | string }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: any; source?: any };
                              accepts_chat_messages: null | boolean;
                              acct: string;
                              ap_id: null | string;
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: null | string;
                              birthday?: string;
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: boolean;
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              enable_rss: boolean;
                              favicon?: string;
                              fields: { name: ...; value: ...; verified_at: ... }[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: boolean;
                              hide_favorites: boolean;
                              hide_followers?: boolean;
                              hide_followers_count?: boolean;
                              hide_follows?: boolean;
                              hide_follows_count?: boolean;
                              id: string;
                              identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                              is_admin?: boolean;
                              is_cat: boolean;
                              is_moderator?: boolean;
                              is_suggested?: boolean;
                              last_status_at: null | string;
                              limited?: boolean;
                              local?: boolean;
                              location?: string;
                              locked: boolean;
                              mention_policy: "none" | "only_known" | "only_followers";
                              noindex: null | boolean;
                              note: string;
                              payment_options: {
                                  chain_id: ...;
                                  href: ...;
                                  name: ...;
                                  object_id: ...;
                                  price: ...;
                                  type: ...;
                              }[];
                              permit_followback?: boolean;
                              pronouns: string[];
                              relationship?: {
                                  blocked_by: ...;
                                  blocking: ...;
                                  domain_blocking: ...;
                                  endorsed: ...;
                                  followed_by: ...;
                                  following: ...;
                                  id: ...;
                                  muting: ...;
                                  muting_notifications: ...;
                                  note: ...;
                                  notifying: ...;
                                  requested: ...;
                                  showing_reblogs: ...;
                              };
                              roles: {
                                  color: ...;
                                  highlighted: ...;
                                  id: ...;
                                  name: ...;
                                  permissions: ...;
                              }[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: boolean;
                              url: string;
                              username: string;
                              verified?: boolean;
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: null | string;
                          href: null | string;
                          name: null | string;
                          object_id: null | string;
                          price: null | string;
                          type: "link" | "monero-subscription";
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  album: string;
                  artist: string;
                  created_at: string;
                  external_link: null
                  | string;
                  id: string;
                  length: null | number;
                  title: string;
              },
              true,
          >,
      >

      Requests a list of current and recent Listen activities for an account

      Requires featuresFeatures.scrobbles

    • loadActivities: (accountId: string) => Promise<{}>

      Load latest activities from outbox

      Requires featuresFeatures.loadActivities

    • lookupAccount: (acct: string, meta?: RequestMeta) => Promise<Account>

      Lookup account ID from Webfinger address Quickly lookup a username to see if it is available, skipping WebFinger resolution.

      Requires featuresFeatures.accountLookup.

    • pinAccount: (
          accountId: string,
      ) => Promise<
          {
              blocked_by: boolean;
              blocking: boolean;
              domain_blocking: boolean;
              endorsed: boolean;
              followed_by: boolean;
              following: boolean;
              id: string;
              muting: boolean;
              muting_notifications: boolean;
              note: string;
              notifying: boolean;
              requested: boolean;
              showing_reblogs: boolean;
          },
      >

      Feature account on your profile Add the given account to the user’s featured profiles.

    • remoteInteraction: (ap_id: string, profile: string) => Promise<{ url: string }>

      Interact with profile or status from remote account

      Requires featuresFeatures.remoteInteractions.

    • removeAccountFromFollowers: (
          accountId: string,
      ) => Promise<
          {
              blocked_by: boolean;
              blocking: boolean;
              domain_blocking: boolean;
              endorsed: boolean;
              followed_by: boolean;
              following: boolean;
              id: string;
              muting: boolean;
              muting_notifications: boolean;
              note: string;
              notifying: boolean;
              requested: boolean;
              showing_reblogs: boolean;
          },
      >

      Remove account from followers Remove the given account from your followers.

    • reportAccount: (
          accountId: string,
          params: ReportAccountParams,
      ) => Promise<
          {
              action_taken?: boolean;
              action_taken_at: null
              | string;
              category?: string;
              comment?: string;
              created_at?: string;
              forwarded?: boolean;
              id: string;
              rule_ids: null | string;
              status_ids: null | string;
              target_account: null | Account;
          },
      >

      File a report

    • searchAccounts: (
          q: string,
          params?: SearchAccountParams,
          meta?: RequestMeta,
      ) => Promise<Account[]>

      Search for matching accounts Search for matching accounts by username or display name.

    • unfollowAccount: (
          accountId: string,
      ) => Promise<
          {
              blocked_by: boolean;
              blocking: boolean;
              domain_blocking: boolean;
              endorsed: boolean;
              followed_by: boolean;
              following: boolean;
              id: string;
              muting: boolean;
              muting_notifications: boolean;
              note: string;
              notifying: boolean;
              requested: boolean;
              showing_reblogs: boolean;
          },
      >

      Unfollow account Unfollow the given account.

    • unpinAccount: (
          accountId: string,
      ) => Promise<
          {
              blocked_by: boolean;
              blocking: boolean;
              domain_blocking: boolean;
              endorsed: boolean;
              followed_by: boolean;
              following: boolean;
              id: string;
              muting: boolean;
              muting_notifications: boolean;
              note: string;
              notifying: boolean;
              requested: boolean;
              showing_reblogs: boolean;
          },
      >

      Unfeature account from profile Remove the given account from the user’s featured profiles.

    • updateAccountNote: (
          accountId: string,
          comment: string,
      ) => Promise<
          {
              blocked_by: boolean;
              blocking: boolean;
              domain_blocking: boolean;
              endorsed: boolean;
              followed_by: boolean;
              following: boolean;
              id: string;
              muting: boolean;
              muting_notifications: boolean;
              note: string;
              notifying: boolean;
              requested: boolean;
              showing_reblogs: boolean;
          },
      >

      Set private note on profile Sets a private note on a user.

    admin: {
        accounts: {
            approveAccount: (
                accountId: string,
            ) => Promise<
                {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                },
            >;
            createAccount: (
                params: AdminCreateAccountParams,
            ) => Promise<{ email: string; nickname: string }>;
            deleteAccount: (accountId: string) => Promise<{}>;
            demoteToUser: (accountId: string) => Promise<{}>;
            enableAccount: (
                accountId: string,
            ) => Promise<
                {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                },
            >;
            getAccount: (
                accountId: string,
            ) => Promise<
                {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                },
            >;
            getAccounts: (
                params?: AdminGetAccountsParams,
            ) => Promise<
                PaginatedResponse<
                    {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    },
                    true,
                >,
            >;
            performAccountAction: (
                accountId: string,
                type: AdminAccountAction,
                params?: AdminPerformAccountActionParams,
            ) => Promise<{}>;
            promoteToAdmin: (accountId: string) => Promise<{}>;
            promoteToModerator: (accountId: string) => Promise<{}>;
            rejectAccount: (accountId: string) => Promise<{}>;
            suggestUser: (accountId: string) => Promise<{}>;
            tagUser: (accountId: string, tags: string[]) => Promise<{}>;
            unsensitiveAccount: (
                accountId: string,
            ) => Promise<
                {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                },
            >;
            unsilenceAccount: (
                accountId: string,
            ) => Promise<
                {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                },
            >;
            unsuggestUser: (accountId: string) => Promise<{}>;
            unsuspendAccount: (
                accountId: string,
            ) => Promise<
                {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                },
            >;
            untagUser: (accountId: string, tags: string[]) => Promise<{}>;
        };
        announcements: {
            createAnnouncement: (
                params: AdminCreateAnnouncementParams,
            ) => Promise<
                {
                    all_day: boolean;
                    content: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    ends_at: null
                    | string;
                    id: string;
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    published_at: string;
                    raw_content: string;
                    reactions: {
                        announcement_id: string;
                        count: number;
                        me: boolean;
                        name: string;
                        static_url: null | string;
                        url: null | string;
                    }[];
                    read: boolean;
                    starts_at: null
                    | string;
                    statuses: { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | { accounts: number; day: number; uses: number }[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    updated_at: string;
                },
            >;
            deleteAnnouncement: (announcementId: string) => Promise<{}>;
            getAnnouncement: (
                announcementId: string,
            ) => Promise<
                {
                    all_day: boolean;
                    content: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    ends_at: null
                    | string;
                    id: string;
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    published_at: string;
                    raw_content: string;
                    reactions: {
                        announcement_id: string;
                        count: number;
                        me: boolean;
                        name: string;
                        static_url: null | string;
                        url: null | string;
                    }[];
                    read: boolean;
                    starts_at: null
                    | string;
                    statuses: { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | { accounts: number; day: number; uses: number }[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    updated_at: string;
                },
            >;
            getAnnouncements: (
                params?: AdminGetAnnouncementsParams,
            ) => Promise<
                PaginatedResponse<
                    {
                        all_day: boolean;
                        content: string;
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        ends_at: null
                        | string;
                        id: string;
                        mentions: { acct: string; id: string; url: string; username: string }[];
                        published_at: string;
                        raw_content: string;
                        reactions: {
                            announcement_id: string;
                            count: number;
                            me: boolean;
                            name: string;
                            static_url: null | string;
                            url: null | string;
                        }[];
                        read: boolean;
                        starts_at: null
                        | string;
                        statuses: { [key: string]: string };
                        tags: {
                            following?: boolean;
                            history: null | { accounts: ...; day: ...; uses: ... }[];
                            name: string;
                            total: null | number;
                            url: string;
                        }[];
                        updated_at: string;
                    },
                    true,
                >,
            >;
            updateAnnouncement: (
                announcementId: string,
                params: AdminUpdateAnnouncementParams,
            ) => Promise<
                {
                    all_day: boolean;
                    content: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    ends_at: null
                    | string;
                    id: string;
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    published_at: string;
                    raw_content: string;
                    reactions: {
                        announcement_id: string;
                        count: number;
                        me: boolean;
                        name: string;
                        static_url: null | string;
                        url: null | string;
                    }[];
                    read: boolean;
                    starts_at: null
                    | string;
                    statuses: { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | { accounts: number; day: number; uses: number }[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    updated_at: string;
                },
            >;
        };
        canonicalEmailBlocks: {
            createCanonicalEmailBlock: (
                email: string,
                canonical_email_hash?: string,
            ) => Promise<{ canonical_email_hash: string; id: string }[]>;
            deleteCanonicalEmailBlock: (canonicalEmailBlockId: string) => Promise<{}>;
            getCanonicalEmailBlock: (
                canonicalEmailBlockId: string,
            ) => Promise<{ canonical_email_hash: string; id: string }>;
            getCanonicalEmailBlocks: (
                params?: PaginationParams,
            ) => Promise<
                PaginatedResponse<{ canonical_email_hash: string; id: string }, true>,
            >;
            testCanonicalEmailBlock: (
                email: string,
            ) => Promise<{ canonical_email_hash: string; id: string }[]>;
        };
        config: {
            getPleromaConfig: () => Promise<
                {
                    configs: { group: string; key: string; value: any }[];
                    need_reboot: boolean;
                },
            >;
            updatePleromaConfig: (
                params: { group: string; key: string; value: any }[],
            ) => Promise<
                {
                    configs: { group: string; key: string; value: any }[];
                    need_reboot: boolean;
                },
            >;
        };
        customEmojis: {
            createCustomEmoji: (
                params: AdminCreateCustomEmojiParams,
            ) => Promise<
                {
                    category: null
                    | string;
                    content_type: null | string;
                    disabled: boolean;
                    domain: null | string;
                    id: string;
                    shortcode: string;
                    static_url: string;
                    total_file_size: null | number;
                    updated_at?: string;
                    uri: string;
                    url: string;
                    visible_in_picker: boolean;
                },
            >;
            deleteCustomEmoji: (
                emojiId: string,
            ) => Promise<
                {
                    category: null
                    | string;
                    content_type: null | string;
                    disabled: boolean;
                    domain: null | string;
                    id: string;
                    shortcode: string;
                    static_url: string;
                    total_file_size: null | number;
                    updated_at?: string;
                    uri: string;
                    url: string;
                    visible_in_picker: boolean;
                },
            >;
            getCustomEmoji: (
                emojiId: string,
            ) => Promise<
                {
                    category: null
                    | string;
                    content_type: null | string;
                    disabled: boolean;
                    domain: null | string;
                    id: string;
                    shortcode: string;
                    static_url: string;
                    total_file_size: null | number;
                    updated_at?: string;
                    uri: string;
                    url: string;
                    visible_in_picker: boolean;
                },
            >;
            getCustomEmojis: (
                params: AdminGetCustomEmojisParams,
            ) => Promise<
                PaginatedResponse<
                    {
                        category: null
                        | string;
                        content_type: null | string;
                        disabled: boolean;
                        domain: null | string;
                        id: string;
                        shortcode: string;
                        static_url: string;
                        total_file_size: null | number;
                        updated_at?: string;
                        uri: string;
                        url: string;
                        visible_in_picker: boolean;
                    },
                    true,
                >,
            >;
            updateCustomEmoji: (
                emojiId: string,
                params: AdminUpdateCustomEmojiParams,
            ) => Promise<
                {
                    category: null
                    | string;
                    content_type: null | string;
                    disabled: boolean;
                    domain: null | string;
                    id: string;
                    shortcode: string;
                    static_url: string;
                    total_file_size: null | number;
                    updated_at?: string;
                    uri: string;
                    url: string;
                    visible_in_picker: boolean;
                },
            >;
        };
        dimensions: {
            getDimensions: (
                keys: AdminDimensionKey[],
                params?: AdminGetDimensionsParams,
            ) => Promise<
                {
                    data: {
                        human_key: string;
                        human_value?: string;
                        key: string;
                        unit?: string;
                        value: string;
                    }[];
                    key: string;
                }[],
            >;
        };
        domainAllows: {
            createDomainAllow: (
                domain: string,
            ) => Promise<{ created_at: string; domain: string; id: string }>;
            deleteDomainAllow: (domainAllowId: string) => Promise<{}>;
            getDomainAllow: (
                domainAllowId: string,
            ) => Promise<{ created_at: string; domain: string; id: string }>;
            getDomainAllows: (
                params?: PaginationParams,
            ) => Promise<
                PaginatedResponse<
                    { created_at: string; domain: string; id: string },
                    true,
                >,
            >;
        };
        domainBlocks: {
            createDomainBlock: (
                domain: string,
                params?: AdminCreateDomainBlockParams,
            ) => Promise<
                {
                    created_at: string;
                    digest: string;
                    domain: string;
                    id: string;
                    obfuscate: boolean;
                    private_comment: null
                    | string;
                    public_comment: null | string;
                    reject_media: boolean;
                    reject_reports: boolean;
                    severity: "silence" | "suspend" | "noop";
                },
            >;
            deleteDomainBlock: (domainBlockId: string) => Promise<{}>;
            getDomainBlock: (
                domainBlockId: string,
            ) => Promise<
                {
                    created_at: string;
                    digest: string;
                    domain: string;
                    id: string;
                    obfuscate: boolean;
                    private_comment: null
                    | string;
                    public_comment: null | string;
                    reject_media: boolean;
                    reject_reports: boolean;
                    severity: "silence" | "suspend" | "noop";
                },
            >;
            getDomainBlocks: (
                params?: PaginationParams,
            ) => Promise<
                PaginatedResponse<
                    {
                        created_at: string;
                        digest: string;
                        domain: string;
                        id: string;
                        obfuscate: boolean;
                        private_comment: null
                        | string;
                        public_comment: null | string;
                        reject_media: boolean;
                        reject_reports: boolean;
                        severity: "silence" | "suspend" | "noop";
                    },
                    true,
                >,
            >;
            updateDomainBlock: (
                domainBlockId: string,
                params?: AdminCreateDomainBlockParams,
            ) => Promise<
                {
                    created_at: string;
                    digest: string;
                    domain: string;
                    id: string;
                    obfuscate: boolean;
                    private_comment: null
                    | string;
                    public_comment: null | string;
                    reject_media: boolean;
                    reject_reports: boolean;
                    severity: "silence" | "suspend" | "noop";
                },
            >;
        };
        domains: {
            createDomain: (
                params: AdminCreateDomainParams,
            ) => Promise<
                {
                    domain: string;
                    id: string;
                    last_checked_at: null
                    | string;
                    public: boolean;
                    resolves: boolean;
                },
            >;
            deleteDomain: (domainId: string) => Promise<{}>;
            getDomains: () => Promise<
                {
                    domain: string;
                    id: string;
                    last_checked_at: null
                    | string;
                    public: boolean;
                    resolves: boolean;
                }[],
            >;
            updateDomain: (
                domainId: string,
                isPublic: boolean,
            ) => Promise<
                {
                    domain: string;
                    id: string;
                    last_checked_at: null
                    | string;
                    public: boolean;
                    resolves: boolean;
                },
            >;
        };
        emailDomainBlocks: {
            createEmailDomainBlock: (
                domain: string,
            ) => Promise<
                {
                    created_at: string;
                    domain: string;
                    history: { accounts: string; day: string; uses: string }[];
                    id: string;
                },
            >;
            deleteEmailDomainBlock: (emailDomainBlockId: string) => Promise<{}>;
            getEmailDomainBlock: (
                emailDomainBlockId: string,
            ) => Promise<
                {
                    created_at: string;
                    domain: string;
                    history: { accounts: string; day: string; uses: string }[];
                    id: string;
                },
            >;
            getEmailDomainBlocks: (
                params?: PaginationParams,
            ) => Promise<
                PaginatedResponse<
                    {
                        created_at: string;
                        domain: string;
                        history: { accounts: string; day: string; uses: string }[];
                        id: string;
                    },
                    true,
                >,
            >;
        };
        ipBlocks: {
            createIpBlock: (
                params: AdminCreateIpBlockParams,
            ) => Promise<
                {
                    comment: string;
                    created_at: string;
                    expires_at: null
                    | string;
                    id: string;
                    ip: string;
                    severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
                },
            >;
            deleteIpBlock: (ipBlockId: string) => Promise<{}>;
            getIpBlock: (
                ipBlockId: string,
            ) => Promise<
                {
                    comment: string;
                    created_at: string;
                    expires_at: null
                    | string;
                    id: string;
                    ip: string;
                    severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
                },
            >;
            getIpBlocks: (
                params?: PaginationParams,
            ) => Promise<
                PaginatedResponse<
                    {
                        comment: string;
                        created_at: string;
                        expires_at: null
                        | string;
                        id: string;
                        ip: string;
                        severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
                    },
                    true,
                >,
            >;
            updateIpBlock: (
                ipBlockId: string,
                params: AdminCreateIpBlockParams,
            ) => Promise<
                {
                    comment: string;
                    created_at: string;
                    expires_at: null
                    | string;
                    id: string;
                    ip: string;
                    severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
                },
            >;
        };
        measures: {
            getMeasures: (
                keys: AdminMeasureKey[],
                start_at: string,
                end_at: string,
                params?: AdminGetMeasuresParams,
            ) => Promise<
                {
                    data: { date: string; value: number }[];
                    human_value?: string;
                    key: string;
                    previous_total?: number;
                    total: number;
                    unit: null | string;
                }[],
            >;
        };
        moderationLog: {
            getModerationLog: (
                __namedParameters?: AdminGetModerationLogParams,
            ) => Promise<
                PaginatedResponse<
                    {
                        data: { [key: string]: any };
                        id: string;
                        message: string;
                        time: number;
                    },
                    true,
                >,
            >;
        };
        relays: {
            followRelay: (
                relayUrl: string,
            ) => Promise<{ actor: string; followed_back: boolean; id: string }>;
            getRelays: () => Promise<
                { actor: string; followed_back: boolean; id: string }[],
            >;
            unfollowRelay: (
                relayUrl: string,
                force?: boolean,
            ) => Promise<{ actor: string; followed_back: boolean; id: string }>;
        };
        reports: {
            assignReportToSelf: (
                reportId: string,
            ) => Promise<
                {
                    account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    action_taken?: boolean;
                    action_taken_at: null
                    | string;
                    action_taken_by_account:
                        | null
                        | {
                            account: null
                            | Account;
                            actor_type: null | string;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: null | string;
                            domain: null | string;
                            email: null | string;
                            id: string;
                            invite_request: null | string;
                            invited_by_account_id?: string;
                            ip: null | string;
                            ips: { ip: string; used_at: string }[];
                            locale: null | string;
                            role:
                                | null
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                };
                            silenced: boolean;
                            suggested: null
                            | boolean;
                            suspended: boolean;
                            username: string;
                        };
                    assigned_account: | null
                    | {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    category?: string;
                    comment?: string;
                    created_at?: string;
                    forwarded?: boolean;
                    id: string;
                    rules: {
                        hint: string;
                        id: string;
                        text: string;
                        translations?: { [key: string]: { hint: string; text: string } };
                    }[];
                    statuses: {
                        account: null
                        | Account;
                        application: null | { name: string; website: null | string };
                        approval_status: null | "rejected" | "pending" | "approval";
                        bookmark_folder: null | string;
                        bookmarked: boolean;
                        card:
                            | null
                            | {
                                author_name: string;
                                author_url: string;
                                authors: { account: ...; name: ...; url: ... }[];
                                blurhash: null | string;
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: null | string;
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: "link" | "video" | "photo" | "rich";
                                url: string;
                                width: number;
                            };
                        content: string;
                        content_map: null
                        | { [key: string]: string };
                        content_type: null | string;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: null | string;
                        emoji_reactions: (
                            | {
                                account_ids: (...)[];
                                accounts: (...)[];
                                count: (...) | (...);
                                me: boolean;
                                name: string;
                                static_url: undefined;
                                url: undefined;
                            }
                            | {
                                account_ids: (...)[];
                                accounts: (...)[];
                                count: (...) | (...);
                                me: boolean;
                                name: string;
                                static_url: string;
                                url: string;
                            }
                        )[];
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | null
                        | {
                            end_time: null
                            | string;
                            join_mode: null | "free" | "restricted" | "invite" | "external";
                            join_state: null | "pending" | "reject" | "accept";
                            location:
                                | null
                                | {
                                    country: ...;
                                    latitude: ...;
                                    locality: ...;
                                    longitude: ...;
                                    name: ...;
                                    postal_code: ...;
                                    region: ...;
                                    street: ...;
                                    url: ...;
                                };
                            name: string;
                            participants_count: number;
                            start_time: null
                            | string;
                        };
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: (...)[];
                                expires_at: (...) | (...);
                                filter_action: (...) | (...) | (...);
                                id: string;
                                title: string;
                            };
                            keyword_matches: null
                            | string;
                            status_matches: null | string;
                        }[];
                        group: | null
                        | {
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            created_at: string;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            header: string;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: null
                            | { id: ... };
                            relationship:
                                | null
                                | { id: ...; member: ...; requested: ...; role: ... };
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        };
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: null
                        | string;
                        in_reply_to_id: null | string;
                        interaction_policy: {
                            can_favourite: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reblog: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reply: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                        };
                        language: null
                        | string;
                        list_id: null | number;
                        local?: boolean;
                        media_attachments: (
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { focus?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "image";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "video";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; focus?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "gifv";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { colors?: ...; duration?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "audio";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "unknown";
                                url: string;
                            }
                        )[];
                        mentions: { acct: string; id: string; url: string; username: string }[];
                        muted: boolean;
                        parent_visible?: boolean;
                        pinned: boolean;
                        pinned_at: null | string;
                        poll:
                            | null
                            | {
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                expired: boolean;
                                expires_at: null
                                | string;
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: { title: ...; title_map: ...; votes_count: ... }[];
                                own_votes: null | (...)[];
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            };
                        quote: | null
                        | {
                            state: | "rejected"
                            | "pending"
                            | "accepted"
                            | "revoked"
                            | "deleted"
                            | "unauthorized";
                            status: null
                            | Status;
                        }
                        | {
                            state: | "rejected"
                            | "pending"
                            | "accepted"
                            | "revoked"
                            | "deleted"
                            | "unauthorized";
                            status_id: null
                            | string;
                        };
                        quote_id: null
                        | string;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblog: null | Status;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | null
                            | {
                                description: null
                                | string;
                                id: string;
                                image_url: null | string;
                                title: null | string;
                                url: string;
                            };
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: null
                        | { [key: string]: string };
                        tags: {
                            following?: boolean;
                            history: null | (...)[];
                            name: string;
                            total: null | number;
                            url: string;
                        }[];
                        text: null
                        | string;
                        text_map: null | { [key: string]: string };
                        thread_muted?: boolean;
                        translation:
                            | null
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: null
                                | string;
                                media_attachments: { description: ...; id: ... }[];
                                poll?: { id: ...; options: ... };
                                provider: null | string;
                                spoiler_text: string;
                            };
                        uri: string;
                        url: string;
                        visibility: string;
                    }[];
                    target_account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    updated_at?: string;
                },
            >;
            getReport: (
                reportId: string,
            ) => Promise<
                {
                    account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    action_taken?: boolean;
                    action_taken_at: null
                    | string;
                    action_taken_by_account:
                        | null
                        | {
                            account: null
                            | Account;
                            actor_type: null | string;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: null | string;
                            domain: null | string;
                            email: null | string;
                            id: string;
                            invite_request: null | string;
                            invited_by_account_id?: string;
                            ip: null | string;
                            ips: { ip: string; used_at: string }[];
                            locale: null | string;
                            role:
                                | null
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                };
                            silenced: boolean;
                            suggested: null
                            | boolean;
                            suspended: boolean;
                            username: string;
                        };
                    assigned_account: | null
                    | {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    category?: string;
                    comment?: string;
                    created_at?: string;
                    forwarded?: boolean;
                    id: string;
                    rules: {
                        hint: string;
                        id: string;
                        text: string;
                        translations?: { [key: string]: { hint: string; text: string } };
                    }[];
                    statuses: {
                        account: null
                        | Account;
                        application: null | { name: string; website: null | string };
                        approval_status: null | "rejected" | "pending" | "approval";
                        bookmark_folder: null | string;
                        bookmarked: boolean;
                        card:
                            | null
                            | {
                                author_name: string;
                                author_url: string;
                                authors: { account: ...; name: ...; url: ... }[];
                                blurhash: null | string;
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: null | string;
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: "link" | "video" | "photo" | "rich";
                                url: string;
                                width: number;
                            };
                        content: string;
                        content_map: null
                        | { [key: string]: string };
                        content_type: null | string;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: null | string;
                        emoji_reactions: (
                            | {
                                account_ids: (...)[];
                                accounts: (...)[];
                                count: (...) | (...);
                                me: boolean;
                                name: string;
                                static_url: undefined;
                                url: undefined;
                            }
                            | {
                                account_ids: (...)[];
                                accounts: (...)[];
                                count: (...) | (...);
                                me: boolean;
                                name: string;
                                static_url: string;
                                url: string;
                            }
                        )[];
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | null
                        | {
                            end_time: null
                            | string;
                            join_mode: null | "free" | "restricted" | "invite" | "external";
                            join_state: null | "pending" | "reject" | "accept";
                            location:
                                | null
                                | {
                                    country: ...;
                                    latitude: ...;
                                    locality: ...;
                                    longitude: ...;
                                    name: ...;
                                    postal_code: ...;
                                    region: ...;
                                    street: ...;
                                    url: ...;
                                };
                            name: string;
                            participants_count: number;
                            start_time: null
                            | string;
                        };
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: (...)[];
                                expires_at: (...) | (...);
                                filter_action: (...) | (...) | (...);
                                id: string;
                                title: string;
                            };
                            keyword_matches: null
                            | string;
                            status_matches: null | string;
                        }[];
                        group: | null
                        | {
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            created_at: string;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            header: string;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: null
                            | { id: ... };
                            relationship:
                                | null
                                | { id: ...; member: ...; requested: ...; role: ... };
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        };
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: null
                        | string;
                        in_reply_to_id: null | string;
                        interaction_policy: {
                            can_favourite: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reblog: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reply: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                        };
                        language: null
                        | string;
                        list_id: null | number;
                        local?: boolean;
                        media_attachments: (
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { focus?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "image";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "video";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; focus?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "gifv";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { colors?: ...; duration?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "audio";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "unknown";
                                url: string;
                            }
                        )[];
                        mentions: { acct: string; id: string; url: string; username: string }[];
                        muted: boolean;
                        parent_visible?: boolean;
                        pinned: boolean;
                        pinned_at: null | string;
                        poll:
                            | null
                            | {
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                expired: boolean;
                                expires_at: null
                                | string;
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: { title: ...; title_map: ...; votes_count: ... }[];
                                own_votes: null | (...)[];
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            };
                        quote: | null
                        | {
                            state: | "rejected"
                            | "pending"
                            | "accepted"
                            | "revoked"
                            | "deleted"
                            | "unauthorized";
                            status: null
                            | Status;
                        }
                        | {
                            state: | "rejected"
                            | "pending"
                            | "accepted"
                            | "revoked"
                            | "deleted"
                            | "unauthorized";
                            status_id: null
                            | string;
                        };
                        quote_id: null
                        | string;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblog: null | Status;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | null
                            | {
                                description: null
                                | string;
                                id: string;
                                image_url: null | string;
                                title: null | string;
                                url: string;
                            };
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: null
                        | { [key: string]: string };
                        tags: {
                            following?: boolean;
                            history: null | (...)[];
                            name: string;
                            total: null | number;
                            url: string;
                        }[];
                        text: null
                        | string;
                        text_map: null | { [key: string]: string };
                        thread_muted?: boolean;
                        translation:
                            | null
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: null
                                | string;
                                media_attachments: { description: ...; id: ... }[];
                                poll?: { id: ...; options: ... };
                                provider: null | string;
                                spoiler_text: string;
                            };
                        uri: string;
                        url: string;
                        visibility: string;
                    }[];
                    target_account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    updated_at?: string;
                },
            >;
            getReports: (
                params?: AdminGetReportsParams,
            ) => Promise<
                PaginatedResponse<
                    {
                        account: {
                            account: null
                            | Account;
                            actor_type: null | string;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: null | string;
                            domain: null | string;
                            email: null | string;
                            id: string;
                            invite_request: null | string;
                            invited_by_account_id?: string;
                            ip: null | string;
                            ips: { ip: string; used_at: string }[];
                            locale: null | string;
                            role:
                                | null
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                };
                            silenced: boolean;
                            suggested: null
                            | boolean;
                            suspended: boolean;
                            username: string;
                        };
                        action_taken?: boolean;
                        action_taken_at: null
                        | string;
                        action_taken_by_account:
                            | null
                            | {
                                account: null
                                | Account;
                                actor_type: null | string;
                                approved: boolean;
                                confirmed: boolean;
                                created_at: string;
                                created_by_application_id?: string;
                                disabled: boolean;
                                display_name: null | string;
                                domain: null | string;
                                email: null | string;
                                id: string;
                                invite_request: null | string;
                                invited_by_account_id?: string;
                                ip: null | string;
                                ips: { ip: string; used_at: string }[];
                                locale: null | string;
                                role:
                                    | null
                                    | {
                                        color: string;
                                        highlighted: boolean;
                                        id: string;
                                        name: string;
                                        permissions: string;
                                    };
                                silenced: boolean;
                                suggested: null
                                | boolean;
                                suspended: boolean;
                                username: string;
                            };
                        assigned_account: | null
                        | {
                            account: null
                            | Account;
                            actor_type: null | string;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: null | string;
                            domain: null | string;
                            email: null | string;
                            id: string;
                            invite_request: null | string;
                            invited_by_account_id?: string;
                            ip: null | string;
                            ips: { ip: string; used_at: string }[];
                            locale: null | string;
                            role:
                                | null
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                };
                            silenced: boolean;
                            suggested: null
                            | boolean;
                            suspended: boolean;
                            username: string;
                        };
                        category?: string;
                        comment?: string;
                        created_at?: string;
                        forwarded?: boolean;
                        id: string;
                        rules: {
                            hint: string;
                            id: string;
                            text: string;
                            translations?: { [key: string]: { hint: ...; text: ... } };
                        }[];
                        statuses: {
                            account: null
                            | Account;
                            application: null | { name: string; website: (...) | (...) };
                            approval_status: null | "rejected" | "pending" | "approval";
                            bookmark_folder: null | string;
                            bookmarked: boolean;
                            card:
                                | null
                                | {
                                    author_name: string;
                                    author_url: string;
                                    authors: (...)[];
                                    blurhash: (...) | (...);
                                    description: string;
                                    embed_url: string;
                                    height: number;
                                    html: string;
                                    image: (...) | (...);
                                    image_description: string;
                                    provider_name: string;
                                    provider_url: string;
                                    title: string;
                                    type: (...) | (...) | (...) | (...);
                                    url: string;
                                    width: number;
                                };
                            content: string;
                            content_map: null
                            | { [key: string]: string };
                            content_type: null | string;
                            conversation_id?: string;
                            created_at: string;
                            direct_conversation_id?: string;
                            disliked: boolean;
                            dislikes_count: number;
                            edited_at: null | string;
                            emoji_reactions: (
                                | {
                                    account_ids: ...;
                                    accounts: ...;
                                    count: ...;
                                    me: ...;
                                    name: ...;
                                    static_url: ...;
                                    url: ...;
                                }
                                | {
                                    account_ids: ...;
                                    accounts: ...;
                                    count: ...;
                                    me: ...;
                                    name: ...;
                                    static_url: ...;
                                    url: ...;
                                }
                            )[];
                            emojis: {
                                category: (...)
                                | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            event: | null
                            | {
                                end_time: (...)
                                | (...);
                                join_mode: (...) | (...) | (...) | (...) | (...);
                                join_state: (...) | (...) | (...) | (...);
                                location: (...) | (...);
                                name: string;
                                participants_count: number;
                                start_time: (...) | (...);
                            };
                            expires_at?: string;
                            favourited: boolean;
                            favourites_count: number;
                            filtered: {
                                filter: {
                                    context: ...;
                                    expires_at: ...;
                                    filter_action: ...;
                                    id: ...;
                                    title: ...;
                                };
                                keyword_matches: (...)
                                | (...);
                                status_matches: (...) | (...);
                            }[];
                            group: | null
                            | {
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                created_at: string;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                header: string;
                                header_description: string;
                                header_static: string;
                                id: string;
                                locked: boolean;
                                members_count: number;
                                membership_required: boolean;
                                note: string;
                                owner: (...) | (...);
                                relationship: (...) | (...);
                                statuses_visibility: string;
                                uri: string;
                                url: string;
                            };
                            id: string;
                            in_reply_to_account_acct?: string;
                            in_reply_to_account_id: null
                            | string;
                            in_reply_to_id: null | string;
                            interaction_policy: {
                                can_favourite: { always: (...)[]; with_approval: (...)[] };
                                can_reblog: { always: (...)[]; with_approval: (...)[] };
                                can_reply: { always: (...)[]; with_approval: (...)[] };
                            };
                            language: null
                            | string;
                            list_id: null | number;
                            local?: boolean;
                            media_attachments: (
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                            )[];
                            mentions: { acct: string; id: string; url: string; username: string }[];
                            muted: boolean;
                            parent_visible?: boolean;
                            pinned: boolean;
                            pinned_at: null | string;
                            poll:
                                | null
                                | {
                                    emojis: (...)[];
                                    expired: boolean;
                                    expires_at: (...) | (...);
                                    id: string;
                                    multiple: boolean;
                                    non_anonymous: boolean;
                                    options: (...)[];
                                    own_votes: (...) | (...);
                                    voted: boolean;
                                    voters_count: number;
                                    votes_count: number;
                                };
                            quote: | null
                            | {
                                state: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                status: (...) | (...);
                            }
                            | {
                                state: (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                                status_id: (...) | (...);
                            };
                            quote_id: null
                            | string;
                            quote_url?: string;
                            quote_visible?: boolean;
                            quotes_count: number;
                            reblog: null | Status;
                            reblogged: boolean;
                            reblogs_count: number;
                            replies_count: number;
                            rss_feed:
                                | null
                                | {
                                    description: (...)
                                    | (...);
                                    id: string;
                                    image_url: (...) | (...);
                                    title: (...) | (...);
                                    url: string;
                                };
                            scheduled_at: null;
                            sensitive: boolean;
                            spoiler_text: string;
                            spoiler_text_map: null
                            | { [key: string]: string };
                            tags: {
                                following?: (...) | (...) | (...);
                                history: (...) | (...);
                                name: string;
                                total: (...) | (...);
                                url: string;
                            }[];
                            text: null
                            | string;
                            text_map: null | { [key: string]: string };
                            thread_muted?: boolean;
                            translation:
                                | null
                                | false
                                | {
                                    content: string;
                                    detected_source_language: string;
                                    id: (...)
                                    | (...);
                                    media_attachments: (...)[];
                                    poll?: (...) | (...);
                                    provider: (...) | (...);
                                    spoiler_text: string;
                                };
                            uri: string;
                            url: string;
                            visibility: string;
                        }[];
                        target_account: {
                            account: null
                            | Account;
                            actor_type: null | string;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: null | string;
                            domain: null | string;
                            email: null | string;
                            id: string;
                            invite_request: null | string;
                            invited_by_account_id?: string;
                            ip: null | string;
                            ips: { ip: string; used_at: string }[];
                            locale: null | string;
                            role:
                                | null
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                };
                            silenced: boolean;
                            suggested: null
                            | boolean;
                            suspended: boolean;
                            username: string;
                        };
                        updated_at?: string;
                    },
                    true,
                >,
            >;
            reopenReport: (
                reportId: string,
            ) => Promise<
                {
                    account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    action_taken?: boolean;
                    action_taken_at: null
                    | string;
                    action_taken_by_account:
                        | null
                        | {
                            account: null
                            | Account;
                            actor_type: null | string;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: null | string;
                            domain: null | string;
                            email: null | string;
                            id: string;
                            invite_request: null | string;
                            invited_by_account_id?: string;
                            ip: null | string;
                            ips: { ip: string; used_at: string }[];
                            locale: null | string;
                            role:
                                | null
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                };
                            silenced: boolean;
                            suggested: null
                            | boolean;
                            suspended: boolean;
                            username: string;
                        };
                    assigned_account: | null
                    | {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    category?: string;
                    comment?: string;
                    created_at?: string;
                    forwarded?: boolean;
                    id: string;
                    rules: {
                        hint: string;
                        id: string;
                        text: string;
                        translations?: { [key: string]: { hint: string; text: string } };
                    }[];
                    statuses: {
                        account: null
                        | Account;
                        application: null | { name: string; website: null | string };
                        approval_status: null | "rejected" | "pending" | "approval";
                        bookmark_folder: null | string;
                        bookmarked: boolean;
                        card:
                            | null
                            | {
                                author_name: string;
                                author_url: string;
                                authors: { account: ...; name: ...; url: ... }[];
                                blurhash: null | string;
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: null | string;
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: "link" | "video" | "photo" | "rich";
                                url: string;
                                width: number;
                            };
                        content: string;
                        content_map: null
                        | { [key: string]: string };
                        content_type: null | string;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: null | string;
                        emoji_reactions: (
                            | {
                                account_ids: (...)[];
                                accounts: (...)[];
                                count: (...) | (...);
                                me: boolean;
                                name: string;
                                static_url: undefined;
                                url: undefined;
                            }
                            | {
                                account_ids: (...)[];
                                accounts: (...)[];
                                count: (...) | (...);
                                me: boolean;
                                name: string;
                                static_url: string;
                                url: string;
                            }
                        )[];
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | null
                        | {
                            end_time: null
                            | string;
                            join_mode: null | "free" | "restricted" | "invite" | "external";
                            join_state: null | "pending" | "reject" | "accept";
                            location:
                                | null
                                | {
                                    country: ...;
                                    latitude: ...;
                                    locality: ...;
                                    longitude: ...;
                                    name: ...;
                                    postal_code: ...;
                                    region: ...;
                                    street: ...;
                                    url: ...;
                                };
                            name: string;
                            participants_count: number;
                            start_time: null
                            | string;
                        };
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: (...)[];
                                expires_at: (...) | (...);
                                filter_action: (...) | (...) | (...);
                                id: string;
                                title: string;
                            };
                            keyword_matches: null
                            | string;
                            status_matches: null | string;
                        }[];
                        group: | null
                        | {
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            created_at: string;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            header: string;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: null
                            | { id: ... };
                            relationship:
                                | null
                                | { id: ...; member: ...; requested: ...; role: ... };
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        };
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: null
                        | string;
                        in_reply_to_id: null | string;
                        interaction_policy: {
                            can_favourite: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reblog: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reply: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                        };
                        language: null
                        | string;
                        list_id: null | number;
                        local?: boolean;
                        media_attachments: (
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { focus?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "image";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "video";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; focus?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "gifv";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { colors?: ...; duration?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "audio";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "unknown";
                                url: string;
                            }
                        )[];
                        mentions: { acct: string; id: string; url: string; username: string }[];
                        muted: boolean;
                        parent_visible?: boolean;
                        pinned: boolean;
                        pinned_at: null | string;
                        poll:
                            | null
                            | {
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                expired: boolean;
                                expires_at: null
                                | string;
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: { title: ...; title_map: ...; votes_count: ... }[];
                                own_votes: null | (...)[];
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            };
                        quote: | null
                        | {
                            state: | "rejected"
                            | "pending"
                            | "accepted"
                            | "revoked"
                            | "deleted"
                            | "unauthorized";
                            status: null
                            | Status;
                        }
                        | {
                            state: | "rejected"
                            | "pending"
                            | "accepted"
                            | "revoked"
                            | "deleted"
                            | "unauthorized";
                            status_id: null
                            | string;
                        };
                        quote_id: null
                        | string;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblog: null | Status;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | null
                            | {
                                description: null
                                | string;
                                id: string;
                                image_url: null | string;
                                title: null | string;
                                url: string;
                            };
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: null
                        | { [key: string]: string };
                        tags: {
                            following?: boolean;
                            history: null | (...)[];
                            name: string;
                            total: null | number;
                            url: string;
                        }[];
                        text: null
                        | string;
                        text_map: null | { [key: string]: string };
                        thread_muted?: boolean;
                        translation:
                            | null
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: null
                                | string;
                                media_attachments: { description: ...; id: ... }[];
                                poll?: { id: ...; options: ... };
                                provider: null | string;
                                spoiler_text: string;
                            };
                        uri: string;
                        url: string;
                        visibility: string;
                    }[];
                    target_account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    updated_at?: string;
                },
            >;
            resolveReport: (
                reportId: string,
                action_taken_comment?: string,
            ) => Promise<
                {
                    account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    action_taken?: boolean;
                    action_taken_at: null
                    | string;
                    action_taken_by_account:
                        | null
                        | {
                            account: null
                            | Account;
                            actor_type: null | string;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: null | string;
                            domain: null | string;
                            email: null | string;
                            id: string;
                            invite_request: null | string;
                            invited_by_account_id?: string;
                            ip: null | string;
                            ips: { ip: string; used_at: string }[];
                            locale: null | string;
                            role:
                                | null
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                };
                            silenced: boolean;
                            suggested: null
                            | boolean;
                            suspended: boolean;
                            username: string;
                        };
                    assigned_account: | null
                    | {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    category?: string;
                    comment?: string;
                    created_at?: string;
                    forwarded?: boolean;
                    id: string;
                    rules: {
                        hint: string;
                        id: string;
                        text: string;
                        translations?: { [key: string]: { hint: string; text: string } };
                    }[];
                    statuses: {
                        account: null
                        | Account;
                        application: null | { name: string; website: null | string };
                        approval_status: null | "rejected" | "pending" | "approval";
                        bookmark_folder: null | string;
                        bookmarked: boolean;
                        card:
                            | null
                            | {
                                author_name: string;
                                author_url: string;
                                authors: { account: ...; name: ...; url: ... }[];
                                blurhash: null | string;
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: null | string;
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: "link" | "video" | "photo" | "rich";
                                url: string;
                                width: number;
                            };
                        content: string;
                        content_map: null
                        | { [key: string]: string };
                        content_type: null | string;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: null | string;
                        emoji_reactions: (
                            | {
                                account_ids: (...)[];
                                accounts: (...)[];
                                count: (...) | (...);
                                me: boolean;
                                name: string;
                                static_url: undefined;
                                url: undefined;
                            }
                            | {
                                account_ids: (...)[];
                                accounts: (...)[];
                                count: (...) | (...);
                                me: boolean;
                                name: string;
                                static_url: string;
                                url: string;
                            }
                        )[];
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | null
                        | {
                            end_time: null
                            | string;
                            join_mode: null | "free" | "restricted" | "invite" | "external";
                            join_state: null | "pending" | "reject" | "accept";
                            location:
                                | null
                                | {
                                    country: ...;
                                    latitude: ...;
                                    locality: ...;
                                    longitude: ...;
                                    name: ...;
                                    postal_code: ...;
                                    region: ...;
                                    street: ...;
                                    url: ...;
                                };
                            name: string;
                            participants_count: number;
                            start_time: null
                            | string;
                        };
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: (...)[];
                                expires_at: (...) | (...);
                                filter_action: (...) | (...) | (...);
                                id: string;
                                title: string;
                            };
                            keyword_matches: null
                            | string;
                            status_matches: null | string;
                        }[];
                        group: | null
                        | {
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            created_at: string;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            header: string;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: null
                            | { id: ... };
                            relationship:
                                | null
                                | { id: ...; member: ...; requested: ...; role: ... };
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        };
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: null
                        | string;
                        in_reply_to_id: null | string;
                        interaction_policy: {
                            can_favourite: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reblog: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reply: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                        };
                        language: null
                        | string;
                        list_id: null | number;
                        local?: boolean;
                        media_attachments: (
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { focus?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "image";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "video";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; focus?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "gifv";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { colors?: ...; duration?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "audio";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "unknown";
                                url: string;
                            }
                        )[];
                        mentions: { acct: string; id: string; url: string; username: string }[];
                        muted: boolean;
                        parent_visible?: boolean;
                        pinned: boolean;
                        pinned_at: null | string;
                        poll:
                            | null
                            | {
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                expired: boolean;
                                expires_at: null
                                | string;
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: { title: ...; title_map: ...; votes_count: ... }[];
                                own_votes: null | (...)[];
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            };
                        quote: | null
                        | {
                            state: | "rejected"
                            | "pending"
                            | "accepted"
                            | "revoked"
                            | "deleted"
                            | "unauthorized";
                            status: null
                            | Status;
                        }
                        | {
                            state: | "rejected"
                            | "pending"
                            | "accepted"
                            | "revoked"
                            | "deleted"
                            | "unauthorized";
                            status_id: null
                            | string;
                        };
                        quote_id: null
                        | string;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblog: null | Status;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | null
                            | {
                                description: null
                                | string;
                                id: string;
                                image_url: null | string;
                                title: null | string;
                                url: string;
                            };
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: null
                        | { [key: string]: string };
                        tags: {
                            following?: boolean;
                            history: null | (...)[];
                            name: string;
                            total: null | number;
                            url: string;
                        }[];
                        text: null
                        | string;
                        text_map: null | { [key: string]: string };
                        thread_muted?: boolean;
                        translation:
                            | null
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: null
                                | string;
                                media_attachments: { description: ...; id: ... }[];
                                poll?: { id: ...; options: ... };
                                provider: null | string;
                                spoiler_text: string;
                            };
                        uri: string;
                        url: string;
                        visibility: string;
                    }[];
                    target_account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    updated_at?: string;
                },
            >;
            unassignReport: (
                reportId: string,
            ) => Promise<
                {
                    account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    action_taken?: boolean;
                    action_taken_at: null
                    | string;
                    action_taken_by_account:
                        | null
                        | {
                            account: null
                            | Account;
                            actor_type: null | string;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: null | string;
                            domain: null | string;
                            email: null | string;
                            id: string;
                            invite_request: null | string;
                            invited_by_account_id?: string;
                            ip: null | string;
                            ips: { ip: string; used_at: string }[];
                            locale: null | string;
                            role:
                                | null
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                };
                            silenced: boolean;
                            suggested: null
                            | boolean;
                            suspended: boolean;
                            username: string;
                        };
                    assigned_account: | null
                    | {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    category?: string;
                    comment?: string;
                    created_at?: string;
                    forwarded?: boolean;
                    id: string;
                    rules: {
                        hint: string;
                        id: string;
                        text: string;
                        translations?: { [key: string]: { hint: string; text: string } };
                    }[];
                    statuses: {
                        account: null
                        | Account;
                        application: null | { name: string; website: null | string };
                        approval_status: null | "rejected" | "pending" | "approval";
                        bookmark_folder: null | string;
                        bookmarked: boolean;
                        card:
                            | null
                            | {
                                author_name: string;
                                author_url: string;
                                authors: { account: ...; name: ...; url: ... }[];
                                blurhash: null | string;
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: null | string;
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: "link" | "video" | "photo" | "rich";
                                url: string;
                                width: number;
                            };
                        content: string;
                        content_map: null
                        | { [key: string]: string };
                        content_type: null | string;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: null | string;
                        emoji_reactions: (
                            | {
                                account_ids: (...)[];
                                accounts: (...)[];
                                count: (...) | (...);
                                me: boolean;
                                name: string;
                                static_url: undefined;
                                url: undefined;
                            }
                            | {
                                account_ids: (...)[];
                                accounts: (...)[];
                                count: (...) | (...);
                                me: boolean;
                                name: string;
                                static_url: string;
                                url: string;
                            }
                        )[];
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | null
                        | {
                            end_time: null
                            | string;
                            join_mode: null | "free" | "restricted" | "invite" | "external";
                            join_state: null | "pending" | "reject" | "accept";
                            location:
                                | null
                                | {
                                    country: ...;
                                    latitude: ...;
                                    locality: ...;
                                    longitude: ...;
                                    name: ...;
                                    postal_code: ...;
                                    region: ...;
                                    street: ...;
                                    url: ...;
                                };
                            name: string;
                            participants_count: number;
                            start_time: null
                            | string;
                        };
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: (...)[];
                                expires_at: (...) | (...);
                                filter_action: (...) | (...) | (...);
                                id: string;
                                title: string;
                            };
                            keyword_matches: null
                            | string;
                            status_matches: null | string;
                        }[];
                        group: | null
                        | {
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            created_at: string;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            header: string;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: null
                            | { id: ... };
                            relationship:
                                | null
                                | { id: ...; member: ...; requested: ...; role: ... };
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        };
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: null
                        | string;
                        in_reply_to_id: null | string;
                        interaction_policy: {
                            can_favourite: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reblog: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reply: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                        };
                        language: null
                        | string;
                        list_id: null | number;
                        local?: boolean;
                        media_attachments: (
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { focus?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "image";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "video";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; focus?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "gifv";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { colors?: ...; duration?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "audio";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "unknown";
                                url: string;
                            }
                        )[];
                        mentions: { acct: string; id: string; url: string; username: string }[];
                        muted: boolean;
                        parent_visible?: boolean;
                        pinned: boolean;
                        pinned_at: null | string;
                        poll:
                            | null
                            | {
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                expired: boolean;
                                expires_at: null
                                | string;
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: { title: ...; title_map: ...; votes_count: ... }[];
                                own_votes: null | (...)[];
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            };
                        quote: | null
                        | {
                            state: | "rejected"
                            | "pending"
                            | "accepted"
                            | "revoked"
                            | "deleted"
                            | "unauthorized";
                            status: null
                            | Status;
                        }
                        | {
                            state: | "rejected"
                            | "pending"
                            | "accepted"
                            | "revoked"
                            | "deleted"
                            | "unauthorized";
                            status_id: null
                            | string;
                        };
                        quote_id: null
                        | string;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblog: null | Status;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | null
                            | {
                                description: null
                                | string;
                                id: string;
                                image_url: null | string;
                                title: null | string;
                                url: string;
                            };
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: null
                        | { [key: string]: string };
                        tags: {
                            following?: boolean;
                            history: null | (...)[];
                            name: string;
                            total: null | number;
                            url: string;
                        }[];
                        text: null
                        | string;
                        text_map: null | { [key: string]: string };
                        thread_muted?: boolean;
                        translation:
                            | null
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: null
                                | string;
                                media_attachments: { description: ...; id: ... }[];
                                poll?: { id: ...; options: ... };
                                provider: null | string;
                                spoiler_text: string;
                            };
                        uri: string;
                        url: string;
                        visibility: string;
                    }[];
                    target_account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    updated_at?: string;
                },
            >;
            updateReport: (
                reportId: string,
                params: AdminUpdateReportParams,
            ) => Promise<
                {
                    account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    action_taken?: boolean;
                    action_taken_at: null
                    | string;
                    action_taken_by_account:
                        | null
                        | {
                            account: null
                            | Account;
                            actor_type: null | string;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: null | string;
                            domain: null | string;
                            email: null | string;
                            id: string;
                            invite_request: null | string;
                            invited_by_account_id?: string;
                            ip: null | string;
                            ips: { ip: string; used_at: string }[];
                            locale: null | string;
                            role:
                                | null
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                };
                            silenced: boolean;
                            suggested: null
                            | boolean;
                            suspended: boolean;
                            username: string;
                        };
                    assigned_account: | null
                    | {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    category?: string;
                    comment?: string;
                    created_at?: string;
                    forwarded?: boolean;
                    id: string;
                    rules: {
                        hint: string;
                        id: string;
                        text: string;
                        translations?: { [key: string]: { hint: string; text: string } };
                    }[];
                    statuses: {
                        account: null
                        | Account;
                        application: null | { name: string; website: null | string };
                        approval_status: null | "rejected" | "pending" | "approval";
                        bookmark_folder: null | string;
                        bookmarked: boolean;
                        card:
                            | null
                            | {
                                author_name: string;
                                author_url: string;
                                authors: { account: ...; name: ...; url: ... }[];
                                blurhash: null | string;
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: null | string;
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: "link" | "video" | "photo" | "rich";
                                url: string;
                                width: number;
                            };
                        content: string;
                        content_map: null
                        | { [key: string]: string };
                        content_type: null | string;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: null | string;
                        emoji_reactions: (
                            | {
                                account_ids: (...)[];
                                accounts: (...)[];
                                count: (...) | (...);
                                me: boolean;
                                name: string;
                                static_url: undefined;
                                url: undefined;
                            }
                            | {
                                account_ids: (...)[];
                                accounts: (...)[];
                                count: (...) | (...);
                                me: boolean;
                                name: string;
                                static_url: string;
                                url: string;
                            }
                        )[];
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | null
                        | {
                            end_time: null
                            | string;
                            join_mode: null | "free" | "restricted" | "invite" | "external";
                            join_state: null | "pending" | "reject" | "accept";
                            location:
                                | null
                                | {
                                    country: ...;
                                    latitude: ...;
                                    locality: ...;
                                    longitude: ...;
                                    name: ...;
                                    postal_code: ...;
                                    region: ...;
                                    street: ...;
                                    url: ...;
                                };
                            name: string;
                            participants_count: number;
                            start_time: null
                            | string;
                        };
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: (...)[];
                                expires_at: (...) | (...);
                                filter_action: (...) | (...) | (...);
                                id: string;
                                title: string;
                            };
                            keyword_matches: null
                            | string;
                            status_matches: null | string;
                        }[];
                        group: | null
                        | {
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            created_at: string;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            header: string;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: null
                            | { id: ... };
                            relationship:
                                | null
                                | { id: ...; member: ...; requested: ...; role: ... };
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        };
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: null
                        | string;
                        in_reply_to_id: null | string;
                        interaction_policy: {
                            can_favourite: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reblog: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reply: {
                                always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                                with_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                        };
                        language: null
                        | string;
                        list_id: null | number;
                        local?: boolean;
                        media_attachments: (
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { focus?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "image";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "video";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; focus?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "gifv";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { colors?: ...; duration?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "audio";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "unknown";
                                url: string;
                            }
                        )[];
                        mentions: { acct: string; id: string; url: string; username: string }[];
                        muted: boolean;
                        parent_visible?: boolean;
                        pinned: boolean;
                        pinned_at: null | string;
                        poll:
                            | null
                            | {
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                expired: boolean;
                                expires_at: null
                                | string;
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: { title: ...; title_map: ...; votes_count: ... }[];
                                own_votes: null | (...)[];
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            };
                        quote: | null
                        | {
                            state: | "rejected"
                            | "pending"
                            | "accepted"
                            | "revoked"
                            | "deleted"
                            | "unauthorized";
                            status: null
                            | Status;
                        }
                        | {
                            state: | "rejected"
                            | "pending"
                            | "accepted"
                            | "revoked"
                            | "deleted"
                            | "unauthorized";
                            status_id: null
                            | string;
                        };
                        quote_id: null
                        | string;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblog: null | Status;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | null
                            | {
                                description: null
                                | string;
                                id: string;
                                image_url: null | string;
                                title: null | string;
                                url: string;
                            };
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: null
                        | { [key: string]: string };
                        tags: {
                            following?: boolean;
                            history: null | (...)[];
                            name: string;
                            total: null | number;
                            url: string;
                        }[];
                        text: null
                        | string;
                        text_map: null | { [key: string]: string };
                        thread_muted?: boolean;
                        translation:
                            | null
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: null
                                | string;
                                media_attachments: { description: ...; id: ... }[];
                                poll?: { id: ...; options: ... };
                                provider: null | string;
                                spoiler_text: string;
                            };
                        uri: string;
                        url: string;
                        visibility: string;
                    }[];
                    target_account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    updated_at?: string;
                },
            >;
        };
        retention: {
            getRetention: (
                start_at: string,
                end_at: string,
                frequency: "day" | "month",
            ) => Promise<
                {
                    data: { date: string; rate: number; value: number }[];
                    frequency: "day" | "month";
                    period: string;
                }[],
            >;
        };
        rules: {
            createRule: (
                params: AdminCreateRuleParams,
            ) => Promise<
                {
                    created_at?: string;
                    hint: string;
                    id: string;
                    priority: null
                    | number;
                    text: string;
                    updated_at?: string;
                },
            >;
            deleteRule: (ruleId: string) => Promise<{}>;
            getRules: () => Promise<
                {
                    created_at?: string;
                    hint: string;
                    id: string;
                    priority: null
                    | number;
                    text: string;
                    updated_at?: string;
                }[],
            >;
            updateRule: (
                ruleId: string,
                params: AdminUpdateRuleParams,
            ) => Promise<
                {
                    created_at?: string;
                    hint: string;
                    id: string;
                    priority: null
                    | number;
                    text: string;
                    updated_at?: string;
                },
            >;
        };
        statuses: {
            deleteStatus: (statusId: string) => Promise<{}>;
            getStatus: (statusId: string) => Promise<Status>;
            getStatuses: (
                params?: AdminGetStatusesParams,
            ) => Promise<PaginatedResponse<Status, true>>;
            updateStatus: (
                statusId: string,
                params: AdminUpdateStatusParams,
            ) => Promise<Status>;
        };
        trends: {
            getTrendingLinks: () => Promise<
                {
                    author_name: string;
                    author_url: string;
                    blurhash: null
                    | string;
                    description: string;
                    embed_url: string;
                    height: null | number;
                    history: null | { accounts: number; day: number; uses: number }[];
                    html: string;
                    id: string;
                    image: null | string;
                    image_description: null | string;
                    provider_name: string;
                    provider_url: string;
                    title: string;
                    type: "link" | "video" | "photo" | "rich";
                    url: string;
                    width: null | number;
                }[],
            >;
            getTrendingStatuses: () => Promise<Status[]>;
            getTrendingTags: () => Promise<
                {
                    following?: boolean;
                    history: null
                    | { accounts: number; day: number; uses: number }[];
                    id: string;
                    name: string;
                    requires_review: boolean;
                    total: null | number;
                    trendable: boolean;
                    url: string;
                    usable: boolean;
                }[],
            >;
        };
    } = ...

    Type declaration

    • accounts: {
          approveAccount: (
              accountId: string,
          ) => Promise<
              {
                  account: null
                  | Account;
                  actor_type: null | string;
                  approved: boolean;
                  confirmed: boolean;
                  created_at: string;
                  created_by_application_id?: string;
                  disabled: boolean;
                  display_name: null | string;
                  domain: null | string;
                  email: null | string;
                  id: string;
                  invite_request: null | string;
                  invited_by_account_id?: string;
                  ip: null | string;
                  ips: { ip: string; used_at: string }[];
                  locale: null | string;
                  role:
                      | null
                      | {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      };
                  silenced: boolean;
                  suggested: null
                  | boolean;
                  suspended: boolean;
                  username: string;
              },
          >;
          createAccount: (
              params: AdminCreateAccountParams,
          ) => Promise<{ email: string; nickname: string }>;
          deleteAccount: (accountId: string) => Promise<{}>;
          demoteToUser: (accountId: string) => Promise<{}>;
          enableAccount: (
              accountId: string,
          ) => Promise<
              {
                  account: null
                  | Account;
                  actor_type: null | string;
                  approved: boolean;
                  confirmed: boolean;
                  created_at: string;
                  created_by_application_id?: string;
                  disabled: boolean;
                  display_name: null | string;
                  domain: null | string;
                  email: null | string;
                  id: string;
                  invite_request: null | string;
                  invited_by_account_id?: string;
                  ip: null | string;
                  ips: { ip: string; used_at: string }[];
                  locale: null | string;
                  role:
                      | null
                      | {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      };
                  silenced: boolean;
                  suggested: null
                  | boolean;
                  suspended: boolean;
                  username: string;
              },
          >;
          getAccount: (
              accountId: string,
          ) => Promise<
              {
                  account: null
                  | Account;
                  actor_type: null | string;
                  approved: boolean;
                  confirmed: boolean;
                  created_at: string;
                  created_by_application_id?: string;
                  disabled: boolean;
                  display_name: null | string;
                  domain: null | string;
                  email: null | string;
                  id: string;
                  invite_request: null | string;
                  invited_by_account_id?: string;
                  ip: null | string;
                  ips: { ip: string; used_at: string }[];
                  locale: null | string;
                  role:
                      | null
                      | {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      };
                  silenced: boolean;
                  suggested: null
                  | boolean;
                  suspended: boolean;
                  username: string;
              },
          >;
          getAccounts: (
              params?: AdminGetAccountsParams,
          ) => Promise<
              PaginatedResponse<
                  {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  },
                  true,
              >,
          >;
          performAccountAction: (
              accountId: string,
              type: AdminAccountAction,
              params?: AdminPerformAccountActionParams,
          ) => Promise<{}>;
          promoteToAdmin: (accountId: string) => Promise<{}>;
          promoteToModerator: (accountId: string) => Promise<{}>;
          rejectAccount: (accountId: string) => Promise<{}>;
          suggestUser: (accountId: string) => Promise<{}>;
          tagUser: (accountId: string, tags: string[]) => Promise<{}>;
          unsensitiveAccount: (
              accountId: string,
          ) => Promise<
              {
                  account: null
                  | Account;
                  actor_type: null | string;
                  approved: boolean;
                  confirmed: boolean;
                  created_at: string;
                  created_by_application_id?: string;
                  disabled: boolean;
                  display_name: null | string;
                  domain: null | string;
                  email: null | string;
                  id: string;
                  invite_request: null | string;
                  invited_by_account_id?: string;
                  ip: null | string;
                  ips: { ip: string; used_at: string }[];
                  locale: null | string;
                  role:
                      | null
                      | {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      };
                  silenced: boolean;
                  suggested: null
                  | boolean;
                  suspended: boolean;
                  username: string;
              },
          >;
          unsilenceAccount: (
              accountId: string,
          ) => Promise<
              {
                  account: null
                  | Account;
                  actor_type: null | string;
                  approved: boolean;
                  confirmed: boolean;
                  created_at: string;
                  created_by_application_id?: string;
                  disabled: boolean;
                  display_name: null | string;
                  domain: null | string;
                  email: null | string;
                  id: string;
                  invite_request: null | string;
                  invited_by_account_id?: string;
                  ip: null | string;
                  ips: { ip: string; used_at: string }[];
                  locale: null | string;
                  role:
                      | null
                      | {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      };
                  silenced: boolean;
                  suggested: null
                  | boolean;
                  suspended: boolean;
                  username: string;
              },
          >;
          unsuggestUser: (accountId: string) => Promise<{}>;
          unsuspendAccount: (
              accountId: string,
          ) => Promise<
              {
                  account: null
                  | Account;
                  actor_type: null | string;
                  approved: boolean;
                  confirmed: boolean;
                  created_at: string;
                  created_by_application_id?: string;
                  disabled: boolean;
                  display_name: null | string;
                  domain: null | string;
                  email: null | string;
                  id: string;
                  invite_request: null | string;
                  invited_by_account_id?: string;
                  ip: null | string;
                  ips: { ip: string; used_at: string }[];
                  locale: null | string;
                  role:
                      | null
                      | {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      };
                  silenced: boolean;
                  suggested: null
                  | boolean;
                  suspended: boolean;
                  username: string;
              },
          >;
          untagUser: (accountId: string, tags: string[]) => Promise<{}>;
      }

      Perform moderation actions with accounts.

      • approveAccount: (
            accountId: string,
        ) => Promise<
            {
                account: null
                | Account;
                actor_type: null | string;
                approved: boolean;
                confirmed: boolean;
                created_at: string;
                created_by_application_id?: string;
                disabled: boolean;
                display_name: null | string;
                domain: null | string;
                email: null | string;
                id: string;
                invite_request: null | string;
                invited_by_account_id?: string;
                ip: null | string;
                ips: { ip: string; used_at: string }[];
                locale: null | string;
                role:
                    | null
                    | {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    };
                silenced: boolean;
                suggested: null
                | boolean;
                suspended: boolean;
                username: string;
            },
        >

        Approve a pending account Approve the given local account if it is currently pending approval.

      • createAccount: (
            params: AdminCreateAccountParams,
        ) => Promise<{ email: string; nickname: string }>
      • deleteAccount: (accountId: string) => Promise<{}>

        Delete an account Permanently delete data for a suspended accountusers

      • demoteToUser: (accountId: string) => Promise<{}>
      • enableAccount: (
            accountId: string,
        ) => Promise<
            {
                account: null
                | Account;
                actor_type: null | string;
                approved: boolean;
                confirmed: boolean;
                created_at: string;
                created_by_application_id?: string;
                disabled: boolean;
                display_name: null | string;
                domain: null | string;
                email: null | string;
                id: string;
                invite_request: null | string;
                invited_by_account_id?: string;
                ip: null | string;
                ips: { ip: string; used_at: string }[];
                locale: null | string;
                role:
                    | null
                    | {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    };
                silenced: boolean;
                suggested: null
                | boolean;
                suspended: boolean;
                username: string;
            },
        >

        Enable a currently disabled account Re-enable a local account whose login is currently disabled.

      • getAccount: (
            accountId: string,
        ) => Promise<
            {
                account: null
                | Account;
                actor_type: null | string;
                approved: boolean;
                confirmed: boolean;
                created_at: string;
                created_by_application_id?: string;
                disabled: boolean;
                display_name: null | string;
                domain: null | string;
                email: null | string;
                id: string;
                invite_request: null | string;
                invited_by_account_id?: string;
                ip: null | string;
                ips: { ip: string; used_at: string }[];
                locale: null | string;
                role:
                    | null
                    | {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    };
                silenced: boolean;
                suggested: null
                | boolean;
                suspended: boolean;
                username: string;
            },
        >

        View a specific account View admin-level information about the given account.

      • getAccounts: (
            params?: AdminGetAccountsParams,
        ) => Promise<
            PaginatedResponse<
                {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                },
                true,
            >,
        >

        View accounts View all accounts, optionally matching certain criteria for filtering, up to 100 at a time.

      • performAccountAction: (
            accountId: string,
            type: AdminAccountAction,
            params?: AdminPerformAccountActionParams,
        ) => Promise<{}>

        Perform an action against an account Perform an action against an account and log this action in the moderation history. Also resolves any open reports against this account.

      • promoteToAdmin: (accountId: string) => Promise<{}>
      • promoteToModerator: (accountId: string) => Promise<{}>
      • rejectAccount: (accountId: string) => Promise<{}>

        Reject a pending account Reject the given local account if it is currently pending approval.

      • suggestUser: (accountId: string) => Promise<{}>

        Tag a user.

        Requires featuresFeatures.pleromaAdminAccounts.

      • tagUser: (accountId: string, tags: string[]) => Promise<{}>

        Tag a user.

        Requires featuresFeatures.pleromaAdminAccounts.

      • unsensitiveAccount: (
            accountId: string,
        ) => Promise<
            {
                account: null
                | Account;
                actor_type: null | string;
                approved: boolean;
                confirmed: boolean;
                created_at: string;
                created_by_application_id?: string;
                disabled: boolean;
                display_name: null | string;
                domain: null | string;
                email: null | string;
                id: string;
                invite_request: null | string;
                invited_by_account_id?: string;
                ip: null | string;
                ips: { ip: string; used_at: string }[];
                locale: null | string;
                role:
                    | null
                    | {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    };
                silenced: boolean;
                suggested: null
                | boolean;
                suspended: boolean;
                username: string;
            },
        >

        Unmark an account as sensitive Stops marking an account’s posts as sensitive, if it was previously flagged as sensitive.

      • unsilenceAccount: (
            accountId: string,
        ) => Promise<
            {
                account: null
                | Account;
                actor_type: null | string;
                approved: boolean;
                confirmed: boolean;
                created_at: string;
                created_by_application_id?: string;
                disabled: boolean;
                display_name: null | string;
                domain: null | string;
                email: null | string;
                id: string;
                invite_request: null | string;
                invited_by_account_id?: string;
                ip: null | string;
                ips: { ip: string; used_at: string }[];
                locale: null | string;
                role:
                    | null
                    | {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    };
                silenced: boolean;
                suggested: null
                | boolean;
                suspended: boolean;
                username: string;
            },
        >

        Unsilence an account Unsilence an account if it is currently silenced.

      • unsuggestUser: (accountId: string) => Promise<{}>

        Untag a user.

        Requires featuresFeatures.pleromaAdminAccounts.

      • unsuspendAccount: (
            accountId: string,
        ) => Promise<
            {
                account: null
                | Account;
                actor_type: null | string;
                approved: boolean;
                confirmed: boolean;
                created_at: string;
                created_by_application_id?: string;
                disabled: boolean;
                display_name: null | string;
                domain: null | string;
                email: null | string;
                id: string;
                invite_request: null | string;
                invited_by_account_id?: string;
                ip: null | string;
                ips: { ip: string; used_at: string }[];
                locale: null | string;
                role:
                    | null
                    | {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    };
                silenced: boolean;
                suggested: null
                | boolean;
                suspended: boolean;
                username: string;
            },
        >

        Unsuspend an account Unsuspend a currently suspended account.

      • untagUser: (accountId: string, tags: string[]) => Promise<{}>

        Untag a user.

        Requires featuresFeatures.pleromaAdminAccounts.

    • announcements: {
          createAnnouncement: (
              params: AdminCreateAnnouncementParams,
          ) => Promise<
              {
                  all_day: boolean;
                  content: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  ends_at: null
                  | string;
                  id: string;
                  mentions: { acct: string; id: string; url: string; username: string }[];
                  published_at: string;
                  raw_content: string;
                  reactions: {
                      announcement_id: string;
                      count: number;
                      me: boolean;
                      name: string;
                      static_url: null | string;
                      url: null | string;
                  }[];
                  read: boolean;
                  starts_at: null
                  | string;
                  statuses: { [key: string]: string };
                  tags: {
                      following?: boolean;
                      history: null | { accounts: number; day: number; uses: number }[];
                      name: string;
                      total: null | number;
                      url: string;
                  }[];
                  updated_at: string;
              },
          >;
          deleteAnnouncement: (announcementId: string) => Promise<{}>;
          getAnnouncement: (
              announcementId: string,
          ) => Promise<
              {
                  all_day: boolean;
                  content: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  ends_at: null
                  | string;
                  id: string;
                  mentions: { acct: string; id: string; url: string; username: string }[];
                  published_at: string;
                  raw_content: string;
                  reactions: {
                      announcement_id: string;
                      count: number;
                      me: boolean;
                      name: string;
                      static_url: null | string;
                      url: null | string;
                  }[];
                  read: boolean;
                  starts_at: null
                  | string;
                  statuses: { [key: string]: string };
                  tags: {
                      following?: boolean;
                      history: null | { accounts: number; day: number; uses: number }[];
                      name: string;
                      total: null | number;
                      url: string;
                  }[];
                  updated_at: string;
              },
          >;
          getAnnouncements: (
              params?: AdminGetAnnouncementsParams,
          ) => Promise<
              PaginatedResponse<
                  {
                      all_day: boolean;
                      content: string;
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      ends_at: null
                      | string;
                      id: string;
                      mentions: { acct: string; id: string; url: string; username: string }[];
                      published_at: string;
                      raw_content: string;
                      reactions: {
                          announcement_id: string;
                          count: number;
                          me: boolean;
                          name: string;
                          static_url: null | string;
                          url: null | string;
                      }[];
                      read: boolean;
                      starts_at: null
                      | string;
                      statuses: { [key: string]: string };
                      tags: {
                          following?: boolean;
                          history: null | { accounts: ...; day: ...; uses: ... }[];
                          name: string;
                          total: null | number;
                          url: string;
                      }[];
                      updated_at: string;
                  },
                  true,
              >,
          >;
          updateAnnouncement: (
              announcementId: string,
              params: AdminUpdateAnnouncementParams,
          ) => Promise<
              {
                  all_day: boolean;
                  content: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  ends_at: null
                  | string;
                  id: string;
                  mentions: { acct: string; id: string; url: string; username: string }[];
                  published_at: string;
                  raw_content: string;
                  reactions: {
                      announcement_id: string;
                      count: number;
                      me: boolean;
                      name: string;
                      static_url: null | string;
                      url: null | string;
                  }[];
                  read: boolean;
                  starts_at: null
                  | string;
                  statuses: { [key: string]: string };
                  tags: {
                      following?: boolean;
                      history: null | { accounts: number; day: number; uses: number }[];
                      name: string;
                      total: null | number;
                      url: string;
                  }[];
                  updated_at: string;
              },
          >;
      }
      • createAnnouncement: (
            params: AdminCreateAnnouncementParams,
        ) => Promise<
            {
                all_day: boolean;
                content: string;
                emojis: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                ends_at: null
                | string;
                id: string;
                mentions: { acct: string; id: string; url: string; username: string }[];
                published_at: string;
                raw_content: string;
                reactions: {
                    announcement_id: string;
                    count: number;
                    me: boolean;
                    name: string;
                    static_url: null | string;
                    url: null | string;
                }[];
                read: boolean;
                starts_at: null
                | string;
                statuses: { [key: string]: string };
                tags: {
                    following?: boolean;
                    history: null | { accounts: number; day: number; uses: number }[];
                    name: string;
                    total: null | number;
                    url: string;
                }[];
                updated_at: string;
            },
        >

        Create an announcement

        Requires featuresFeatures.pleromaAdminAnnouncements.

      • deleteAnnouncement: (announcementId: string) => Promise<{}>

        Delete an announcement

        Requires featuresFeatures.pleromaAdminAnnouncements.

      • getAnnouncement: (
            announcementId: string,
        ) => Promise<
            {
                all_day: boolean;
                content: string;
                emojis: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                ends_at: null
                | string;
                id: string;
                mentions: { acct: string; id: string; url: string; username: string }[];
                published_at: string;
                raw_content: string;
                reactions: {
                    announcement_id: string;
                    count: number;
                    me: boolean;
                    name: string;
                    static_url: null | string;
                    url: null | string;
                }[];
                read: boolean;
                starts_at: null
                | string;
                statuses: { [key: string]: string };
                tags: {
                    following?: boolean;
                    history: null | { accounts: number; day: number; uses: number }[];
                    name: string;
                    total: null | number;
                    url: string;
                }[];
                updated_at: string;
            },
        >

        Display one announcement

        Requires featuresFeatures.pleromaAdminAnnouncements.

      • getAnnouncements: (
            params?: AdminGetAnnouncementsParams,
        ) => Promise<
            PaginatedResponse<
                {
                    all_day: boolean;
                    content: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    ends_at: null
                    | string;
                    id: string;
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    published_at: string;
                    raw_content: string;
                    reactions: {
                        announcement_id: string;
                        count: number;
                        me: boolean;
                        name: string;
                        static_url: null | string;
                        url: null | string;
                    }[];
                    read: boolean;
                    starts_at: null
                    | string;
                    statuses: { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | { accounts: ...; day: ...; uses: ... }[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    updated_at: string;
                },
                true,
            >,
        >

        List announcements

        Requires featuresFeatures.pleromaAdminAnnouncements.

      • updateAnnouncement: (
            announcementId: string,
            params: AdminUpdateAnnouncementParams,
        ) => Promise<
            {
                all_day: boolean;
                content: string;
                emojis: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                ends_at: null
                | string;
                id: string;
                mentions: { acct: string; id: string; url: string; username: string }[];
                published_at: string;
                raw_content: string;
                reactions: {
                    announcement_id: string;
                    count: number;
                    me: boolean;
                    name: string;
                    static_url: null | string;
                    url: null | string;
                }[];
                read: boolean;
                starts_at: null
                | string;
                statuses: { [key: string]: string };
                tags: {
                    following?: boolean;
                    history: null | { accounts: number; day: number; uses: number }[];
                    name: string;
                    total: null | number;
                    url: string;
                }[];
                updated_at: string;
            },
        >

        Change an announcement

        Requires featuresFeatures.pleromaAdminAnnouncements.

    • canonicalEmailBlocks: {
          createCanonicalEmailBlock: (
              email: string,
              canonical_email_hash?: string,
          ) => Promise<{ canonical_email_hash: string; id: string }[]>;
          deleteCanonicalEmailBlock: (canonicalEmailBlockId: string) => Promise<{}>;
          getCanonicalEmailBlock: (
              canonicalEmailBlockId: string,
          ) => Promise<{ canonical_email_hash: string; id: string }>;
          getCanonicalEmailBlocks: (
              params?: PaginationParams,
          ) => Promise<
              PaginatedResponse<{ canonical_email_hash: string; id: string }, true>,
          >;
          testCanonicalEmailBlock: (
              email: string,
          ) => Promise<{ canonical_email_hash: string; id: string }[]>;
      }

      Block certain email addresses by their hash.

    • config: {
          getPleromaConfig: () => Promise<
              {
                  configs: { group: string; key: string; value: any }[];
                  need_reboot: boolean;
              },
          >;
          updatePleromaConfig: (
              params: { group: string; key: string; value: any }[],
          ) => Promise<
              {
                  configs: { group: string; key: string; value: any }[];
                  need_reboot: boolean;
              },
          >;
      }
    • customEmojis: {
          createCustomEmoji: (
              params: AdminCreateCustomEmojiParams,
          ) => Promise<
              {
                  category: null
                  | string;
                  content_type: null | string;
                  disabled: boolean;
                  domain: null | string;
                  id: string;
                  shortcode: string;
                  static_url: string;
                  total_file_size: null | number;
                  updated_at?: string;
                  uri: string;
                  url: string;
                  visible_in_picker: boolean;
              },
          >;
          deleteCustomEmoji: (
              emojiId: string,
          ) => Promise<
              {
                  category: null
                  | string;
                  content_type: null | string;
                  disabled: boolean;
                  domain: null | string;
                  id: string;
                  shortcode: string;
                  static_url: string;
                  total_file_size: null | number;
                  updated_at?: string;
                  uri: string;
                  url: string;
                  visible_in_picker: boolean;
              },
          >;
          getCustomEmoji: (
              emojiId: string,
          ) => Promise<
              {
                  category: null
                  | string;
                  content_type: null | string;
                  disabled: boolean;
                  domain: null | string;
                  id: string;
                  shortcode: string;
                  static_url: string;
                  total_file_size: null | number;
                  updated_at?: string;
                  uri: string;
                  url: string;
                  visible_in_picker: boolean;
              },
          >;
          getCustomEmojis: (
              params: AdminGetCustomEmojisParams,
          ) => Promise<
              PaginatedResponse<
                  {
                      category: null
                      | string;
                      content_type: null | string;
                      disabled: boolean;
                      domain: null | string;
                      id: string;
                      shortcode: string;
                      static_url: string;
                      total_file_size: null | number;
                      updated_at?: string;
                      uri: string;
                      url: string;
                      visible_in_picker: boolean;
                  },
                  true,
              >,
          >;
          updateCustomEmoji: (
              emojiId: string,
              params: AdminUpdateCustomEmojiParams,
          ) => Promise<
              {
                  category: null
                  | string;
                  content_type: null | string;
                  disabled: boolean;
                  domain: null | string;
                  id: string;
                  shortcode: string;
                  static_url: string;
                  total_file_size: null | number;
                  updated_at?: string;
                  uri: string;
                  url: string;
                  visible_in_picker: boolean;
              },
          >;
      }
      • createCustomEmoji: (
            params: AdminCreateCustomEmojiParams,
        ) => Promise<
            {
                category: null
                | string;
                content_type: null | string;
                disabled: boolean;
                domain: null | string;
                id: string;
                shortcode: string;
                static_url: string;
                total_file_size: null | number;
                updated_at?: string;
                uri: string;
                url: string;
                visible_in_picker: boolean;
            },
        >

        Get the admin view of a single emoji.

        Requires featuresFeatures.adminCustomEmojis.

      • deleteCustomEmoji: (
            emojiId: string,
        ) => Promise<
            {
                category: null
                | string;
                content_type: null | string;
                disabled: boolean;
                domain: null | string;
                id: string;
                shortcode: string;
                static_url: string;
                total_file_size: null | number;
                updated_at?: string;
                uri: string;
                url: string;
                visible_in_picker: boolean;
            },
        >

        Delete a local emoji with the given ID from the instance.

        Requires featuresFeatures.adminCustomEmojis.

      • getCustomEmoji: (
            emojiId: string,
        ) => Promise<
            {
                category: null
                | string;
                content_type: null | string;
                disabled: boolean;
                domain: null | string;
                id: string;
                shortcode: string;
                static_url: string;
                total_file_size: null | number;
                updated_at?: string;
                uri: string;
                url: string;
                visible_in_picker: boolean;
            },
        >

        Get the admin view of a single emoji.

        Requires featuresFeatures.adminCustomEmojis.

      • getCustomEmojis: (
            params: AdminGetCustomEmojisParams,
        ) => Promise<
            PaginatedResponse<
                {
                    category: null
                    | string;
                    content_type: null | string;
                    disabled: boolean;
                    domain: null | string;
                    id: string;
                    shortcode: string;
                    static_url: string;
                    total_file_size: null | number;
                    updated_at?: string;
                    uri: string;
                    url: string;
                    visible_in_picker: boolean;
                },
                true,
            >,
        >

        View local and remote emojis available to/known by this instance.

        Requires featuresFeatures.adminCustomEmojis.

      • updateCustomEmoji: (
            emojiId: string,
            params: AdminUpdateCustomEmojiParams,
        ) => Promise<
            {
                category: null
                | string;
                content_type: null | string;
                disabled: boolean;
                domain: null | string;
                id: string;
                shortcode: string;
                static_url: string;
                total_file_size: null | number;
                updated_at?: string;
                uri: string;
                url: string;
                visible_in_picker: boolean;
            },
        >
    • dimensions: {
          getDimensions: (
              keys: AdminDimensionKey[],
              params?: AdminGetDimensionsParams,
          ) => Promise<
              {
                  data: {
                      human_key: string;
                      human_value?: string;
                      key: string;
                      unit?: string;
                      value: string;
                  }[];
                  key: string;
              }[],
          >;
      }

      Obtain qualitative metrics about the server.

      • getDimensions: (
            keys: AdminDimensionKey[],
            params?: AdminGetDimensionsParams,
        ) => Promise<
            {
                data: {
                    human_key: string;
                    human_value?: string;
                    key: string;
                    unit?: string;
                    value: string;
                }[];
                key: string;
            }[],
        >

        Get dimensional data Obtain information about popularity of certain accounts, servers, languages, etc.

    • domainAllows: {
          createDomainAllow: (
              domain: string,
          ) => Promise<{ created_at: string; domain: string; id: string }>;
          deleteDomainAllow: (domainAllowId: string) => Promise<{}>;
          getDomainAllow: (
              domainAllowId: string,
          ) => Promise<{ created_at: string; domain: string; id: string }>;
          getDomainAllows: (
              params?: PaginationParams,
          ) => Promise<
              PaginatedResponse<
                  { created_at: string; domain: string; id: string },
                  true,
              >,
          >;
      }

      Allow certain domains to federate.

    • domainBlocks: {
          createDomainBlock: (
              domain: string,
              params?: AdminCreateDomainBlockParams,
          ) => Promise<
              {
                  created_at: string;
                  digest: string;
                  domain: string;
                  id: string;
                  obfuscate: boolean;
                  private_comment: null
                  | string;
                  public_comment: null | string;
                  reject_media: boolean;
                  reject_reports: boolean;
                  severity: "silence" | "suspend" | "noop";
              },
          >;
          deleteDomainBlock: (domainBlockId: string) => Promise<{}>;
          getDomainBlock: (
              domainBlockId: string,
          ) => Promise<
              {
                  created_at: string;
                  digest: string;
                  domain: string;
                  id: string;
                  obfuscate: boolean;
                  private_comment: null
                  | string;
                  public_comment: null | string;
                  reject_media: boolean;
                  reject_reports: boolean;
                  severity: "silence" | "suspend" | "noop";
              },
          >;
          getDomainBlocks: (
              params?: PaginationParams,
          ) => Promise<
              PaginatedResponse<
                  {
                      created_at: string;
                      digest: string;
                      domain: string;
                      id: string;
                      obfuscate: boolean;
                      private_comment: null
                      | string;
                      public_comment: null | string;
                      reject_media: boolean;
                      reject_reports: boolean;
                      severity: "silence" | "suspend" | "noop";
                  },
                  true,
              >,
          >;
          updateDomainBlock: (
              domainBlockId: string,
              params?: AdminCreateDomainBlockParams,
          ) => Promise<
              {
                  created_at: string;
                  digest: string;
                  domain: string;
                  id: string;
                  obfuscate: boolean;
                  private_comment: null
                  | string;
                  public_comment: null | string;
                  reject_media: boolean;
                  reject_reports: boolean;
                  severity: "silence" | "suspend" | "noop";
              },
          >;
      }

      Disallow certain domains to federate.

      • createDomainBlock: (
            domain: string,
            params?: AdminCreateDomainBlockParams,
        ) => Promise<
            {
                created_at: string;
                digest: string;
                domain: string;
                id: string;
                obfuscate: boolean;
                private_comment: null
                | string;
                public_comment: null | string;
                reject_media: boolean;
                reject_reports: boolean;
                severity: "silence" | "suspend" | "noop";
            },
        >

        Block a domain from federating Add a domain to the list of domains blocked from federating.

      • deleteDomainBlock: (domainBlockId: string) => Promise<{}>

        Remove a domain block Lift a block against a domain.

      • getDomainBlock: (
            domainBlockId: string,
        ) => Promise<
            {
                created_at: string;
                digest: string;
                domain: string;
                id: string;
                obfuscate: boolean;
                private_comment: null
                | string;
                public_comment: null | string;
                reject_media: boolean;
                reject_reports: boolean;
                severity: "silence" | "suspend" | "noop";
            },
        >

        Get a single blocked domain Show information about a single blocked domain.

      • getDomainBlocks: (
            params?: PaginationParams,
        ) => Promise<
            PaginatedResponse<
                {
                    created_at: string;
                    digest: string;
                    domain: string;
                    id: string;
                    obfuscate: boolean;
                    private_comment: null
                    | string;
                    public_comment: null | string;
                    reject_media: boolean;
                    reject_reports: boolean;
                    severity: "silence" | "suspend" | "noop";
                },
                true,
            >,
        >

        List all blocked domains Show information about all blocked domains.

      • updateDomainBlock: (
            domainBlockId: string,
            params?: AdminCreateDomainBlockParams,
        ) => Promise<
            {
                created_at: string;
                digest: string;
                domain: string;
                id: string;
                obfuscate: boolean;
                private_comment: null
                | string;
                public_comment: null | string;
                reject_media: boolean;
                reject_reports: boolean;
                severity: "silence" | "suspend" | "noop";
            },
        >

        Update a domain block Change parameters for an existing domain block.

    • domains: {
          createDomain: (
              params: AdminCreateDomainParams,
          ) => Promise<
              {
                  domain: string;
                  id: string;
                  last_checked_at: null
                  | string;
                  public: boolean;
                  resolves: boolean;
              },
          >;
          deleteDomain: (domainId: string) => Promise<{}>;
          getDomains: () => Promise<
              {
                  domain: string;
                  id: string;
                  last_checked_at: null
                  | string;
                  public: boolean;
                  resolves: boolean;
              }[],
          >;
          updateDomain: (
              domainId: string,
              isPublic: boolean,
          ) => Promise<
              {
                  domain: string;
                  id: string;
                  last_checked_at: null
                  | string;
                  public: boolean;
                  resolves: boolean;
              },
          >;
      }
      • createDomain: (
            params: AdminCreateDomainParams,
        ) => Promise<
            {
                domain: string;
                id: string;
                last_checked_at: null
                | string;
                public: boolean;
                resolves: boolean;
            },
        >

        Create a domain

        Requires featuresFeatures.domains.

      • deleteDomain: (domainId: string) => Promise<{}>

        Delete a domain

        Requires featuresFeatures.domains.

      • getDomains: () => Promise<
            {
                domain: string;
                id: string;
                last_checked_at: null
                | string;
                public: boolean;
                resolves: boolean;
            }[],
        >

        List of domains

        Requires featuresFeatures.domains.

      • updateDomain: (
            domainId: string,
            isPublic: boolean,
        ) => Promise<
            {
                domain: string;
                id: string;
                last_checked_at: null
                | string;
                public: boolean;
                resolves: boolean;
            },
        >

        Change domain publicity

        Requires featuresFeatures.domains.

    • emailDomainBlocks: {
          createEmailDomainBlock: (
              domain: string,
          ) => Promise<
              {
                  created_at: string;
                  domain: string;
                  history: { accounts: string; day: string; uses: string }[];
                  id: string;
              },
          >;
          deleteEmailDomainBlock: (emailDomainBlockId: string) => Promise<{}>;
          getEmailDomainBlock: (
              emailDomainBlockId: string,
          ) => Promise<
              {
                  created_at: string;
                  domain: string;
                  history: { accounts: string; day: string; uses: string }[];
                  id: string;
              },
          >;
          getEmailDomainBlocks: (
              params?: PaginationParams,
          ) => Promise<
              PaginatedResponse<
                  {
                      created_at: string;
                      domain: string;
                      history: { accounts: string; day: string; uses: string }[];
                      id: string;
                  },
                  true,
              >,
          >;
      }

      Disallow certain email domains from signing up.

      • createEmailDomainBlock: (
            domain: string,
        ) => Promise<
            {
                created_at: string;
                domain: string;
                history: { accounts: string; day: string; uses: string }[];
                id: string;
            },
        >

        Block an email domain from signups Add a domain to the list of email domains blocked from signups.

      • deleteEmailDomainBlock: (emailDomainBlockId: string) => Promise<{}>

        Delete an email domain block Lift a block against an email domain.

      • getEmailDomainBlock: (
            emailDomainBlockId: string,
        ) => Promise<
            {
                created_at: string;
                domain: string;
                history: { accounts: string; day: string; uses: string }[];
                id: string;
            },
        >

        Get a single blocked email domain Show information about a single email domain that is blocked from signups.

      • getEmailDomainBlocks: (
            params?: PaginationParams,
        ) => Promise<
            PaginatedResponse<
                {
                    created_at: string;
                    domain: string;
                    history: { accounts: string; day: string; uses: string }[];
                    id: string;
                },
                true,
            >,
        >

        List all blocked email domains Show information about all email domains blocked from signing up.

    • ipBlocks: {
          createIpBlock: (
              params: AdminCreateIpBlockParams,
          ) => Promise<
              {
                  comment: string;
                  created_at: string;
                  expires_at: null
                  | string;
                  id: string;
                  ip: string;
                  severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
              },
          >;
          deleteIpBlock: (ipBlockId: string) => Promise<{}>;
          getIpBlock: (
              ipBlockId: string,
          ) => Promise<
              {
                  comment: string;
                  created_at: string;
                  expires_at: null
                  | string;
                  id: string;
                  ip: string;
                  severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
              },
          >;
          getIpBlocks: (
              params?: PaginationParams,
          ) => Promise<
              PaginatedResponse<
                  {
                      comment: string;
                      created_at: string;
                      expires_at: null
                      | string;
                      id: string;
                      ip: string;
                      severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
                  },
                  true,
              >,
          >;
          updateIpBlock: (
              ipBlockId: string,
              params: AdminCreateIpBlockParams,
          ) => Promise<
              {
                  comment: string;
                  created_at: string;
                  expires_at: null
                  | string;
                  id: string;
                  ip: string;
                  severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
              },
          >;
      }

      Disallow certain IP address ranges from signing up.

      • createIpBlock: (
            params: AdminCreateIpBlockParams,
        ) => Promise<
            {
                comment: string;
                created_at: string;
                expires_at: null
                | string;
                id: string;
                ip: string;
                severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
            },
        >

        Block an IP address range from signing up Add an IP address range to the list of IP blocks.

      • deleteIpBlock: (ipBlockId: string) => Promise<{}>

        Delete an IP block Lift a block against an IP range.

      • getIpBlock: (
            ipBlockId: string,
        ) => Promise<
            {
                comment: string;
                created_at: string;
                expires_at: null
                | string;
                id: string;
                ip: string;
                severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
            },
        >

        Get a single IP block Show information about a single IP block.

      • getIpBlocks: (
            params?: PaginationParams,
        ) => Promise<
            PaginatedResponse<
                {
                    comment: string;
                    created_at: string;
                    expires_at: null
                    | string;
                    id: string;
                    ip: string;
                    severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
                },
                true,
            >,
        >

        List all IP blocks Show information about all blocked IP ranges.

      • updateIpBlock: (
            ipBlockId: string,
            params: AdminCreateIpBlockParams,
        ) => Promise<
            {
                comment: string;
                created_at: string;
                expires_at: null
                | string;
                id: string;
                ip: string;
                severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
            },
        >

        Update a domain block Change parameters for an existing IP block.

    • measures: {
          getMeasures: (
              keys: AdminMeasureKey[],
              start_at: string,
              end_at: string,
              params?: AdminGetMeasuresParams,
          ) => Promise<
              {
                  data: { date: string; value: number }[];
                  human_value?: string;
                  key: string;
                  previous_total?: number;
                  total: number;
                  unit: null | string;
              }[],
          >;
      }

      Obtain quantitative metrics about the server.

      • getMeasures: (
            keys: AdminMeasureKey[],
            start_at: string,
            end_at: string,
            params?: AdminGetMeasuresParams,
        ) => Promise<
            {
                data: { date: string; value: number }[];
                human_value?: string;
                key: string;
                previous_total?: number;
                total: number;
                unit: null | string;
            }[],
        >

        Get measurable data Obtain quantitative metrics about the server.

    • moderationLog: {
          getModerationLog: (
              __namedParameters?: AdminGetModerationLogParams,
          ) => Promise<
              PaginatedResponse<
                  {
                      data: { [key: string]: any };
                      id: string;
                      message: string;
                      time: number;
                  },
                  true,
              >,
          >;
      }
    • relays: {
          followRelay: (
              relayUrl: string,
          ) => Promise<{ actor: string; followed_back: boolean; id: string }>;
          getRelays: () => Promise<
              { actor: string; followed_back: boolean; id: string }[],
          >;
          unfollowRelay: (
              relayUrl: string,
              force?: boolean,
          ) => Promise<{ actor: string; followed_back: boolean; id: string }>;
      }
    • reports: {
          assignReportToSelf: (
              reportId: string,
          ) => Promise<
              {
                  account: {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  action_taken?: boolean;
                  action_taken_at: null
                  | string;
                  action_taken_by_account:
                      | null
                      | {
                          account: null
                          | Account;
                          actor_type: null | string;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: null | string;
                          domain: null | string;
                          email: null | string;
                          id: string;
                          invite_request: null | string;
                          invited_by_account_id?: string;
                          ip: null | string;
                          ips: { ip: string; used_at: string }[];
                          locale: null | string;
                          role:
                              | null
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              };
                          silenced: boolean;
                          suggested: null
                          | boolean;
                          suspended: boolean;
                          username: string;
                      };
                  assigned_account: | null
                  | {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  category?: string;
                  comment?: string;
                  created_at?: string;
                  forwarded?: boolean;
                  id: string;
                  rules: {
                      hint: string;
                      id: string;
                      text: string;
                      translations?: { [key: string]: { hint: string; text: string } };
                  }[];
                  statuses: {
                      account: null
                      | Account;
                      application: null | { name: string; website: null | string };
                      approval_status: null | "rejected" | "pending" | "approval";
                      bookmark_folder: null | string;
                      bookmarked: boolean;
                      card:
                          | null
                          | {
                              author_name: string;
                              author_url: string;
                              authors: { account: ...; name: ...; url: ... }[];
                              blurhash: null | string;
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: null | string;
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: "link" | "video" | "photo" | "rich";
                              url: string;
                              width: number;
                          };
                      content: string;
                      content_map: null
                      | { [key: string]: string };
                      content_type: null | string;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: null | string;
                      emoji_reactions: (
                          | {
                              account_ids: (...)[];
                              accounts: (...)[];
                              count: (...) | (...);
                              me: boolean;
                              name: string;
                              static_url: undefined;
                              url: undefined;
                          }
                          | {
                              account_ids: (...)[];
                              accounts: (...)[];
                              count: (...) | (...);
                              me: boolean;
                              name: string;
                              static_url: string;
                              url: string;
                          }
                      )[];
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | null
                      | {
                          end_time: null
                          | string;
                          join_mode: null | "free" | "restricted" | "invite" | "external";
                          join_state: null | "pending" | "reject" | "accept";
                          location:
                              | null
                              | {
                                  country: ...;
                                  latitude: ...;
                                  locality: ...;
                                  longitude: ...;
                                  name: ...;
                                  postal_code: ...;
                                  region: ...;
                                  street: ...;
                                  url: ...;
                              };
                          name: string;
                          participants_count: number;
                          start_time: null
                          | string;
                      };
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: (...)[];
                              expires_at: (...) | (...);
                              filter_action: (...) | (...) | (...);
                              id: string;
                              title: string;
                          };
                          keyword_matches: null
                          | string;
                          status_matches: null | string;
                      }[];
                      group: | null
                      | {
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          created_at: string;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          header: string;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: null
                          | { id: ... };
                          relationship:
                              | null
                              | { id: ...; member: ...; requested: ...; role: ... };
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      };
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: null
                      | string;
                      in_reply_to_id: null | string;
                      interaction_policy: {
                          can_favourite: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                          can_reblog: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                          can_reply: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                      };
                      language: null
                      | string;
                      list_id: null | number;
                      local?: boolean;
                      media_attachments: (
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { focus?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "image";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "video";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; focus?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "gifv";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { colors?: ...; duration?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "audio";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "unknown";
                              url: string;
                          }
                      )[];
                      mentions: { acct: string; id: string; url: string; username: string }[];
                      muted: boolean;
                      parent_visible?: boolean;
                      pinned: boolean;
                      pinned_at: null | string;
                      poll:
                          | null
                          | {
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              expired: boolean;
                              expires_at: null
                              | string;
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: { title: ...; title_map: ...; votes_count: ... }[];
                              own_votes: null | (...)[];
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          };
                      quote: | null
                      | {
                          state: | "rejected"
                          | "pending"
                          | "accepted"
                          | "revoked"
                          | "deleted"
                          | "unauthorized";
                          status: null
                          | Status;
                      }
                      | {
                          state: | "rejected"
                          | "pending"
                          | "accepted"
                          | "revoked"
                          | "deleted"
                          | "unauthorized";
                          status_id: null
                          | string;
                      };
                      quote_id: null
                      | string;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblog: null | Status;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | null
                          | {
                              description: null
                              | string;
                              id: string;
                              image_url: null | string;
                              title: null | string;
                              url: string;
                          };
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: null
                      | { [key: string]: string };
                      tags: {
                          following?: boolean;
                          history: null | (...)[];
                          name: string;
                          total: null | number;
                          url: string;
                      }[];
                      text: null
                      | string;
                      text_map: null | { [key: string]: string };
                      thread_muted?: boolean;
                      translation:
                          | null
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: null
                              | string;
                              media_attachments: { description: ...; id: ... }[];
                              poll?: { id: ...; options: ... };
                              provider: null | string;
                              spoiler_text: string;
                          };
                      uri: string;
                      url: string;
                      visibility: string;
                  }[];
                  target_account: {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  updated_at?: string;
              },
          >;
          getReport: (
              reportId: string,
          ) => Promise<
              {
                  account: {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  action_taken?: boolean;
                  action_taken_at: null
                  | string;
                  action_taken_by_account:
                      | null
                      | {
                          account: null
                          | Account;
                          actor_type: null | string;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: null | string;
                          domain: null | string;
                          email: null | string;
                          id: string;
                          invite_request: null | string;
                          invited_by_account_id?: string;
                          ip: null | string;
                          ips: { ip: string; used_at: string }[];
                          locale: null | string;
                          role:
                              | null
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              };
                          silenced: boolean;
                          suggested: null
                          | boolean;
                          suspended: boolean;
                          username: string;
                      };
                  assigned_account: | null
                  | {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  category?: string;
                  comment?: string;
                  created_at?: string;
                  forwarded?: boolean;
                  id: string;
                  rules: {
                      hint: string;
                      id: string;
                      text: string;
                      translations?: { [key: string]: { hint: string; text: string } };
                  }[];
                  statuses: {
                      account: null
                      | Account;
                      application: null | { name: string; website: null | string };
                      approval_status: null | "rejected" | "pending" | "approval";
                      bookmark_folder: null | string;
                      bookmarked: boolean;
                      card:
                          | null
                          | {
                              author_name: string;
                              author_url: string;
                              authors: { account: ...; name: ...; url: ... }[];
                              blurhash: null | string;
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: null | string;
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: "link" | "video" | "photo" | "rich";
                              url: string;
                              width: number;
                          };
                      content: string;
                      content_map: null
                      | { [key: string]: string };
                      content_type: null | string;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: null | string;
                      emoji_reactions: (
                          | {
                              account_ids: (...)[];
                              accounts: (...)[];
                              count: (...) | (...);
                              me: boolean;
                              name: string;
                              static_url: undefined;
                              url: undefined;
                          }
                          | {
                              account_ids: (...)[];
                              accounts: (...)[];
                              count: (...) | (...);
                              me: boolean;
                              name: string;
                              static_url: string;
                              url: string;
                          }
                      )[];
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | null
                      | {
                          end_time: null
                          | string;
                          join_mode: null | "free" | "restricted" | "invite" | "external";
                          join_state: null | "pending" | "reject" | "accept";
                          location:
                              | null
                              | {
                                  country: ...;
                                  latitude: ...;
                                  locality: ...;
                                  longitude: ...;
                                  name: ...;
                                  postal_code: ...;
                                  region: ...;
                                  street: ...;
                                  url: ...;
                              };
                          name: string;
                          participants_count: number;
                          start_time: null
                          | string;
                      };
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: (...)[];
                              expires_at: (...) | (...);
                              filter_action: (...) | (...) | (...);
                              id: string;
                              title: string;
                          };
                          keyword_matches: null
                          | string;
                          status_matches: null | string;
                      }[];
                      group: | null
                      | {
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          created_at: string;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          header: string;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: null
                          | { id: ... };
                          relationship:
                              | null
                              | { id: ...; member: ...; requested: ...; role: ... };
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      };
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: null
                      | string;
                      in_reply_to_id: null | string;
                      interaction_policy: {
                          can_favourite: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                          can_reblog: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                          can_reply: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                      };
                      language: null
                      | string;
                      list_id: null | number;
                      local?: boolean;
                      media_attachments: (
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { focus?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "image";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "video";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; focus?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "gifv";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { colors?: ...; duration?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "audio";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "unknown";
                              url: string;
                          }
                      )[];
                      mentions: { acct: string; id: string; url: string; username: string }[];
                      muted: boolean;
                      parent_visible?: boolean;
                      pinned: boolean;
                      pinned_at: null | string;
                      poll:
                          | null
                          | {
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              expired: boolean;
                              expires_at: null
                              | string;
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: { title: ...; title_map: ...; votes_count: ... }[];
                              own_votes: null | (...)[];
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          };
                      quote: | null
                      | {
                          state: | "rejected"
                          | "pending"
                          | "accepted"
                          | "revoked"
                          | "deleted"
                          | "unauthorized";
                          status: null
                          | Status;
                      }
                      | {
                          state: | "rejected"
                          | "pending"
                          | "accepted"
                          | "revoked"
                          | "deleted"
                          | "unauthorized";
                          status_id: null
                          | string;
                      };
                      quote_id: null
                      | string;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblog: null | Status;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | null
                          | {
                              description: null
                              | string;
                              id: string;
                              image_url: null | string;
                              title: null | string;
                              url: string;
                          };
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: null
                      | { [key: string]: string };
                      tags: {
                          following?: boolean;
                          history: null | (...)[];
                          name: string;
                          total: null | number;
                          url: string;
                      }[];
                      text: null
                      | string;
                      text_map: null | { [key: string]: string };
                      thread_muted?: boolean;
                      translation:
                          | null
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: null
                              | string;
                              media_attachments: { description: ...; id: ... }[];
                              poll?: { id: ...; options: ... };
                              provider: null | string;
                              spoiler_text: string;
                          };
                      uri: string;
                      url: string;
                      visibility: string;
                  }[];
                  target_account: {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  updated_at?: string;
              },
          >;
          getReports: (
              params?: AdminGetReportsParams,
          ) => Promise<
              PaginatedResponse<
                  {
                      account: {
                          account: null
                          | Account;
                          actor_type: null | string;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: null | string;
                          domain: null | string;
                          email: null | string;
                          id: string;
                          invite_request: null | string;
                          invited_by_account_id?: string;
                          ip: null | string;
                          ips: { ip: string; used_at: string }[];
                          locale: null | string;
                          role:
                              | null
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              };
                          silenced: boolean;
                          suggested: null
                          | boolean;
                          suspended: boolean;
                          username: string;
                      };
                      action_taken?: boolean;
                      action_taken_at: null
                      | string;
                      action_taken_by_account:
                          | null
                          | {
                              account: null
                              | Account;
                              actor_type: null | string;
                              approved: boolean;
                              confirmed: boolean;
                              created_at: string;
                              created_by_application_id?: string;
                              disabled: boolean;
                              display_name: null | string;
                              domain: null | string;
                              email: null | string;
                              id: string;
                              invite_request: null | string;
                              invited_by_account_id?: string;
                              ip: null | string;
                              ips: { ip: string; used_at: string }[];
                              locale: null | string;
                              role:
                                  | null
                                  | {
                                      color: string;
                                      highlighted: boolean;
                                      id: string;
                                      name: string;
                                      permissions: string;
                                  };
                              silenced: boolean;
                              suggested: null
                              | boolean;
                              suspended: boolean;
                              username: string;
                          };
                      assigned_account: | null
                      | {
                          account: null
                          | Account;
                          actor_type: null | string;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: null | string;
                          domain: null | string;
                          email: null | string;
                          id: string;
                          invite_request: null | string;
                          invited_by_account_id?: string;
                          ip: null | string;
                          ips: { ip: string; used_at: string }[];
                          locale: null | string;
                          role:
                              | null
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              };
                          silenced: boolean;
                          suggested: null
                          | boolean;
                          suspended: boolean;
                          username: string;
                      };
                      category?: string;
                      comment?: string;
                      created_at?: string;
                      forwarded?: boolean;
                      id: string;
                      rules: {
                          hint: string;
                          id: string;
                          text: string;
                          translations?: { [key: string]: { hint: ...; text: ... } };
                      }[];
                      statuses: {
                          account: null
                          | Account;
                          application: null | { name: string; website: (...) | (...) };
                          approval_status: null | "rejected" | "pending" | "approval";
                          bookmark_folder: null | string;
                          bookmarked: boolean;
                          card:
                              | null
                              | {
                                  author_name: string;
                                  author_url: string;
                                  authors: (...)[];
                                  blurhash: (...) | (...);
                                  description: string;
                                  embed_url: string;
                                  height: number;
                                  html: string;
                                  image: (...) | (...);
                                  image_description: string;
                                  provider_name: string;
                                  provider_url: string;
                                  title: string;
                                  type: (...) | (...) | (...) | (...);
                                  url: string;
                                  width: number;
                              };
                          content: string;
                          content_map: null
                          | { [key: string]: string };
                          content_type: null | string;
                          conversation_id?: string;
                          created_at: string;
                          direct_conversation_id?: string;
                          disliked: boolean;
                          dislikes_count: number;
                          edited_at: null | string;
                          emoji_reactions: (
                              | {
                                  account_ids: ...;
                                  accounts: ...;
                                  count: ...;
                                  me: ...;
                                  name: ...;
                                  static_url: ...;
                                  url: ...;
                              }
                              | {
                                  account_ids: ...;
                                  accounts: ...;
                                  count: ...;
                                  me: ...;
                                  name: ...;
                                  static_url: ...;
                                  url: ...;
                              }
                          )[];
                          emojis: {
                              category: (...)
                              | (...);
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          event: | null
                          | {
                              end_time: (...)
                              | (...);
                              join_mode: (...) | (...) | (...) | (...) | (...);
                              join_state: (...) | (...) | (...) | (...);
                              location: (...) | (...);
                              name: string;
                              participants_count: number;
                              start_time: (...) | (...);
                          };
                          expires_at?: string;
                          favourited: boolean;
                          favourites_count: number;
                          filtered: {
                              filter: {
                                  context: ...;
                                  expires_at: ...;
                                  filter_action: ...;
                                  id: ...;
                                  title: ...;
                              };
                              keyword_matches: (...)
                              | (...);
                              status_matches: (...) | (...);
                          }[];
                          group: | null
                          | {
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              created_at: string;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              header: string;
                              header_description: string;
                              header_static: string;
                              id: string;
                              locked: boolean;
                              members_count: number;
                              membership_required: boolean;
                              note: string;
                              owner: (...) | (...);
                              relationship: (...) | (...);
                              statuses_visibility: string;
                              uri: string;
                              url: string;
                          };
                          id: string;
                          in_reply_to_account_acct?: string;
                          in_reply_to_account_id: null
                          | string;
                          in_reply_to_id: null | string;
                          interaction_policy: {
                              can_favourite: { always: (...)[]; with_approval: (...)[] };
                              can_reblog: { always: (...)[]; with_approval: (...)[] };
                              can_reply: { always: (...)[]; with_approval: (...)[] };
                          };
                          language: null
                          | string;
                          list_id: null | number;
                          local?: boolean;
                          media_attachments: (
                              | {
                                  blurhash: ...;
                                  description: ...;
                                  id: ...;
                                  meta: ...;
                                  mime_type: ...;
                                  preview_url: ...;
                                  remote_url: ...;
                                  type: ...;
                                  url: ...;
                              }
                              | {
                                  blurhash: ...;
                                  description: ...;
                                  id: ...;
                                  meta: ...;
                                  mime_type: ...;
                                  preview_url: ...;
                                  remote_url: ...;
                                  type: ...;
                                  url: ...;
                              }
                              | {
                                  blurhash: ...;
                                  description: ...;
                                  id: ...;
                                  meta: ...;
                                  mime_type: ...;
                                  preview_url: ...;
                                  remote_url: ...;
                                  type: ...;
                                  url: ...;
                              }
                              | {
                                  blurhash: ...;
                                  description: ...;
                                  id: ...;
                                  meta: ...;
                                  mime_type: ...;
                                  preview_url: ...;
                                  remote_url: ...;
                                  type: ...;
                                  url: ...;
                              }
                              | {
                                  blurhash: ...;
                                  description: ...;
                                  id: ...;
                                  mime_type: ...;
                                  preview_url: ...;
                                  remote_url: ...;
                                  type: ...;
                                  url: ...;
                              }
                          )[];
                          mentions: { acct: string; id: string; url: string; username: string }[];
                          muted: boolean;
                          parent_visible?: boolean;
                          pinned: boolean;
                          pinned_at: null | string;
                          poll:
                              | null
                              | {
                                  emojis: (...)[];
                                  expired: boolean;
                                  expires_at: (...) | (...);
                                  id: string;
                                  multiple: boolean;
                                  non_anonymous: boolean;
                                  options: (...)[];
                                  own_votes: (...) | (...);
                                  voted: boolean;
                                  voters_count: number;
                                  votes_count: number;
                              };
                          quote: | null
                          | {
                              state: (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                              status: (...) | (...);
                          }
                          | {
                              state: (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                              status_id: (...) | (...);
                          };
                          quote_id: null
                          | string;
                          quote_url?: string;
                          quote_visible?: boolean;
                          quotes_count: number;
                          reblog: null | Status;
                          reblogged: boolean;
                          reblogs_count: number;
                          replies_count: number;
                          rss_feed:
                              | null
                              | {
                                  description: (...)
                                  | (...);
                                  id: string;
                                  image_url: (...) | (...);
                                  title: (...) | (...);
                                  url: string;
                              };
                          scheduled_at: null;
                          sensitive: boolean;
                          spoiler_text: string;
                          spoiler_text_map: null
                          | { [key: string]: string };
                          tags: {
                              following?: (...) | (...) | (...);
                              history: (...) | (...);
                              name: string;
                              total: (...) | (...);
                              url: string;
                          }[];
                          text: null
                          | string;
                          text_map: null | { [key: string]: string };
                          thread_muted?: boolean;
                          translation:
                              | null
                              | false
                              | {
                                  content: string;
                                  detected_source_language: string;
                                  id: (...)
                                  | (...);
                                  media_attachments: (...)[];
                                  poll?: (...) | (...);
                                  provider: (...) | (...);
                                  spoiler_text: string;
                              };
                          uri: string;
                          url: string;
                          visibility: string;
                      }[];
                      target_account: {
                          account: null
                          | Account;
                          actor_type: null | string;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: null | string;
                          domain: null | string;
                          email: null | string;
                          id: string;
                          invite_request: null | string;
                          invited_by_account_id?: string;
                          ip: null | string;
                          ips: { ip: string; used_at: string }[];
                          locale: null | string;
                          role:
                              | null
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              };
                          silenced: boolean;
                          suggested: null
                          | boolean;
                          suspended: boolean;
                          username: string;
                      };
                      updated_at?: string;
                  },
                  true,
              >,
          >;
          reopenReport: (
              reportId: string,
          ) => Promise<
              {
                  account: {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  action_taken?: boolean;
                  action_taken_at: null
                  | string;
                  action_taken_by_account:
                      | null
                      | {
                          account: null
                          | Account;
                          actor_type: null | string;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: null | string;
                          domain: null | string;
                          email: null | string;
                          id: string;
                          invite_request: null | string;
                          invited_by_account_id?: string;
                          ip: null | string;
                          ips: { ip: string; used_at: string }[];
                          locale: null | string;
                          role:
                              | null
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              };
                          silenced: boolean;
                          suggested: null
                          | boolean;
                          suspended: boolean;
                          username: string;
                      };
                  assigned_account: | null
                  | {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  category?: string;
                  comment?: string;
                  created_at?: string;
                  forwarded?: boolean;
                  id: string;
                  rules: {
                      hint: string;
                      id: string;
                      text: string;
                      translations?: { [key: string]: { hint: string; text: string } };
                  }[];
                  statuses: {
                      account: null
                      | Account;
                      application: null | { name: string; website: null | string };
                      approval_status: null | "rejected" | "pending" | "approval";
                      bookmark_folder: null | string;
                      bookmarked: boolean;
                      card:
                          | null
                          | {
                              author_name: string;
                              author_url: string;
                              authors: { account: ...; name: ...; url: ... }[];
                              blurhash: null | string;
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: null | string;
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: "link" | "video" | "photo" | "rich";
                              url: string;
                              width: number;
                          };
                      content: string;
                      content_map: null
                      | { [key: string]: string };
                      content_type: null | string;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: null | string;
                      emoji_reactions: (
                          | {
                              account_ids: (...)[];
                              accounts: (...)[];
                              count: (...) | (...);
                              me: boolean;
                              name: string;
                              static_url: undefined;
                              url: undefined;
                          }
                          | {
                              account_ids: (...)[];
                              accounts: (...)[];
                              count: (...) | (...);
                              me: boolean;
                              name: string;
                              static_url: string;
                              url: string;
                          }
                      )[];
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | null
                      | {
                          end_time: null
                          | string;
                          join_mode: null | "free" | "restricted" | "invite" | "external";
                          join_state: null | "pending" | "reject" | "accept";
                          location:
                              | null
                              | {
                                  country: ...;
                                  latitude: ...;
                                  locality: ...;
                                  longitude: ...;
                                  name: ...;
                                  postal_code: ...;
                                  region: ...;
                                  street: ...;
                                  url: ...;
                              };
                          name: string;
                          participants_count: number;
                          start_time: null
                          | string;
                      };
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: (...)[];
                              expires_at: (...) | (...);
                              filter_action: (...) | (...) | (...);
                              id: string;
                              title: string;
                          };
                          keyword_matches: null
                          | string;
                          status_matches: null | string;
                      }[];
                      group: | null
                      | {
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          created_at: string;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          header: string;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: null
                          | { id: ... };
                          relationship:
                              | null
                              | { id: ...; member: ...; requested: ...; role: ... };
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      };
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: null
                      | string;
                      in_reply_to_id: null | string;
                      interaction_policy: {
                          can_favourite: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                          can_reblog: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                          can_reply: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                      };
                      language: null
                      | string;
                      list_id: null | number;
                      local?: boolean;
                      media_attachments: (
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { focus?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "image";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "video";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; focus?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "gifv";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { colors?: ...; duration?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "audio";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "unknown";
                              url: string;
                          }
                      )[];
                      mentions: { acct: string; id: string; url: string; username: string }[];
                      muted: boolean;
                      parent_visible?: boolean;
                      pinned: boolean;
                      pinned_at: null | string;
                      poll:
                          | null
                          | {
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              expired: boolean;
                              expires_at: null
                              | string;
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: { title: ...; title_map: ...; votes_count: ... }[];
                              own_votes: null | (...)[];
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          };
                      quote: | null
                      | {
                          state: | "rejected"
                          | "pending"
                          | "accepted"
                          | "revoked"
                          | "deleted"
                          | "unauthorized";
                          status: null
                          | Status;
                      }
                      | {
                          state: | "rejected"
                          | "pending"
                          | "accepted"
                          | "revoked"
                          | "deleted"
                          | "unauthorized";
                          status_id: null
                          | string;
                      };
                      quote_id: null
                      | string;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblog: null | Status;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | null
                          | {
                              description: null
                              | string;
                              id: string;
                              image_url: null | string;
                              title: null | string;
                              url: string;
                          };
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: null
                      | { [key: string]: string };
                      tags: {
                          following?: boolean;
                          history: null | (...)[];
                          name: string;
                          total: null | number;
                          url: string;
                      }[];
                      text: null
                      | string;
                      text_map: null | { [key: string]: string };
                      thread_muted?: boolean;
                      translation:
                          | null
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: null
                              | string;
                              media_attachments: { description: ...; id: ... }[];
                              poll?: { id: ...; options: ... };
                              provider: null | string;
                              spoiler_text: string;
                          };
                      uri: string;
                      url: string;
                      visibility: string;
                  }[];
                  target_account: {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  updated_at?: string;
              },
          >;
          resolveReport: (
              reportId: string,
              action_taken_comment?: string,
          ) => Promise<
              {
                  account: {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  action_taken?: boolean;
                  action_taken_at: null
                  | string;
                  action_taken_by_account:
                      | null
                      | {
                          account: null
                          | Account;
                          actor_type: null | string;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: null | string;
                          domain: null | string;
                          email: null | string;
                          id: string;
                          invite_request: null | string;
                          invited_by_account_id?: string;
                          ip: null | string;
                          ips: { ip: string; used_at: string }[];
                          locale: null | string;
                          role:
                              | null
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              };
                          silenced: boolean;
                          suggested: null
                          | boolean;
                          suspended: boolean;
                          username: string;
                      };
                  assigned_account: | null
                  | {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  category?: string;
                  comment?: string;
                  created_at?: string;
                  forwarded?: boolean;
                  id: string;
                  rules: {
                      hint: string;
                      id: string;
                      text: string;
                      translations?: { [key: string]: { hint: string; text: string } };
                  }[];
                  statuses: {
                      account: null
                      | Account;
                      application: null | { name: string; website: null | string };
                      approval_status: null | "rejected" | "pending" | "approval";
                      bookmark_folder: null | string;
                      bookmarked: boolean;
                      card:
                          | null
                          | {
                              author_name: string;
                              author_url: string;
                              authors: { account: ...; name: ...; url: ... }[];
                              blurhash: null | string;
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: null | string;
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: "link" | "video" | "photo" | "rich";
                              url: string;
                              width: number;
                          };
                      content: string;
                      content_map: null
                      | { [key: string]: string };
                      content_type: null | string;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: null | string;
                      emoji_reactions: (
                          | {
                              account_ids: (...)[];
                              accounts: (...)[];
                              count: (...) | (...);
                              me: boolean;
                              name: string;
                              static_url: undefined;
                              url: undefined;
                          }
                          | {
                              account_ids: (...)[];
                              accounts: (...)[];
                              count: (...) | (...);
                              me: boolean;
                              name: string;
                              static_url: string;
                              url: string;
                          }
                      )[];
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | null
                      | {
                          end_time: null
                          | string;
                          join_mode: null | "free" | "restricted" | "invite" | "external";
                          join_state: null | "pending" | "reject" | "accept";
                          location:
                              | null
                              | {
                                  country: ...;
                                  latitude: ...;
                                  locality: ...;
                                  longitude: ...;
                                  name: ...;
                                  postal_code: ...;
                                  region: ...;
                                  street: ...;
                                  url: ...;
                              };
                          name: string;
                          participants_count: number;
                          start_time: null
                          | string;
                      };
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: (...)[];
                              expires_at: (...) | (...);
                              filter_action: (...) | (...) | (...);
                              id: string;
                              title: string;
                          };
                          keyword_matches: null
                          | string;
                          status_matches: null | string;
                      }[];
                      group: | null
                      | {
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          created_at: string;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          header: string;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: null
                          | { id: ... };
                          relationship:
                              | null
                              | { id: ...; member: ...; requested: ...; role: ... };
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      };
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: null
                      | string;
                      in_reply_to_id: null | string;
                      interaction_policy: {
                          can_favourite: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                          can_reblog: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                          can_reply: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                      };
                      language: null
                      | string;
                      list_id: null | number;
                      local?: boolean;
                      media_attachments: (
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { focus?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "image";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "video";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; focus?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "gifv";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { colors?: ...; duration?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "audio";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "unknown";
                              url: string;
                          }
                      )[];
                      mentions: { acct: string; id: string; url: string; username: string }[];
                      muted: boolean;
                      parent_visible?: boolean;
                      pinned: boolean;
                      pinned_at: null | string;
                      poll:
                          | null
                          | {
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              expired: boolean;
                              expires_at: null
                              | string;
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: { title: ...; title_map: ...; votes_count: ... }[];
                              own_votes: null | (...)[];
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          };
                      quote: | null
                      | {
                          state: | "rejected"
                          | "pending"
                          | "accepted"
                          | "revoked"
                          | "deleted"
                          | "unauthorized";
                          status: null
                          | Status;
                      }
                      | {
                          state: | "rejected"
                          | "pending"
                          | "accepted"
                          | "revoked"
                          | "deleted"
                          | "unauthorized";
                          status_id: null
                          | string;
                      };
                      quote_id: null
                      | string;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblog: null | Status;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | null
                          | {
                              description: null
                              | string;
                              id: string;
                              image_url: null | string;
                              title: null | string;
                              url: string;
                          };
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: null
                      | { [key: string]: string };
                      tags: {
                          following?: boolean;
                          history: null | (...)[];
                          name: string;
                          total: null | number;
                          url: string;
                      }[];
                      text: null
                      | string;
                      text_map: null | { [key: string]: string };
                      thread_muted?: boolean;
                      translation:
                          | null
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: null
                              | string;
                              media_attachments: { description: ...; id: ... }[];
                              poll?: { id: ...; options: ... };
                              provider: null | string;
                              spoiler_text: string;
                          };
                      uri: string;
                      url: string;
                      visibility: string;
                  }[];
                  target_account: {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  updated_at?: string;
              },
          >;
          unassignReport: (
              reportId: string,
          ) => Promise<
              {
                  account: {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  action_taken?: boolean;
                  action_taken_at: null
                  | string;
                  action_taken_by_account:
                      | null
                      | {
                          account: null
                          | Account;
                          actor_type: null | string;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: null | string;
                          domain: null | string;
                          email: null | string;
                          id: string;
                          invite_request: null | string;
                          invited_by_account_id?: string;
                          ip: null | string;
                          ips: { ip: string; used_at: string }[];
                          locale: null | string;
                          role:
                              | null
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              };
                          silenced: boolean;
                          suggested: null
                          | boolean;
                          suspended: boolean;
                          username: string;
                      };
                  assigned_account: | null
                  | {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  category?: string;
                  comment?: string;
                  created_at?: string;
                  forwarded?: boolean;
                  id: string;
                  rules: {
                      hint: string;
                      id: string;
                      text: string;
                      translations?: { [key: string]: { hint: string; text: string } };
                  }[];
                  statuses: {
                      account: null
                      | Account;
                      application: null | { name: string; website: null | string };
                      approval_status: null | "rejected" | "pending" | "approval";
                      bookmark_folder: null | string;
                      bookmarked: boolean;
                      card:
                          | null
                          | {
                              author_name: string;
                              author_url: string;
                              authors: { account: ...; name: ...; url: ... }[];
                              blurhash: null | string;
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: null | string;
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: "link" | "video" | "photo" | "rich";
                              url: string;
                              width: number;
                          };
                      content: string;
                      content_map: null
                      | { [key: string]: string };
                      content_type: null | string;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: null | string;
                      emoji_reactions: (
                          | {
                              account_ids: (...)[];
                              accounts: (...)[];
                              count: (...) | (...);
                              me: boolean;
                              name: string;
                              static_url: undefined;
                              url: undefined;
                          }
                          | {
                              account_ids: (...)[];
                              accounts: (...)[];
                              count: (...) | (...);
                              me: boolean;
                              name: string;
                              static_url: string;
                              url: string;
                          }
                      )[];
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | null
                      | {
                          end_time: null
                          | string;
                          join_mode: null | "free" | "restricted" | "invite" | "external";
                          join_state: null | "pending" | "reject" | "accept";
                          location:
                              | null
                              | {
                                  country: ...;
                                  latitude: ...;
                                  locality: ...;
                                  longitude: ...;
                                  name: ...;
                                  postal_code: ...;
                                  region: ...;
                                  street: ...;
                                  url: ...;
                              };
                          name: string;
                          participants_count: number;
                          start_time: null
                          | string;
                      };
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: (...)[];
                              expires_at: (...) | (...);
                              filter_action: (...) | (...) | (...);
                              id: string;
                              title: string;
                          };
                          keyword_matches: null
                          | string;
                          status_matches: null | string;
                      }[];
                      group: | null
                      | {
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          created_at: string;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          header: string;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: null
                          | { id: ... };
                          relationship:
                              | null
                              | { id: ...; member: ...; requested: ...; role: ... };
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      };
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: null
                      | string;
                      in_reply_to_id: null | string;
                      interaction_policy: {
                          can_favourite: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                          can_reblog: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                          can_reply: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                      };
                      language: null
                      | string;
                      list_id: null | number;
                      local?: boolean;
                      media_attachments: (
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { focus?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "image";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "video";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; focus?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "gifv";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { colors?: ...; duration?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "audio";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "unknown";
                              url: string;
                          }
                      )[];
                      mentions: { acct: string; id: string; url: string; username: string }[];
                      muted: boolean;
                      parent_visible?: boolean;
                      pinned: boolean;
                      pinned_at: null | string;
                      poll:
                          | null
                          | {
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              expired: boolean;
                              expires_at: null
                              | string;
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: { title: ...; title_map: ...; votes_count: ... }[];
                              own_votes: null | (...)[];
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          };
                      quote: | null
                      | {
                          state: | "rejected"
                          | "pending"
                          | "accepted"
                          | "revoked"
                          | "deleted"
                          | "unauthorized";
                          status: null
                          | Status;
                      }
                      | {
                          state: | "rejected"
                          | "pending"
                          | "accepted"
                          | "revoked"
                          | "deleted"
                          | "unauthorized";
                          status_id: null
                          | string;
                      };
                      quote_id: null
                      | string;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblog: null | Status;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | null
                          | {
                              description: null
                              | string;
                              id: string;
                              image_url: null | string;
                              title: null | string;
                              url: string;
                          };
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: null
                      | { [key: string]: string };
                      tags: {
                          following?: boolean;
                          history: null | (...)[];
                          name: string;
                          total: null | number;
                          url: string;
                      }[];
                      text: null
                      | string;
                      text_map: null | { [key: string]: string };
                      thread_muted?: boolean;
                      translation:
                          | null
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: null
                              | string;
                              media_attachments: { description: ...; id: ... }[];
                              poll?: { id: ...; options: ... };
                              provider: null | string;
                              spoiler_text: string;
                          };
                      uri: string;
                      url: string;
                      visibility: string;
                  }[];
                  target_account: {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  updated_at?: string;
              },
          >;
          updateReport: (
              reportId: string,
              params: AdminUpdateReportParams,
          ) => Promise<
              {
                  account: {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  action_taken?: boolean;
                  action_taken_at: null
                  | string;
                  action_taken_by_account:
                      | null
                      | {
                          account: null
                          | Account;
                          actor_type: null | string;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: null | string;
                          domain: null | string;
                          email: null | string;
                          id: string;
                          invite_request: null | string;
                          invited_by_account_id?: string;
                          ip: null | string;
                          ips: { ip: string; used_at: string }[];
                          locale: null | string;
                          role:
                              | null
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              };
                          silenced: boolean;
                          suggested: null
                          | boolean;
                          suspended: boolean;
                          username: string;
                      };
                  assigned_account: | null
                  | {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  category?: string;
                  comment?: string;
                  created_at?: string;
                  forwarded?: boolean;
                  id: string;
                  rules: {
                      hint: string;
                      id: string;
                      text: string;
                      translations?: { [key: string]: { hint: string; text: string } };
                  }[];
                  statuses: {
                      account: null
                      | Account;
                      application: null | { name: string; website: null | string };
                      approval_status: null | "rejected" | "pending" | "approval";
                      bookmark_folder: null | string;
                      bookmarked: boolean;
                      card:
                          | null
                          | {
                              author_name: string;
                              author_url: string;
                              authors: { account: ...; name: ...; url: ... }[];
                              blurhash: null | string;
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: null | string;
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: "link" | "video" | "photo" | "rich";
                              url: string;
                              width: number;
                          };
                      content: string;
                      content_map: null
                      | { [key: string]: string };
                      content_type: null | string;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: null | string;
                      emoji_reactions: (
                          | {
                              account_ids: (...)[];
                              accounts: (...)[];
                              count: (...) | (...);
                              me: boolean;
                              name: string;
                              static_url: undefined;
                              url: undefined;
                          }
                          | {
                              account_ids: (...)[];
                              accounts: (...)[];
                              count: (...) | (...);
                              me: boolean;
                              name: string;
                              static_url: string;
                              url: string;
                          }
                      )[];
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | null
                      | {
                          end_time: null
                          | string;
                          join_mode: null | "free" | "restricted" | "invite" | "external";
                          join_state: null | "pending" | "reject" | "accept";
                          location:
                              | null
                              | {
                                  country: ...;
                                  latitude: ...;
                                  locality: ...;
                                  longitude: ...;
                                  name: ...;
                                  postal_code: ...;
                                  region: ...;
                                  street: ...;
                                  url: ...;
                              };
                          name: string;
                          participants_count: number;
                          start_time: null
                          | string;
                      };
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: (...)[];
                              expires_at: (...) | (...);
                              filter_action: (...) | (...) | (...);
                              id: string;
                              title: string;
                          };
                          keyword_matches: null
                          | string;
                          status_matches: null | string;
                      }[];
                      group: | null
                      | {
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          created_at: string;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          header: string;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: null
                          | { id: ... };
                          relationship:
                              | null
                              | { id: ...; member: ...; requested: ...; role: ... };
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      };
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: null
                      | string;
                      in_reply_to_id: null | string;
                      interaction_policy: {
                          can_favourite: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                          can_reblog: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                          can_reply: {
                              always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                              with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          };
                      };
                      language: null
                      | string;
                      list_id: null | number;
                      local?: boolean;
                      media_attachments: (
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { focus?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "image";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "video";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; focus?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "gifv";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { colors?: ...; duration?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "audio";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "unknown";
                              url: string;
                          }
                      )[];
                      mentions: { acct: string; id: string; url: string; username: string }[];
                      muted: boolean;
                      parent_visible?: boolean;
                      pinned: boolean;
                      pinned_at: null | string;
                      poll:
                          | null
                          | {
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              expired: boolean;
                              expires_at: null
                              | string;
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: { title: ...; title_map: ...; votes_count: ... }[];
                              own_votes: null | (...)[];
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          };
                      quote: | null
                      | {
                          state: | "rejected"
                          | "pending"
                          | "accepted"
                          | "revoked"
                          | "deleted"
                          | "unauthorized";
                          status: null
                          | Status;
                      }
                      | {
                          state: | "rejected"
                          | "pending"
                          | "accepted"
                          | "revoked"
                          | "deleted"
                          | "unauthorized";
                          status_id: null
                          | string;
                      };
                      quote_id: null
                      | string;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblog: null | Status;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | null
                          | {
                              description: null
                              | string;
                              id: string;
                              image_url: null | string;
                              title: null | string;
                              url: string;
                          };
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: null
                      | { [key: string]: string };
                      tags: {
                          following?: boolean;
                          history: null | (...)[];
                          name: string;
                          total: null | number;
                          url: string;
                      }[];
                      text: null
                      | string;
                      text_map: null | { [key: string]: string };
                      thread_muted?: boolean;
                      translation:
                          | null
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: null
                              | string;
                              media_attachments: { description: ...; id: ... }[];
                              poll?: { id: ...; options: ... };
                              provider: null | string;
                              spoiler_text: string;
                          };
                      uri: string;
                      url: string;
                      visibility: string;
                  }[];
                  target_account: {
                      account: null
                      | Account;
                      actor_type: null | string;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: null | string;
                      domain: null | string;
                      email: null | string;
                      id: string;
                      invite_request: null | string;
                      invited_by_account_id?: string;
                      ip: null | string;
                      ips: { ip: string; used_at: string }[];
                      locale: null | string;
                      role:
                          | null
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          };
                      silenced: boolean;
                      suggested: null
                      | boolean;
                      suspended: boolean;
                      username: string;
                  };
                  updated_at?: string;
              },
          >;
      }

      Perform moderation actions with reports.

      • assignReportToSelf: (
            reportId: string,
        ) => Promise<
            {
                account: {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                action_taken?: boolean;
                action_taken_at: null
                | string;
                action_taken_by_account:
                    | null
                    | {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                assigned_account: | null
                | {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                category?: string;
                comment?: string;
                created_at?: string;
                forwarded?: boolean;
                id: string;
                rules: {
                    hint: string;
                    id: string;
                    text: string;
                    translations?: { [key: string]: { hint: string; text: string } };
                }[];
                statuses: {
                    account: null
                    | Account;
                    application: null | { name: string; website: null | string };
                    approval_status: null | "rejected" | "pending" | "approval";
                    bookmark_folder: null | string;
                    bookmarked: boolean;
                    card:
                        | null
                        | {
                            author_name: string;
                            author_url: string;
                            authors: { account: ...; name: ...; url: ... }[];
                            blurhash: null | string;
                            description: string;
                            embed_url: string;
                            height: number;
                            html: string;
                            image: null | string;
                            image_description: string;
                            provider_name: string;
                            provider_url: string;
                            title: string;
                            type: "link" | "video" | "photo" | "rich";
                            url: string;
                            width: number;
                        };
                    content: string;
                    content_map: null
                    | { [key: string]: string };
                    content_type: null | string;
                    conversation_id?: string;
                    created_at: string;
                    direct_conversation_id?: string;
                    disliked: boolean;
                    dislikes_count: number;
                    edited_at: null | string;
                    emoji_reactions: (
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: undefined;
                            url: undefined;
                        }
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: string;
                            url: string;
                        }
                    )[];
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    event: | null
                    | {
                        end_time: null
                        | string;
                        join_mode: null | "free" | "restricted" | "invite" | "external";
                        join_state: null | "pending" | "reject" | "accept";
                        location:
                            | null
                            | {
                                country: ...;
                                latitude: ...;
                                locality: ...;
                                longitude: ...;
                                name: ...;
                                postal_code: ...;
                                region: ...;
                                street: ...;
                                url: ...;
                            };
                        name: string;
                        participants_count: number;
                        start_time: null
                        | string;
                    };
                    expires_at?: string;
                    favourited: boolean;
                    favourites_count: number;
                    filtered: {
                        filter: {
                            context: (...)[];
                            expires_at: (...) | (...);
                            filter_action: (...) | (...) | (...);
                            id: string;
                            title: string;
                        };
                        keyword_matches: null
                        | string;
                        status_matches: null | string;
                    }[];
                    group: | null
                    | {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: ... };
                        relationship: null | { id: ...; member: ...; requested: ...; role: ... };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    };
                    id: string;
                    in_reply_to_account_acct?: string;
                    in_reply_to_account_id: null
                    | string;
                    in_reply_to_id: null | string;
                    interaction_policy: {
                        can_favourite: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reblog: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reply: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                    };
                    language: null
                    | string;
                    list_id: null | number;
                    local?: boolean;
                    media_attachments: (
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { focus?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "image";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "video";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; focus?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "gifv";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { colors?: ...; duration?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "audio";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "unknown";
                            url: string;
                        }
                    )[];
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    muted: boolean;
                    parent_visible?: boolean;
                    pinned: boolean;
                    pinned_at: null | string;
                    poll:
                        | null
                        | {
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            expired: boolean;
                            expires_at: null
                            | string;
                            id: string;
                            multiple: boolean;
                            non_anonymous: boolean;
                            options: { title: ...; title_map: ...; votes_count: ... }[];
                            own_votes: null | (...)[];
                            voted: boolean;
                            voters_count: number;
                            votes_count: number;
                        };
                    quote: | null
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status: null
                        | Status;
                    }
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status_id: null
                        | string;
                    };
                    quote_id: null
                    | string;
                    quote_url?: string;
                    quote_visible?: boolean;
                    quotes_count: number;
                    reblog: null | Status;
                    reblogged: boolean;
                    reblogs_count: number;
                    replies_count: number;
                    rss_feed:
                        | null
                        | {
                            description: null
                            | string;
                            id: string;
                            image_url: null | string;
                            title: null | string;
                            url: string;
                        };
                    scheduled_at: null;
                    sensitive: boolean;
                    spoiler_text: string;
                    spoiler_text_map: null
                    | { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | (...)[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    text: null
                    | string;
                    text_map: null | { [key: string]: string };
                    thread_muted?: boolean;
                    translation:
                        | null
                        | false
                        | {
                            content: string;
                            detected_source_language: string;
                            id: null
                            | string;
                            media_attachments: { description: ...; id: ... }[];
                            poll?: { id: ...; options: ... };
                            provider: null | string;
                            spoiler_text: string;
                        };
                    uri: string;
                    url: string;
                    visibility: string;
                }[];
                target_account: {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                updated_at?: string;
            },
        >

        Assign report to self Claim the handling of this report to yourself.

      • getReport: (
            reportId: string,
        ) => Promise<
            {
                account: {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                action_taken?: boolean;
                action_taken_at: null
                | string;
                action_taken_by_account:
                    | null
                    | {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                assigned_account: | null
                | {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                category?: string;
                comment?: string;
                created_at?: string;
                forwarded?: boolean;
                id: string;
                rules: {
                    hint: string;
                    id: string;
                    text: string;
                    translations?: { [key: string]: { hint: string; text: string } };
                }[];
                statuses: {
                    account: null
                    | Account;
                    application: null | { name: string; website: null | string };
                    approval_status: null | "rejected" | "pending" | "approval";
                    bookmark_folder: null | string;
                    bookmarked: boolean;
                    card:
                        | null
                        | {
                            author_name: string;
                            author_url: string;
                            authors: { account: ...; name: ...; url: ... }[];
                            blurhash: null | string;
                            description: string;
                            embed_url: string;
                            height: number;
                            html: string;
                            image: null | string;
                            image_description: string;
                            provider_name: string;
                            provider_url: string;
                            title: string;
                            type: "link" | "video" | "photo" | "rich";
                            url: string;
                            width: number;
                        };
                    content: string;
                    content_map: null
                    | { [key: string]: string };
                    content_type: null | string;
                    conversation_id?: string;
                    created_at: string;
                    direct_conversation_id?: string;
                    disliked: boolean;
                    dislikes_count: number;
                    edited_at: null | string;
                    emoji_reactions: (
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: undefined;
                            url: undefined;
                        }
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: string;
                            url: string;
                        }
                    )[];
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    event: | null
                    | {
                        end_time: null
                        | string;
                        join_mode: null | "free" | "restricted" | "invite" | "external";
                        join_state: null | "pending" | "reject" | "accept";
                        location:
                            | null
                            | {
                                country: ...;
                                latitude: ...;
                                locality: ...;
                                longitude: ...;
                                name: ...;
                                postal_code: ...;
                                region: ...;
                                street: ...;
                                url: ...;
                            };
                        name: string;
                        participants_count: number;
                        start_time: null
                        | string;
                    };
                    expires_at?: string;
                    favourited: boolean;
                    favourites_count: number;
                    filtered: {
                        filter: {
                            context: (...)[];
                            expires_at: (...) | (...);
                            filter_action: (...) | (...) | (...);
                            id: string;
                            title: string;
                        };
                        keyword_matches: null
                        | string;
                        status_matches: null | string;
                    }[];
                    group: | null
                    | {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: ... };
                        relationship: null | { id: ...; member: ...; requested: ...; role: ... };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    };
                    id: string;
                    in_reply_to_account_acct?: string;
                    in_reply_to_account_id: null
                    | string;
                    in_reply_to_id: null | string;
                    interaction_policy: {
                        can_favourite: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reblog: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reply: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                    };
                    language: null
                    | string;
                    list_id: null | number;
                    local?: boolean;
                    media_attachments: (
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { focus?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "image";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "video";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; focus?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "gifv";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { colors?: ...; duration?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "audio";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "unknown";
                            url: string;
                        }
                    )[];
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    muted: boolean;
                    parent_visible?: boolean;
                    pinned: boolean;
                    pinned_at: null | string;
                    poll:
                        | null
                        | {
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            expired: boolean;
                            expires_at: null
                            | string;
                            id: string;
                            multiple: boolean;
                            non_anonymous: boolean;
                            options: { title: ...; title_map: ...; votes_count: ... }[];
                            own_votes: null | (...)[];
                            voted: boolean;
                            voters_count: number;
                            votes_count: number;
                        };
                    quote: | null
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status: null
                        | Status;
                    }
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status_id: null
                        | string;
                    };
                    quote_id: null
                    | string;
                    quote_url?: string;
                    quote_visible?: boolean;
                    quotes_count: number;
                    reblog: null | Status;
                    reblogged: boolean;
                    reblogs_count: number;
                    replies_count: number;
                    rss_feed:
                        | null
                        | {
                            description: null
                            | string;
                            id: string;
                            image_url: null | string;
                            title: null | string;
                            url: string;
                        };
                    scheduled_at: null;
                    sensitive: boolean;
                    spoiler_text: string;
                    spoiler_text_map: null
                    | { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | (...)[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    text: null
                    | string;
                    text_map: null | { [key: string]: string };
                    thread_muted?: boolean;
                    translation:
                        | null
                        | false
                        | {
                            content: string;
                            detected_source_language: string;
                            id: null
                            | string;
                            media_attachments: { description: ...; id: ... }[];
                            poll?: { id: ...; options: ... };
                            provider: null | string;
                            spoiler_text: string;
                        };
                    uri: string;
                    url: string;
                    visibility: string;
                }[];
                target_account: {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                updated_at?: string;
            },
        >

        View a single report

      • getReports: (
            params?: AdminGetReportsParams,
        ) => Promise<
            PaginatedResponse<
                {
                    account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    action_taken?: boolean;
                    action_taken_at: null
                    | string;
                    action_taken_by_account:
                        | null
                        | {
                            account: null
                            | Account;
                            actor_type: null | string;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: null | string;
                            domain: null | string;
                            email: null | string;
                            id: string;
                            invite_request: null | string;
                            invited_by_account_id?: string;
                            ip: null | string;
                            ips: { ip: string; used_at: string }[];
                            locale: null | string;
                            role:
                                | null
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                };
                            silenced: boolean;
                            suggested: null
                            | boolean;
                            suspended: boolean;
                            username: string;
                        };
                    assigned_account: | null
                    | {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    category?: string;
                    comment?: string;
                    created_at?: string;
                    forwarded?: boolean;
                    id: string;
                    rules: {
                        hint: string;
                        id: string;
                        text: string;
                        translations?: { [key: string]: { hint: ...; text: ... } };
                    }[];
                    statuses: {
                        account: null
                        | Account;
                        application: null | { name: string; website: (...) | (...) };
                        approval_status: null | "rejected" | "pending" | "approval";
                        bookmark_folder: null | string;
                        bookmarked: boolean;
                        card:
                            | null
                            | {
                                author_name: string;
                                author_url: string;
                                authors: (...)[];
                                blurhash: (...) | (...);
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: (...) | (...);
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: (...) | (...) | (...) | (...);
                                url: string;
                                width: number;
                            };
                        content: string;
                        content_map: null
                        | { [key: string]: string };
                        content_type: null | string;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: null | string;
                        emoji_reactions: (
                            | {
                                account_ids: ...;
                                accounts: ...;
                                count: ...;
                                me: ...;
                                name: ...;
                                static_url: ...;
                                url: ...;
                            }
                            | {
                                account_ids: ...;
                                accounts: ...;
                                count: ...;
                                me: ...;
                                name: ...;
                                static_url: ...;
                                url: ...;
                            }
                        )[];
                        emojis: {
                            category: (...)
                            | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | null
                        | {
                            end_time: (...)
                            | (...);
                            join_mode: (...) | (...) | (...) | (...) | (...);
                            join_state: (...) | (...) | (...) | (...);
                            location: (...) | (...);
                            name: string;
                            participants_count: number;
                            start_time: (...) | (...);
                        };
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: ...;
                                expires_at: ...;
                                filter_action: ...;
                                id: ...;
                                title: ...;
                            };
                            keyword_matches: (...)
                            | (...);
                            status_matches: (...) | (...);
                        }[];
                        group: | null
                        | {
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            created_at: string;
                            display_name: string;
                            domain: string;
                            emojis: (...)[];
                            header: string;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: (...) | (...);
                            relationship: (...) | (...);
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        };
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: null
                        | string;
                        in_reply_to_id: null | string;
                        interaction_policy: {
                            can_favourite: { always: (...)[]; with_approval: (...)[] };
                            can_reblog: { always: (...)[]; with_approval: (...)[] };
                            can_reply: { always: (...)[]; with_approval: (...)[] };
                        };
                        language: null
                        | string;
                        list_id: null | number;
                        local?: boolean;
                        media_attachments: (
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                        )[];
                        mentions: { acct: string; id: string; url: string; username: string }[];
                        muted: boolean;
                        parent_visible?: boolean;
                        pinned: boolean;
                        pinned_at: null | string;
                        poll:
                            | null
                            | {
                                emojis: (...)[];
                                expired: boolean;
                                expires_at: (...) | (...);
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: (...)[];
                                own_votes: (...) | (...);
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            };
                        quote: | null
                        | {
                            state: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            status: (...) | (...);
                        }
                        | {
                            state: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            status_id: (...) | (...);
                        };
                        quote_id: null
                        | string;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblog: null | Status;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | null
                            | {
                                description: (...)
                                | (...);
                                id: string;
                                image_url: (...) | (...);
                                title: (...) | (...);
                                url: string;
                            };
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: null
                        | { [key: string]: string };
                        tags: {
                            following?: (...) | (...) | (...);
                            history: (...) | (...);
                            name: string;
                            total: (...) | (...);
                            url: string;
                        }[];
                        text: null
                        | string;
                        text_map: null | { [key: string]: string };
                        thread_muted?: boolean;
                        translation:
                            | null
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: (...)
                                | (...);
                                media_attachments: (...)[];
                                poll?: (...) | (...);
                                provider: (...) | (...);
                                spoiler_text: string;
                            };
                        uri: string;
                        url: string;
                        visibility: string;
                    }[];
                    target_account: {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                    updated_at?: string;
                },
                true,
            >,
        >

        View all reports View information about all reports.

      • reopenReport: (
            reportId: string,
        ) => Promise<
            {
                account: {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                action_taken?: boolean;
                action_taken_at: null
                | string;
                action_taken_by_account:
                    | null
                    | {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                assigned_account: | null
                | {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                category?: string;
                comment?: string;
                created_at?: string;
                forwarded?: boolean;
                id: string;
                rules: {
                    hint: string;
                    id: string;
                    text: string;
                    translations?: { [key: string]: { hint: string; text: string } };
                }[];
                statuses: {
                    account: null
                    | Account;
                    application: null | { name: string; website: null | string };
                    approval_status: null | "rejected" | "pending" | "approval";
                    bookmark_folder: null | string;
                    bookmarked: boolean;
                    card:
                        | null
                        | {
                            author_name: string;
                            author_url: string;
                            authors: { account: ...; name: ...; url: ... }[];
                            blurhash: null | string;
                            description: string;
                            embed_url: string;
                            height: number;
                            html: string;
                            image: null | string;
                            image_description: string;
                            provider_name: string;
                            provider_url: string;
                            title: string;
                            type: "link" | "video" | "photo" | "rich";
                            url: string;
                            width: number;
                        };
                    content: string;
                    content_map: null
                    | { [key: string]: string };
                    content_type: null | string;
                    conversation_id?: string;
                    created_at: string;
                    direct_conversation_id?: string;
                    disliked: boolean;
                    dislikes_count: number;
                    edited_at: null | string;
                    emoji_reactions: (
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: undefined;
                            url: undefined;
                        }
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: string;
                            url: string;
                        }
                    )[];
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    event: | null
                    | {
                        end_time: null
                        | string;
                        join_mode: null | "free" | "restricted" | "invite" | "external";
                        join_state: null | "pending" | "reject" | "accept";
                        location:
                            | null
                            | {
                                country: ...;
                                latitude: ...;
                                locality: ...;
                                longitude: ...;
                                name: ...;
                                postal_code: ...;
                                region: ...;
                                street: ...;
                                url: ...;
                            };
                        name: string;
                        participants_count: number;
                        start_time: null
                        | string;
                    };
                    expires_at?: string;
                    favourited: boolean;
                    favourites_count: number;
                    filtered: {
                        filter: {
                            context: (...)[];
                            expires_at: (...) | (...);
                            filter_action: (...) | (...) | (...);
                            id: string;
                            title: string;
                        };
                        keyword_matches: null
                        | string;
                        status_matches: null | string;
                    }[];
                    group: | null
                    | {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: ... };
                        relationship: null | { id: ...; member: ...; requested: ...; role: ... };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    };
                    id: string;
                    in_reply_to_account_acct?: string;
                    in_reply_to_account_id: null
                    | string;
                    in_reply_to_id: null | string;
                    interaction_policy: {
                        can_favourite: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reblog: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reply: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                    };
                    language: null
                    | string;
                    list_id: null | number;
                    local?: boolean;
                    media_attachments: (
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { focus?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "image";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "video";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; focus?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "gifv";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { colors?: ...; duration?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "audio";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "unknown";
                            url: string;
                        }
                    )[];
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    muted: boolean;
                    parent_visible?: boolean;
                    pinned: boolean;
                    pinned_at: null | string;
                    poll:
                        | null
                        | {
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            expired: boolean;
                            expires_at: null
                            | string;
                            id: string;
                            multiple: boolean;
                            non_anonymous: boolean;
                            options: { title: ...; title_map: ...; votes_count: ... }[];
                            own_votes: null | (...)[];
                            voted: boolean;
                            voters_count: number;
                            votes_count: number;
                        };
                    quote: | null
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status: null
                        | Status;
                    }
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status_id: null
                        | string;
                    };
                    quote_id: null
                    | string;
                    quote_url?: string;
                    quote_visible?: boolean;
                    quotes_count: number;
                    reblog: null | Status;
                    reblogged: boolean;
                    reblogs_count: number;
                    replies_count: number;
                    rss_feed:
                        | null
                        | {
                            description: null
                            | string;
                            id: string;
                            image_url: null | string;
                            title: null | string;
                            url: string;
                        };
                    scheduled_at: null;
                    sensitive: boolean;
                    spoiler_text: string;
                    spoiler_text_map: null
                    | { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | (...)[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    text: null
                    | string;
                    text_map: null | { [key: string]: string };
                    thread_muted?: boolean;
                    translation:
                        | null
                        | false
                        | {
                            content: string;
                            detected_source_language: string;
                            id: null
                            | string;
                            media_attachments: { description: ...; id: ... }[];
                            poll?: { id: ...; options: ... };
                            provider: null | string;
                            spoiler_text: string;
                        };
                    uri: string;
                    url: string;
                    visibility: string;
                }[];
                target_account: {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                updated_at?: string;
            },
        >

        Reopen a closed report Reopen a currently closed report, if it is closed.

      • resolveReport: (
            reportId: string,
            action_taken_comment?: string,
        ) => Promise<
            {
                account: {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                action_taken?: boolean;
                action_taken_at: null
                | string;
                action_taken_by_account:
                    | null
                    | {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                assigned_account: | null
                | {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                category?: string;
                comment?: string;
                created_at?: string;
                forwarded?: boolean;
                id: string;
                rules: {
                    hint: string;
                    id: string;
                    text: string;
                    translations?: { [key: string]: { hint: string; text: string } };
                }[];
                statuses: {
                    account: null
                    | Account;
                    application: null | { name: string; website: null | string };
                    approval_status: null | "rejected" | "pending" | "approval";
                    bookmark_folder: null | string;
                    bookmarked: boolean;
                    card:
                        | null
                        | {
                            author_name: string;
                            author_url: string;
                            authors: { account: ...; name: ...; url: ... }[];
                            blurhash: null | string;
                            description: string;
                            embed_url: string;
                            height: number;
                            html: string;
                            image: null | string;
                            image_description: string;
                            provider_name: string;
                            provider_url: string;
                            title: string;
                            type: "link" | "video" | "photo" | "rich";
                            url: string;
                            width: number;
                        };
                    content: string;
                    content_map: null
                    | { [key: string]: string };
                    content_type: null | string;
                    conversation_id?: string;
                    created_at: string;
                    direct_conversation_id?: string;
                    disliked: boolean;
                    dislikes_count: number;
                    edited_at: null | string;
                    emoji_reactions: (
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: undefined;
                            url: undefined;
                        }
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: string;
                            url: string;
                        }
                    )[];
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    event: | null
                    | {
                        end_time: null
                        | string;
                        join_mode: null | "free" | "restricted" | "invite" | "external";
                        join_state: null | "pending" | "reject" | "accept";
                        location:
                            | null
                            | {
                                country: ...;
                                latitude: ...;
                                locality: ...;
                                longitude: ...;
                                name: ...;
                                postal_code: ...;
                                region: ...;
                                street: ...;
                                url: ...;
                            };
                        name: string;
                        participants_count: number;
                        start_time: null
                        | string;
                    };
                    expires_at?: string;
                    favourited: boolean;
                    favourites_count: number;
                    filtered: {
                        filter: {
                            context: (...)[];
                            expires_at: (...) | (...);
                            filter_action: (...) | (...) | (...);
                            id: string;
                            title: string;
                        };
                        keyword_matches: null
                        | string;
                        status_matches: null | string;
                    }[];
                    group: | null
                    | {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: ... };
                        relationship: null | { id: ...; member: ...; requested: ...; role: ... };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    };
                    id: string;
                    in_reply_to_account_acct?: string;
                    in_reply_to_account_id: null
                    | string;
                    in_reply_to_id: null | string;
                    interaction_policy: {
                        can_favourite: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reblog: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reply: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                    };
                    language: null
                    | string;
                    list_id: null | number;
                    local?: boolean;
                    media_attachments: (
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { focus?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "image";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "video";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; focus?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "gifv";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { colors?: ...; duration?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "audio";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "unknown";
                            url: string;
                        }
                    )[];
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    muted: boolean;
                    parent_visible?: boolean;
                    pinned: boolean;
                    pinned_at: null | string;
                    poll:
                        | null
                        | {
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            expired: boolean;
                            expires_at: null
                            | string;
                            id: string;
                            multiple: boolean;
                            non_anonymous: boolean;
                            options: { title: ...; title_map: ...; votes_count: ... }[];
                            own_votes: null | (...)[];
                            voted: boolean;
                            voters_count: number;
                            votes_count: number;
                        };
                    quote: | null
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status: null
                        | Status;
                    }
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status_id: null
                        | string;
                    };
                    quote_id: null
                    | string;
                    quote_url?: string;
                    quote_visible?: boolean;
                    quotes_count: number;
                    reblog: null | Status;
                    reblogged: boolean;
                    reblogs_count: number;
                    replies_count: number;
                    rss_feed:
                        | null
                        | {
                            description: null
                            | string;
                            id: string;
                            image_url: null | string;
                            title: null | string;
                            url: string;
                        };
                    scheduled_at: null;
                    sensitive: boolean;
                    spoiler_text: string;
                    spoiler_text_map: null
                    | { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | (...)[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    text: null
                    | string;
                    text_map: null | { [key: string]: string };
                    thread_muted?: boolean;
                    translation:
                        | null
                        | false
                        | {
                            content: string;
                            detected_source_language: string;
                            id: null
                            | string;
                            media_attachments: { description: ...; id: ... }[];
                            poll?: { id: ...; options: ... };
                            provider: null | string;
                            spoiler_text: string;
                        };
                    uri: string;
                    url: string;
                    visibility: string;
                }[];
                target_account: {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                updated_at?: string;
            },
        >

        Mark report as resolved

        Mark a report as resolved with no further action taken.

      • unassignReport: (
            reportId: string,
        ) => Promise<
            {
                account: {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                action_taken?: boolean;
                action_taken_at: null
                | string;
                action_taken_by_account:
                    | null
                    | {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                assigned_account: | null
                | {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                category?: string;
                comment?: string;
                created_at?: string;
                forwarded?: boolean;
                id: string;
                rules: {
                    hint: string;
                    id: string;
                    text: string;
                    translations?: { [key: string]: { hint: string; text: string } };
                }[];
                statuses: {
                    account: null
                    | Account;
                    application: null | { name: string; website: null | string };
                    approval_status: null | "rejected" | "pending" | "approval";
                    bookmark_folder: null | string;
                    bookmarked: boolean;
                    card:
                        | null
                        | {
                            author_name: string;
                            author_url: string;
                            authors: { account: ...; name: ...; url: ... }[];
                            blurhash: null | string;
                            description: string;
                            embed_url: string;
                            height: number;
                            html: string;
                            image: null | string;
                            image_description: string;
                            provider_name: string;
                            provider_url: string;
                            title: string;
                            type: "link" | "video" | "photo" | "rich";
                            url: string;
                            width: number;
                        };
                    content: string;
                    content_map: null
                    | { [key: string]: string };
                    content_type: null | string;
                    conversation_id?: string;
                    created_at: string;
                    direct_conversation_id?: string;
                    disliked: boolean;
                    dislikes_count: number;
                    edited_at: null | string;
                    emoji_reactions: (
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: undefined;
                            url: undefined;
                        }
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: string;
                            url: string;
                        }
                    )[];
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    event: | null
                    | {
                        end_time: null
                        | string;
                        join_mode: null | "free" | "restricted" | "invite" | "external";
                        join_state: null | "pending" | "reject" | "accept";
                        location:
                            | null
                            | {
                                country: ...;
                                latitude: ...;
                                locality: ...;
                                longitude: ...;
                                name: ...;
                                postal_code: ...;
                                region: ...;
                                street: ...;
                                url: ...;
                            };
                        name: string;
                        participants_count: number;
                        start_time: null
                        | string;
                    };
                    expires_at?: string;
                    favourited: boolean;
                    favourites_count: number;
                    filtered: {
                        filter: {
                            context: (...)[];
                            expires_at: (...) | (...);
                            filter_action: (...) | (...) | (...);
                            id: string;
                            title: string;
                        };
                        keyword_matches: null
                        | string;
                        status_matches: null | string;
                    }[];
                    group: | null
                    | {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: ... };
                        relationship: null | { id: ...; member: ...; requested: ...; role: ... };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    };
                    id: string;
                    in_reply_to_account_acct?: string;
                    in_reply_to_account_id: null
                    | string;
                    in_reply_to_id: null | string;
                    interaction_policy: {
                        can_favourite: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reblog: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reply: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                    };
                    language: null
                    | string;
                    list_id: null | number;
                    local?: boolean;
                    media_attachments: (
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { focus?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "image";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "video";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; focus?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "gifv";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { colors?: ...; duration?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "audio";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "unknown";
                            url: string;
                        }
                    )[];
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    muted: boolean;
                    parent_visible?: boolean;
                    pinned: boolean;
                    pinned_at: null | string;
                    poll:
                        | null
                        | {
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            expired: boolean;
                            expires_at: null
                            | string;
                            id: string;
                            multiple: boolean;
                            non_anonymous: boolean;
                            options: { title: ...; title_map: ...; votes_count: ... }[];
                            own_votes: null | (...)[];
                            voted: boolean;
                            voters_count: number;
                            votes_count: number;
                        };
                    quote: | null
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status: null
                        | Status;
                    }
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status_id: null
                        | string;
                    };
                    quote_id: null
                    | string;
                    quote_url?: string;
                    quote_visible?: boolean;
                    quotes_count: number;
                    reblog: null | Status;
                    reblogged: boolean;
                    reblogs_count: number;
                    replies_count: number;
                    rss_feed:
                        | null
                        | {
                            description: null
                            | string;
                            id: string;
                            image_url: null | string;
                            title: null | string;
                            url: string;
                        };
                    scheduled_at: null;
                    sensitive: boolean;
                    spoiler_text: string;
                    spoiler_text_map: null
                    | { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | (...)[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    text: null
                    | string;
                    text_map: null | { [key: string]: string };
                    thread_muted?: boolean;
                    translation:
                        | null
                        | false
                        | {
                            content: string;
                            detected_source_language: string;
                            id: null
                            | string;
                            media_attachments: { description: ...; id: ... }[];
                            poll?: { id: ...; options: ... };
                            provider: null | string;
                            spoiler_text: string;
                        };
                    uri: string;
                    url: string;
                    visibility: string;
                }[];
                target_account: {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                updated_at?: string;
            },
        >

        Unassign report Unassign a report so that someone else can claim it.

      • updateReport: (
            reportId: string,
            params: AdminUpdateReportParams,
        ) => Promise<
            {
                account: {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                action_taken?: boolean;
                action_taken_at: null
                | string;
                action_taken_by_account:
                    | null
                    | {
                        account: null
                        | Account;
                        actor_type: null | string;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: null | string;
                        domain: null | string;
                        email: null | string;
                        id: string;
                        invite_request: null | string;
                        invited_by_account_id?: string;
                        ip: null | string;
                        ips: { ip: string; used_at: string }[];
                        locale: null | string;
                        role:
                            | null
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            };
                        silenced: boolean;
                        suggested: null
                        | boolean;
                        suspended: boolean;
                        username: string;
                    };
                assigned_account: | null
                | {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                category?: string;
                comment?: string;
                created_at?: string;
                forwarded?: boolean;
                id: string;
                rules: {
                    hint: string;
                    id: string;
                    text: string;
                    translations?: { [key: string]: { hint: string; text: string } };
                }[];
                statuses: {
                    account: null
                    | Account;
                    application: null | { name: string; website: null | string };
                    approval_status: null | "rejected" | "pending" | "approval";
                    bookmark_folder: null | string;
                    bookmarked: boolean;
                    card:
                        | null
                        | {
                            author_name: string;
                            author_url: string;
                            authors: { account: ...; name: ...; url: ... }[];
                            blurhash: null | string;
                            description: string;
                            embed_url: string;
                            height: number;
                            html: string;
                            image: null | string;
                            image_description: string;
                            provider_name: string;
                            provider_url: string;
                            title: string;
                            type: "link" | "video" | "photo" | "rich";
                            url: string;
                            width: number;
                        };
                    content: string;
                    content_map: null
                    | { [key: string]: string };
                    content_type: null | string;
                    conversation_id?: string;
                    created_at: string;
                    direct_conversation_id?: string;
                    disliked: boolean;
                    dislikes_count: number;
                    edited_at: null | string;
                    emoji_reactions: (
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: undefined;
                            url: undefined;
                        }
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: string;
                            url: string;
                        }
                    )[];
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    event: | null
                    | {
                        end_time: null
                        | string;
                        join_mode: null | "free" | "restricted" | "invite" | "external";
                        join_state: null | "pending" | "reject" | "accept";
                        location:
                            | null
                            | {
                                country: ...;
                                latitude: ...;
                                locality: ...;
                                longitude: ...;
                                name: ...;
                                postal_code: ...;
                                region: ...;
                                street: ...;
                                url: ...;
                            };
                        name: string;
                        participants_count: number;
                        start_time: null
                        | string;
                    };
                    expires_at?: string;
                    favourited: boolean;
                    favourites_count: number;
                    filtered: {
                        filter: {
                            context: (...)[];
                            expires_at: (...) | (...);
                            filter_action: (...) | (...) | (...);
                            id: string;
                            title: string;
                        };
                        keyword_matches: null
                        | string;
                        status_matches: null | string;
                    }[];
                    group: | null
                    | {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: ... };
                        relationship: null | { id: ...; member: ...; requested: ...; role: ... };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    };
                    id: string;
                    in_reply_to_account_acct?: string;
                    in_reply_to_account_id: null
                    | string;
                    in_reply_to_id: null | string;
                    interaction_policy: {
                        can_favourite: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reblog: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reply: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                    };
                    language: null
                    | string;
                    list_id: null | number;
                    local?: boolean;
                    media_attachments: (
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { focus?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "image";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "video";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; focus?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "gifv";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { colors?: ...; duration?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "audio";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "unknown";
                            url: string;
                        }
                    )[];
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    muted: boolean;
                    parent_visible?: boolean;
                    pinned: boolean;
                    pinned_at: null | string;
                    poll:
                        | null
                        | {
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            expired: boolean;
                            expires_at: null
                            | string;
                            id: string;
                            multiple: boolean;
                            non_anonymous: boolean;
                            options: { title: ...; title_map: ...; votes_count: ... }[];
                            own_votes: null | (...)[];
                            voted: boolean;
                            voters_count: number;
                            votes_count: number;
                        };
                    quote: | null
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status: null
                        | Status;
                    }
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status_id: null
                        | string;
                    };
                    quote_id: null
                    | string;
                    quote_url?: string;
                    quote_visible?: boolean;
                    quotes_count: number;
                    reblog: null | Status;
                    reblogged: boolean;
                    reblogs_count: number;
                    replies_count: number;
                    rss_feed:
                        | null
                        | {
                            description: null
                            | string;
                            id: string;
                            image_url: null | string;
                            title: null | string;
                            url: string;
                        };
                    scheduled_at: null;
                    sensitive: boolean;
                    spoiler_text: string;
                    spoiler_text_map: null
                    | { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | (...)[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    text: null
                    | string;
                    text_map: null | { [key: string]: string };
                    thread_muted?: boolean;
                    translation:
                        | null
                        | false
                        | {
                            content: string;
                            detected_source_language: string;
                            id: null
                            | string;
                            media_attachments: { description: ...; id: ... }[];
                            poll?: { id: ...; options: ... };
                            provider: null | string;
                            spoiler_text: string;
                        };
                    uri: string;
                    url: string;
                    visibility: string;
                }[];
                target_account: {
                    account: null
                    | Account;
                    actor_type: null | string;
                    approved: boolean;
                    confirmed: boolean;
                    created_at: string;
                    created_by_application_id?: string;
                    disabled: boolean;
                    display_name: null | string;
                    domain: null | string;
                    email: null | string;
                    id: string;
                    invite_request: null | string;
                    invited_by_account_id?: string;
                    ip: null | string;
                    ips: { ip: string; used_at: string }[];
                    locale: null | string;
                    role:
                        | null
                        | {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        };
                    silenced: boolean;
                    suggested: null
                    | boolean;
                    suspended: boolean;
                    username: string;
                };
                updated_at?: string;
            },
        >

        Update a report Change metadata for a report.

    • retention: {
          getRetention: (
              start_at: string,
              end_at: string,
              frequency: "day" | "month",
          ) => Promise<
              {
                  data: { date: string; rate: number; value: number }[];
                  frequency: "day" | "month";
                  period: string;
              }[],
          >;
      }

      Show retention data over time.

      • getRetention: (
            start_at: string,
            end_at: string,
            frequency: "day" | "month",
        ) => Promise<
            {
                data: { date: string; rate: number; value: number }[];
                frequency: "day" | "month";
                period: string;
            }[],
        >

        Calculate retention data

        Generate a retention data report for a given time period and bucket.

    • rules: {
          createRule: (
              params: AdminCreateRuleParams,
          ) => Promise<
              {
                  created_at?: string;
                  hint: string;
                  id: string;
                  priority: null
                  | number;
                  text: string;
                  updated_at?: string;
              },
          >;
          deleteRule: (ruleId: string) => Promise<{}>;
          getRules: () => Promise<
              {
                  created_at?: string;
                  hint: string;
                  id: string;
                  priority: null
                  | number;
                  text: string;
                  updated_at?: string;
              }[],
          >;
          updateRule: (
              ruleId: string,
              params: AdminUpdateRuleParams,
          ) => Promise<
              {
                  created_at?: string;
                  hint: string;
                  id: string;
                  priority: null
                  | number;
                  text: string;
                  updated_at?: string;
              },
          >;
      }
    • statuses: {
          deleteStatus: (statusId: string) => Promise<{}>;
          getStatus: (statusId: string) => Promise<Status>;
          getStatuses: (
              params?: AdminGetStatusesParams,
          ) => Promise<PaginatedResponse<Status, true>>;
          updateStatus: (
              statusId: string,
              params: AdminUpdateStatusParams,
          ) => Promise<Status>;
      }
    • trends: {
          getTrendingLinks: () => Promise<
              {
                  author_name: string;
                  author_url: string;
                  blurhash: null
                  | string;
                  description: string;
                  embed_url: string;
                  height: null | number;
                  history: null | { accounts: number; day: number; uses: number }[];
                  html: string;
                  id: string;
                  image: null | string;
                  image_description: null | string;
                  provider_name: string;
                  provider_url: string;
                  title: string;
                  type: "link" | "video" | "photo" | "rich";
                  url: string;
                  width: null | number;
              }[],
          >;
          getTrendingStatuses: () => Promise<Status[]>;
          getTrendingTags: () => Promise<
              {
                  following?: boolean;
                  history: null
                  | { accounts: number; day: number; uses: number }[];
                  id: string;
                  name: string;
                  requires_review: boolean;
                  total: null | number;
                  trendable: boolean;
                  url: string;
                  usable: boolean;
              }[],
          >;
      }
      • getTrendingLinks: () => Promise<
            {
                author_name: string;
                author_url: string;
                blurhash: null
                | string;
                description: string;
                embed_url: string;
                height: null | number;
                history: null | { accounts: number; day: number; uses: number }[];
                html: string;
                id: string;
                image: null | string;
                image_description: null | string;
                provider_name: string;
                provider_url: string;
                title: string;
                type: "link" | "video" | "photo" | "rich";
                url: string;
                width: null | number;
            }[],
        >

        View trending links Links that have been shared more than others, including unapproved and unreviewed links.

      • getTrendingStatuses: () => Promise<Status[]>

        View trending statuses Statuses that have been interacted with more than others, including unapproved and unreviewed statuses.

      • getTrendingTags: () => Promise<
            {
                following?: boolean;
                history: null
                | { accounts: number; day: number; uses: number }[];
                id: string;
                name: string;
                requires_review: boolean;
                total: null | number;
                trendable: boolean;
                url: string;
                usable: boolean;
            }[],
        >

        View trending tags Tags that are being used more frequently within the past week, including unapproved and unreviewed tags.

    announcements: {
        addAnnouncementReaction: (
            announcementId: string,
            emoji: string,
        ) => Promise<{}>;
        deleteAnnouncementReaction: (
            announcementId: string,
            emoji: string,
        ) => Promise<{}>;
        dismissAnnouncements: (announcementId: string) => Promise<{}>;
        getAnnouncements: () => Promise<
            {
                all_day: boolean;
                content: string;
                emojis: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                ends_at: null
                | string;
                id: string;
                mentions: { acct: string; id: string; url: string; username: string }[];
                published_at: string;
                reactions: {
                    announcement_id: string;
                    count: number;
                    me: boolean;
                    name: string;
                    static_url: null | string;
                    url: null | string;
                }[];
                read: boolean;
                starts_at: null
                | string;
                statuses: { [key: string]: string };
                tags: {
                    following?: boolean;
                    history: null | { accounts: number; day: number; uses: number }[];
                    name: string;
                    total: null | number;
                    url: string;
                }[];
                updated_at: string;
            }[],
        >;
    } = ...

    Type declaration

    • addAnnouncementReaction: (announcementId: string, emoji: string) => Promise<{}>

      Add a reaction to an announcement React to an announcement with an emoji.

    • deleteAnnouncementReaction: (announcementId: string, emoji: string) => Promise<{}>

      Remove a reaction from an announcement Undo a react emoji to an announcement.

    • dismissAnnouncements: (announcementId: string) => Promise<{}>

      Dismiss an announcement Allows a user to mark the announcement as read.

    • getAnnouncements: () => Promise<
          {
              all_day: boolean;
              content: string;
              emojis: {
                  category: null
                  | string;
                  shortcode: string;
                  static_url: string;
                  url: string;
                  visible_in_picker: boolean;
              }[];
              ends_at: null
              | string;
              id: string;
              mentions: { acct: string; id: string; url: string; username: string }[];
              published_at: string;
              reactions: {
                  announcement_id: string;
                  count: number;
                  me: boolean;
                  name: string;
                  static_url: null | string;
                  url: null | string;
              }[];
              read: boolean;
              starts_at: null
              | string;
              statuses: { [key: string]: string };
              tags: {
                  following?: boolean;
                  history: null | { accounts: number; day: number; uses: number }[];
                  name: string;
                  total: null | number;
                  url: string;
              }[];
              updated_at: string;
          }[],
      >

      View all announcements See all currently active announcements set by admins.

    antennas: {
        addAntennaAccount: (antennaId: string, accountId: string) => Promise<{}>;
        addAntennaDomain: (antennaId: string, domain: string) => Promise<{}>;
        addAntennaExcludeAccount: (
            antennaId: string,
            accountId: string,
        ) => Promise<{}>;
        addAntennaExcludeDomain: (antennaId: string, domain: string) => Promise<{}>;
        addAntennaExcludeKeyword: (
            antennaId: string,
            keyword: string,
        ) => Promise<{}>;
        addAntennaExcludeTag: (antennaId: string, tag: string) => Promise<{}>;
        addAntennaKeyword: (antennaId: string, keyword: string) => Promise<{}>;
        addAntennaTag: (antennaId: string, tag: string) => Promise<{}>;
        createAntenna: (params: CreateAntennaParams) => Promise<Antenna>;
        deleteAntenna: (antennaId: string) => Promise<{}>;
        fetchAntennas: () => Promise<Antenna[]>;
        getAntennaAccounts: (antennaId: string) => Promise<Account[]>;
        getAntennaDomains: (
            antennaId: string,
        ) => Promise<{ domains: string[]; exclude_domains: string[] }>;
        getAntennaExcludeAccounts: (antennaId: string) => Promise<Account[]>;
        getAntennaKeywords: (
            antennaId: string,
        ) => Promise<{ exclude_keywords: string[]; keywords: string[] }>;
        getAntennas: (antennaId: string) => Promise<Antenna>;
        getAntennaTags: (
            antennaId: string,
        ) => Promise<{ exclude_tags: string[]; tags: string[] }>;
        removeAntennaAccount: (antennaId: string, accountId: string) => Promise<{}>;
        removeAntennaDomain: (antennaId: string, domain: string) => Promise<{}>;
        removeAntennaExcludeAccount: (
            antennaId: string,
            accountId: string,
        ) => Promise<{}>;
        removeAntennaExcludeDomain: (
            antennaId: string,
            domain: string,
        ) => Promise<{}>;
        removeAntennaExcludeKeyword: (
            antennaId: string,
            keyword: string,
        ) => Promise<{}>;
        removeAntennaExcludeTag: (antennaId: string, tag: string) => Promise<{}>;
        removeAntennaKeyword: (antennaId: string, keyword: string) => Promise<{}>;
        removeAntennaTag: (antennaId: string, tag: string) => Promise<{}>;
        updateAntenna: (
            antennaId: string,
            params: UpdateAntennaParams,
        ) => Promise<Antenna>;
    } = ...

    Type declaration

    • addAntennaAccount: (antennaId: string, accountId: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • addAntennaDomain: (antennaId: string, domain: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • addAntennaExcludeAccount: (antennaId: string, accountId: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • addAntennaExcludeDomain: (antennaId: string, domain: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • addAntennaExcludeKeyword: (antennaId: string, keyword: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • addAntennaExcludeTag: (antennaId: string, tag: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • addAntennaKeyword: (antennaId: string, keyword: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • addAntennaTag: (antennaId: string, tag: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • createAntenna: (params: CreateAntennaParams) => Promise<Antenna>

      Requires featuresFeatures.antennas.

    • deleteAntenna: (antennaId: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • fetchAntennas: () => Promise<Antenna[]>

      Requires featuresFeatures.antennas.

    • getAntennaAccounts: (antennaId: string) => Promise<Account[]>

      Requires featuresFeatures.antennas.

    • getAntennaDomains: (antennaId: string) => Promise<{ domains: string[]; exclude_domains: string[] }>

      Requires featuresFeatures.antennas.

    • getAntennaExcludeAccounts: (antennaId: string) => Promise<Account[]>

      Requires featuresFeatures.antennas.

    • getAntennaKeywords: (
          antennaId: string,
      ) => Promise<{ exclude_keywords: string[]; keywords: string[] }>

      Requires featuresFeatures.antennas.

    • getAntennas: (antennaId: string) => Promise<Antenna>

      Requires featuresFeatures.antennas.

    • getAntennaTags: (antennaId: string) => Promise<{ exclude_tags: string[]; tags: string[] }>

      Requires featuresFeatures.antennas.

    • removeAntennaAccount: (antennaId: string, accountId: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • removeAntennaDomain: (antennaId: string, domain: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • removeAntennaExcludeAccount: (antennaId: string, accountId: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • removeAntennaExcludeDomain: (antennaId: string, domain: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • removeAntennaExcludeKeyword: (antennaId: string, keyword: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • removeAntennaExcludeTag: (antennaId: string, tag: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • removeAntennaKeyword: (antennaId: string, keyword: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • removeAntennaTag: (antennaId: string, tag: string) => Promise<{}>

      Requires featuresFeatures.antennas.

    • updateAntenna: (antennaId: string, params: UpdateAntennaParams) => Promise<Antenna>

      Requires featuresFeatures.antennas.

    apps: {
        createApplication: (
            params: CreateApplicationParams,
        ) => Promise<
            {
                client_id: string;
                client_secret: string;
                client_secret_expires_at?: string;
                id?: string;
                name: string;
                redirect_uri?: string;
                redirect_uris: string[];
                vapid_key?: string;
                website?: string;
            },
        >;
        verifyApplication: () => Promise<
            {
                id?: string;
                name: string;
                redirect_uri?: string;
                redirect_uris: string[];
                vapid_key?: string;
                website?: string;
            },
        >;
    } = ...

    Register client applications that can be used to obtain OAuth tokens.

    Type declaration

    • createApplication: (
          params: CreateApplicationParams,
      ) => Promise<
          {
              client_id: string;
              client_secret: string;
              client_secret_expires_at?: string;
              id?: string;
              name: string;
              redirect_uri?: string;
              redirect_uris: string[];
              vapid_key?: string;
              website?: string;
          },
      >

      Create an application Create a new application to obtain OAuth2 credentials.

    • verifyApplication: () => Promise<
          {
              id?: string;
              name: string;
              redirect_uri?: string;
              redirect_uris: string[];
              vapid_key?: string;
              website?: string;
          },
      >

      Verify your app works Confirm that the app’s OAuth2 credentials work.

    baseURL: string
    chats: {
        createChat: (
            accountId: string,
        ) => Promise<
            {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: (...) | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: string; value: string; verified_at: (...)
                            | (...) }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: string; value: string; verified_at: string }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: (...) | (...);
                                href: (...) | (...);
                                name: (...) | (...);
                                object_id: (...) | (...);
                                price: (...) | (...);
                                type: (...) | (...);
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: boolean;
                                blocking: boolean;
                                domain_blocking: boolean;
                                endorsed: boolean;
                                followed_by: boolean;
                                following: boolean;
                                id: string;
                                muting: boolean;
                                muting_notifications: boolean;
                                note: string;
                                notifying: boolean;
                                requested: boolean;
                                showing_reblogs: boolean;
                            };
                            roles: {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                id: string;
                last_message: | null
                | {
                    account_id: string;
                    attachment: | null
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "image";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            original?: {
                                aspect: ...;
                                duration: ...;
                                frame_rate: ...;
                                height: ...;
                                size: ...;
                                width: ...;
                            };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "video";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "gifv";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            colors?: {
                                accent?: ...;
                                background?: ...;
                                duration?: ...;
                                foreground?: ...;
                            };
                            duration?: number;
                            original?: { bitrate?: ...; duration?: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "audio";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        mime_type: null | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "unknown";
                        url: string;
                    };
                    card: | null
                    | {
                        author_name: string;
                        author_url: string;
                        authors: { account: (...)
                        | (...); name: string; url: string }[];
                        blurhash: null | string;
                        description: string;
                        embed_url: string;
                        height: number;
                        html: string;
                        image: null | string;
                        image_description: string;
                        provider_name: string;
                        provider_url: string;
                        title: string;
                        type: "link" | "video" | "photo" | "rich";
                        url: string;
                        width: number;
                    };
                    chat_id: string;
                    content: string;
                    created_at: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    id: string;
                    unread: boolean;
                };
                unread: number;
                updated_at: string;
            },
        >;
        createChatMessage: (
            chatId: string,
            params: CreateChatMessageParams,
        ) => Promise<
            {
                account_id: string;
                attachment: | null
                | {
                    blurhash: null
                    | string;
                    description: string;
                    id: string;
                    meta: {
                        focus?: { x: number; y: number };
                        original?: {
                            aspect: null | number;
                            height: number;
                            size: null | string;
                            width: number;
                        };
                        small?: {
                            aspect: null
                            | number;
                            height: number;
                            size: null | string;
                            width: number;
                        };
                    };
                    mime_type: null
                    | string;
                    preview_url: string;
                    remote_url: null | string;
                    type: "image";
                    url: string;
                }
                | {
                    blurhash: null
                    | string;
                    description: string;
                    id: string;
                    meta: {
                        duration?: number;
                        original?: {
                            aspect: null | number;
                            duration: null | number;
                            frame_rate: null | string;
                            height: number;
                            size: null | string;
                            width: number;
                        };
                        small?: {
                            aspect: null
                            | number;
                            height: number;
                            size: null | string;
                            width: number;
                        };
                    };
                    mime_type: null
                    | string;
                    preview_url: string;
                    remote_url: null | string;
                    type: "video";
                    url: string;
                }
                | {
                    blurhash: null
                    | string;
                    description: string;
                    id: string;
                    meta: {
                        duration?: number;
                        focus?: { x: number; y: number };
                        original?: {
                            aspect: null | number;
                            height: number;
                            size: null | string;
                            width: number;
                        };
                    };
                    mime_type: null
                    | string;
                    preview_url: string;
                    remote_url: null | string;
                    type: "gifv";
                    url: string;
                }
                | {
                    blurhash: null
                    | string;
                    description: string;
                    id: string;
                    meta: {
                        colors?: {
                            accent?: string;
                            background?: string;
                            duration?: number;
                            foreground?: string;
                        };
                        duration?: number;
                        original?: { bitrate?: number; duration?: number };
                    };
                    mime_type: null
                    | string;
                    preview_url: string;
                    remote_url: null | string;
                    type: "audio";
                    url: string;
                }
                | {
                    blurhash: null
                    | string;
                    description: string;
                    id: string;
                    mime_type: null | string;
                    preview_url: string;
                    remote_url: null | string;
                    type: "unknown";
                    url: string;
                };
                card: | null
                | {
                    author_name: string;
                    author_url: string;
                    authors: { account: null
                    | Account; name: string; url: string }[];
                    blurhash: null | string;
                    description: string;
                    embed_url: string;
                    height: number;
                    html: string;
                    image: null | string;
                    image_description: string;
                    provider_name: string;
                    provider_url: string;
                    title: string;
                    type: "link" | "video" | "photo" | "rich";
                    url: string;
                    width: number;
                };
                chat_id: string;
                content: string;
                created_at: string;
                emojis: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                id: string;
                unread: boolean;
            },
        >;
        deleteChat: (
            chatId: string,
        ) => Promise<
            {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: (...) | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: string; value: string; verified_at: (...)
                            | (...) }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: string; value: string; verified_at: string }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: (...) | (...);
                                href: (...) | (...);
                                name: (...) | (...);
                                object_id: (...) | (...);
                                price: (...) | (...);
                                type: (...) | (...);
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: boolean;
                                blocking: boolean;
                                domain_blocking: boolean;
                                endorsed: boolean;
                                followed_by: boolean;
                                following: boolean;
                                id: string;
                                muting: boolean;
                                muting_notifications: boolean;
                                note: string;
                                notifying: boolean;
                                requested: boolean;
                                showing_reblogs: boolean;
                            };
                            roles: {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                id: string;
                last_message: | null
                | {
                    account_id: string;
                    attachment: | null
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "image";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            original?: {
                                aspect: ...;
                                duration: ...;
                                frame_rate: ...;
                                height: ...;
                                size: ...;
                                width: ...;
                            };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "video";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "gifv";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            colors?: {
                                accent?: ...;
                                background?: ...;
                                duration?: ...;
                                foreground?: ...;
                            };
                            duration?: number;
                            original?: { bitrate?: ...; duration?: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "audio";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        mime_type: null | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "unknown";
                        url: string;
                    };
                    card: | null
                    | {
                        author_name: string;
                        author_url: string;
                        authors: { account: (...)
                        | (...); name: string; url: string }[];
                        blurhash: null | string;
                        description: string;
                        embed_url: string;
                        height: number;
                        html: string;
                        image: null | string;
                        image_description: string;
                        provider_name: string;
                        provider_url: string;
                        title: string;
                        type: "link" | "video" | "photo" | "rich";
                        url: string;
                        width: number;
                    };
                    chat_id: string;
                    content: string;
                    created_at: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    id: string;
                    unread: boolean;
                };
                unread: number;
                updated_at: string;
            },
        >;
        deleteChatMessage: (
            chatId: string,
            messageId: string,
        ) => Promise<
            {
                account_id: string;
                attachment: | null
                | {
                    blurhash: null
                    | string;
                    description: string;
                    id: string;
                    meta: {
                        focus?: { x: number; y: number };
                        original?: {
                            aspect: null | number;
                            height: number;
                            size: null | string;
                            width: number;
                        };
                        small?: {
                            aspect: null
                            | number;
                            height: number;
                            size: null | string;
                            width: number;
                        };
                    };
                    mime_type: null
                    | string;
                    preview_url: string;
                    remote_url: null | string;
                    type: "image";
                    url: string;
                }
                | {
                    blurhash: null
                    | string;
                    description: string;
                    id: string;
                    meta: {
                        duration?: number;
                        original?: {
                            aspect: null | number;
                            duration: null | number;
                            frame_rate: null | string;
                            height: number;
                            size: null | string;
                            width: number;
                        };
                        small?: {
                            aspect: null
                            | number;
                            height: number;
                            size: null | string;
                            width: number;
                        };
                    };
                    mime_type: null
                    | string;
                    preview_url: string;
                    remote_url: null | string;
                    type: "video";
                    url: string;
                }
                | {
                    blurhash: null
                    | string;
                    description: string;
                    id: string;
                    meta: {
                        duration?: number;
                        focus?: { x: number; y: number };
                        original?: {
                            aspect: null | number;
                            height: number;
                            size: null | string;
                            width: number;
                        };
                    };
                    mime_type: null
                    | string;
                    preview_url: string;
                    remote_url: null | string;
                    type: "gifv";
                    url: string;
                }
                | {
                    blurhash: null
                    | string;
                    description: string;
                    id: string;
                    meta: {
                        colors?: {
                            accent?: string;
                            background?: string;
                            duration?: number;
                            foreground?: string;
                        };
                        duration?: number;
                        original?: { bitrate?: number; duration?: number };
                    };
                    mime_type: null
                    | string;
                    preview_url: string;
                    remote_url: null | string;
                    type: "audio";
                    url: string;
                }
                | {
                    blurhash: null
                    | string;
                    description: string;
                    id: string;
                    mime_type: null | string;
                    preview_url: string;
                    remote_url: null | string;
                    type: "unknown";
                    url: string;
                };
                card: | null
                | {
                    author_name: string;
                    author_url: string;
                    authors: { account: null
                    | Account; name: string; url: string }[];
                    blurhash: null | string;
                    description: string;
                    embed_url: string;
                    height: number;
                    html: string;
                    image: null | string;
                    image_description: string;
                    provider_name: string;
                    provider_url: string;
                    title: string;
                    type: "link" | "video" | "photo" | "rich";
                    url: string;
                    width: number;
                };
                chat_id: string;
                content: string;
                created_at: string;
                emojis: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                id: string;
                unread: boolean;
            },
        >;
        getChat: (
            chatId: string,
        ) => Promise<
            {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: (...) | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: string; value: string; verified_at: (...)
                            | (...) }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: string; value: string; verified_at: string }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: (...) | (...);
                                href: (...) | (...);
                                name: (...) | (...);
                                object_id: (...) | (...);
                                price: (...) | (...);
                                type: (...) | (...);
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: boolean;
                                blocking: boolean;
                                domain_blocking: boolean;
                                endorsed: boolean;
                                followed_by: boolean;
                                following: boolean;
                                id: string;
                                muting: boolean;
                                muting_notifications: boolean;
                                note: string;
                                notifying: boolean;
                                requested: boolean;
                                showing_reblogs: boolean;
                            };
                            roles: {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                id: string;
                last_message: | null
                | {
                    account_id: string;
                    attachment: | null
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "image";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            original?: {
                                aspect: ...;
                                duration: ...;
                                frame_rate: ...;
                                height: ...;
                                size: ...;
                                width: ...;
                            };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "video";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "gifv";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            colors?: {
                                accent?: ...;
                                background?: ...;
                                duration?: ...;
                                foreground?: ...;
                            };
                            duration?: number;
                            original?: { bitrate?: ...; duration?: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "audio";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        mime_type: null | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "unknown";
                        url: string;
                    };
                    card: | null
                    | {
                        author_name: string;
                        author_url: string;
                        authors: { account: (...)
                        | (...); name: string; url: string }[];
                        blurhash: null | string;
                        description: string;
                        embed_url: string;
                        height: number;
                        html: string;
                        image: null | string;
                        image_description: string;
                        provider_name: string;
                        provider_url: string;
                        title: string;
                        type: "link" | "video" | "photo" | "rich";
                        url: string;
                        width: number;
                    };
                    chat_id: string;
                    content: string;
                    created_at: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    id: string;
                    unread: boolean;
                };
                unread: number;
                updated_at: string;
            },
        >;
        getChatMessages: (
            chatId: string,
            params?: PaginationParams,
        ) => Promise<
            PaginatedResponse<
                {
                    account_id: string;
                    attachment: | null
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            focus?: { x: number; y: number };
                            original?: {
                                aspect: (...) | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                            small?: {
                                aspect: (...)
                                | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "image";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            original?: {
                                aspect: (...) | (...);
                                duration: (...) | (...);
                                frame_rate: (...) | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                            small?: {
                                aspect: (...)
                                | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "video";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            focus?: { x: number; y: number };
                            original?: {
                                aspect: (...) | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "gifv";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            colors?: {
                                accent?: (...) | (...);
                                background?: (...) | (...);
                                duration?: (...) | (...);
                                foreground?: (...) | (...);
                            };
                            duration?: number;
                            original?: { bitrate?: (...)
                            | (...); duration?: (...) | (...) };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "audio";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        mime_type: null | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "unknown";
                        url: string;
                    };
                    card: | null
                    | {
                        author_name: string;
                        author_url: string;
                        authors: { account: null
                        | Account; name: string; url: string }[];
                        blurhash: null | string;
                        description: string;
                        embed_url: string;
                        height: number;
                        html: string;
                        image: null | string;
                        image_description: string;
                        provider_name: string;
                        provider_url: string;
                        title: string;
                        type: "link" | "video" | "photo" | "rich";
                        url: string;
                        width: number;
                    };
                    chat_id: string;
                    content: string;
                    created_at: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    id: string;
                    unread: boolean;
                },
                true,
            >,
        >;
        getChats: (
            params?: GetChatsParams,
        ) => Promise<
            PaginatedResponse<
                {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: null | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: null
                        | string }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: any; source?: any };
                                accepts_chat_messages: null | boolean;
                                acct: string;
                                ap_id: null | string;
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: null | string;
                                birthday?: string;
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: boolean;
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                enable_rss: boolean;
                                favicon?: string;
                                fields: { name: ...; value: ...; verified_at: ... }[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: boolean;
                                hide_favorites: boolean;
                                hide_followers?: boolean;
                                hide_followers_count?: boolean;
                                hide_follows?: boolean;
                                hide_follows_count?: boolean;
                                id: string;
                                identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                                is_admin?: boolean;
                                is_cat: boolean;
                                is_moderator?: boolean;
                                is_suggested?: boolean;
                                last_status_at: null | string;
                                limited?: boolean;
                                local?: boolean;
                                location?: string;
                                locked: boolean;
                                mention_policy: "none" | "only_known" | "only_followers";
                                noindex: null | boolean;
                                note: string;
                                payment_options: {
                                    chain_id: ...;
                                    href: ...;
                                    name: ...;
                                    object_id: ...;
                                    price: ...;
                                    type: ...;
                                }[];
                                permit_followback?: boolean;
                                pronouns: string[];
                                relationship?: {
                                    blocked_by: ...;
                                    blocking: ...;
                                    domain_blocking: ...;
                                    endorsed: ...;
                                    followed_by: ...;
                                    following: ...;
                                    id: ...;
                                    muting: ...;
                                    muting_notifications: ...;
                                    note: ...;
                                    notifying: ...;
                                    requested: ...;
                                    showing_reblogs: ...;
                                };
                                roles: {
                                    color: ...;
                                    highlighted: ...;
                                    id: ...;
                                    name: ...;
                                    permissions: ...;
                                }[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: boolean;
                                url: string;
                                username: string;
                                verified?: boolean;
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: null | string;
                            href: null | string;
                            name: null | string;
                            object_id: null | string;
                            price: null | string;
                            type: "link" | "monero-subscription";
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    id: string;
                    last_message: | null
                    | {
                        account_id: string;
                        attachment: | null
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            meta: {
                                focus?: (...) | (...);
                                original?: (...) | (...);
                                small?: (...) | (...);
                            };
                            mime_type: null
                            | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "image";
                            url: string;
                        }
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            meta: {
                                duration?: (...) | (...);
                                original?: (...) | (...);
                                small?: (...) | (...);
                            };
                            mime_type: null
                            | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "video";
                            url: string;
                        }
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            meta: {
                                duration?: (...) | (...);
                                focus?: (...) | (...);
                                original?: (...) | (...);
                            };
                            mime_type: null
                            | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "gifv";
                            url: string;
                        }
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            meta: {
                                colors?: (...) | (...);
                                duration?: (...) | (...);
                                original?: (...) | (...);
                            };
                            mime_type: null
                            | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "audio";
                            url: string;
                        }
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            mime_type: null | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "unknown";
                            url: string;
                        };
                        card: | null
                        | {
                            author_name: string;
                            author_url: string;
                            authors: { account: ...; name: ...; url: ... }[];
                            blurhash: null | string;
                            description: string;
                            embed_url: string;
                            height: number;
                            html: string;
                            image: null | string;
                            image_description: string;
                            provider_name: string;
                            provider_url: string;
                            title: string;
                            type: "link" | "video" | "photo" | "rich";
                            url: string;
                            width: number;
                        };
                        chat_id: string;
                        content: string;
                        created_at: string;
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        id: string;
                        unread: boolean;
                    };
                    unread: number;
                    updated_at: string;
                },
                true,
            >,
        >;
        markChatAsRead: (
            chatId: string,
            last_read_id: string,
        ) => Promise<
            {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: (...) | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: string; value: string; verified_at: (...)
                            | (...) }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: string; value: string; verified_at: string }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: (...) | (...);
                                href: (...) | (...);
                                name: (...) | (...);
                                object_id: (...) | (...);
                                price: (...) | (...);
                                type: (...) | (...);
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: boolean;
                                blocking: boolean;
                                domain_blocking: boolean;
                                endorsed: boolean;
                                followed_by: boolean;
                                following: boolean;
                                id: string;
                                muting: boolean;
                                muting_notifications: boolean;
                                note: string;
                                notifying: boolean;
                                requested: boolean;
                                showing_reblogs: boolean;
                            };
                            roles: {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                id: string;
                last_message: | null
                | {
                    account_id: string;
                    attachment: | null
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "image";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            original?: {
                                aspect: ...;
                                duration: ...;
                                frame_rate: ...;
                                height: ...;
                                size: ...;
                                width: ...;
                            };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "video";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "gifv";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            colors?: {
                                accent?: ...;
                                background?: ...;
                                duration?: ...;
                                foreground?: ...;
                            };
                            duration?: number;
                            original?: { bitrate?: ...; duration?: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "audio";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        mime_type: null | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "unknown";
                        url: string;
                    };
                    card: | null
                    | {
                        author_name: string;
                        author_url: string;
                        authors: { account: (...)
                        | (...); name: string; url: string }[];
                        blurhash: null | string;
                        description: string;
                        embed_url: string;
                        height: number;
                        html: string;
                        image: null | string;
                        image_description: string;
                        provider_name: string;
                        provider_url: string;
                        title: string;
                        type: "link" | "video" | "photo" | "rich";
                        url: string;
                        width: number;
                    };
                    chat_id: string;
                    content: string;
                    created_at: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    id: string;
                    unread: boolean;
                };
                unread: number;
                updated_at: string;
            },
        >;
        markChatMessageAsRead: (
            chatId: string,
            chatMessageId: string,
        ) => Promise<
            {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: (...) | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: string; value: string; verified_at: (...)
                            | (...) }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: string; value: string; verified_at: string }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: (...) | (...);
                                href: (...) | (...);
                                name: (...) | (...);
                                object_id: (...) | (...);
                                price: (...) | (...);
                                type: (...) | (...);
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: boolean;
                                blocking: boolean;
                                domain_blocking: boolean;
                                endorsed: boolean;
                                followed_by: boolean;
                                following: boolean;
                                id: string;
                                muting: boolean;
                                muting_notifications: boolean;
                                note: string;
                                notifying: boolean;
                                requested: boolean;
                                showing_reblogs: boolean;
                            };
                            roles: {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                id: string;
                last_message: | null
                | {
                    account_id: string;
                    attachment: | null
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "image";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            original?: {
                                aspect: ...;
                                duration: ...;
                                frame_rate: ...;
                                height: ...;
                                size: ...;
                                width: ...;
                            };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "video";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "gifv";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            colors?: {
                                accent?: ...;
                                background?: ...;
                                duration?: ...;
                                foreground?: ...;
                            };
                            duration?: number;
                            original?: { bitrate?: ...; duration?: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "audio";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        mime_type: null | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "unknown";
                        url: string;
                    };
                    card: | null
                    | {
                        author_name: string;
                        author_url: string;
                        authors: { account: (...)
                        | (...); name: string; url: string }[];
                        blurhash: null | string;
                        description: string;
                        embed_url: string;
                        height: number;
                        html: string;
                        image: null | string;
                        image_description: string;
                        provider_name: string;
                        provider_url: string;
                        title: string;
                        type: "link" | "video" | "photo" | "rich";
                        url: string;
                        width: number;
                    };
                    chat_id: string;
                    content: string;
                    created_at: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    id: string;
                    unread: boolean;
                };
                unread: number;
                updated_at: string;
            },
        >;
    } = ...

    Type declaration

    • createChat: (
          accountId: string,
      ) => Promise<
          {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: (...) | (...);
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: string; value: string; verified_at: (...)
                          | (...) }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: string; value: string; verified_at: string }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: (...) | (...);
                              href: (...) | (...);
                              name: (...) | (...);
                              object_id: (...) | (...);
                              price: (...) | (...);
                              type: (...) | (...);
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: boolean;
                              blocking: boolean;
                              domain_blocking: boolean;
                              endorsed: boolean;
                              followed_by: boolean;
                              following: boolean;
                              id: string;
                              muting: boolean;
                              muting_notifications: boolean;
                              note: string;
                              notifying: boolean;
                              requested: boolean;
                              showing_reblogs: boolean;
                          };
                          roles: {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              id: string;
              last_message: | null
              | {
                  account_id: string;
                  attachment: | null
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "image";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          original?: {
                              aspect: ...;
                              duration: ...;
                              frame_rate: ...;
                              height: ...;
                              size: ...;
                              width: ...;
                          };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "video";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "gifv";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          colors?: {
                              accent?: ...;
                              background?: ...;
                              duration?: ...;
                              foreground?: ...;
                          };
                          duration?: number;
                          original?: { bitrate?: ...; duration?: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "audio";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      mime_type: null | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "unknown";
                      url: string;
                  };
                  card: | null
                  | {
                      author_name: string;
                      author_url: string;
                      authors: { account: (...)
                      | (...); name: string; url: string }[];
                      blurhash: null | string;
                      description: string;
                      embed_url: string;
                      height: number;
                      html: string;
                      image: null | string;
                      image_description: string;
                      provider_name: string;
                      provider_url: string;
                      title: string;
                      type: "link" | "video" | "photo" | "rich";
                      url: string;
                      width: number;
                  };
                  chat_id: string;
                  content: string;
                  created_at: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  id: string;
                  unread: boolean;
              };
              unread: number;
              updated_at: string;
          },
      >

      create or get an existing Chat for a certain recipient

    • createChatMessage: (
          chatId: string,
          params: CreateChatMessageParams,
      ) => Promise<
          {
              account_id: string;
              attachment: | null
              | {
                  blurhash: null
                  | string;
                  description: string;
                  id: string;
                  meta: {
                      focus?: { x: number; y: number };
                      original?: {
                          aspect: null | number;
                          height: number;
                          size: null | string;
                          width: number;
                      };
                      small?: {
                          aspect: null
                          | number;
                          height: number;
                          size: null | string;
                          width: number;
                      };
                  };
                  mime_type: null
                  | string;
                  preview_url: string;
                  remote_url: null | string;
                  type: "image";
                  url: string;
              }
              | {
                  blurhash: null
                  | string;
                  description: string;
                  id: string;
                  meta: {
                      duration?: number;
                      original?: {
                          aspect: null | number;
                          duration: null | number;
                          frame_rate: null | string;
                          height: number;
                          size: null | string;
                          width: number;
                      };
                      small?: {
                          aspect: null
                          | number;
                          height: number;
                          size: null | string;
                          width: number;
                      };
                  };
                  mime_type: null
                  | string;
                  preview_url: string;
                  remote_url: null | string;
                  type: "video";
                  url: string;
              }
              | {
                  blurhash: null
                  | string;
                  description: string;
                  id: string;
                  meta: {
                      duration?: number;
                      focus?: { x: number; y: number };
                      original?: {
                          aspect: null | number;
                          height: number;
                          size: null | string;
                          width: number;
                      };
                  };
                  mime_type: null
                  | string;
                  preview_url: string;
                  remote_url: null | string;
                  type: "gifv";
                  url: string;
              }
              | {
                  blurhash: null
                  | string;
                  description: string;
                  id: string;
                  meta: {
                      colors?: {
                          accent?: string;
                          background?: string;
                          duration?: number;
                          foreground?: string;
                      };
                      duration?: number;
                      original?: { bitrate?: number; duration?: number };
                  };
                  mime_type: null
                  | string;
                  preview_url: string;
                  remote_url: null | string;
                  type: "audio";
                  url: string;
              }
              | {
                  blurhash: null
                  | string;
                  description: string;
                  id: string;
                  mime_type: null | string;
                  preview_url: string;
                  remote_url: null | string;
                  type: "unknown";
                  url: string;
              };
              card: | null
              | {
                  author_name: string;
                  author_url: string;
                  authors: { account: null
                  | Account; name: string; url: string }[];
                  blurhash: null | string;
                  description: string;
                  embed_url: string;
                  height: number;
                  html: string;
                  image: null | string;
                  image_description: string;
                  provider_name: string;
                  provider_url: string;
                  title: string;
                  type: "link" | "video" | "photo" | "rich";
                  url: string;
                  width: number;
              };
              chat_id: string;
              content: string;
              created_at: string;
              emojis: {
                  category: null
                  | string;
                  shortcode: string;
                  static_url: string;
                  url: string;
                  visible_in_picker: boolean;
              }[];
              id: string;
              unread: boolean;
          },
      >

      Posting a chat message Posting a chat message for given Chat id works like this:

    • deleteChat: (
          chatId: string,
      ) => Promise<
          {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: (...) | (...);
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: string; value: string; verified_at: (...)
                          | (...) }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: string; value: string; verified_at: string }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: (...) | (...);
                              href: (...) | (...);
                              name: (...) | (...);
                              object_id: (...) | (...);
                              price: (...) | (...);
                              type: (...) | (...);
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: boolean;
                              blocking: boolean;
                              domain_blocking: boolean;
                              endorsed: boolean;
                              followed_by: boolean;
                              following: boolean;
                              id: string;
                              muting: boolean;
                              muting_notifications: boolean;
                              note: string;
                              notifying: boolean;
                              requested: boolean;
                              showing_reblogs: boolean;
                          };
                          roles: {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              id: string;
              last_message: | null
              | {
                  account_id: string;
                  attachment: | null
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "image";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          original?: {
                              aspect: ...;
                              duration: ...;
                              frame_rate: ...;
                              height: ...;
                              size: ...;
                              width: ...;
                          };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "video";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "gifv";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          colors?: {
                              accent?: ...;
                              background?: ...;
                              duration?: ...;
                              foreground?: ...;
                          };
                          duration?: number;
                          original?: { bitrate?: ...; duration?: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "audio";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      mime_type: null | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "unknown";
                      url: string;
                  };
                  card: | null
                  | {
                      author_name: string;
                      author_url: string;
                      authors: { account: (...)
                      | (...); name: string; url: string }[];
                      blurhash: null | string;
                      description: string;
                      embed_url: string;
                      height: number;
                      html: string;
                      image: null | string;
                      image_description: string;
                      provider_name: string;
                      provider_url: string;
                      title: string;
                      type: "link" | "video" | "photo" | "rich";
                      url: string;
                      width: number;
                  };
                  chat_id: string;
                  content: string;
                  created_at: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  id: string;
                  unread: boolean;
              };
              unread: number;
              updated_at: string;
          },
      >

      Deleting a chat

      Requires featuresFeatures.chatsDelete.

    • deleteChatMessage: (
          chatId: string,
          messageId: string,
      ) => Promise<
          {
              account_id: string;
              attachment: | null
              | {
                  blurhash: null
                  | string;
                  description: string;
                  id: string;
                  meta: {
                      focus?: { x: number; y: number };
                      original?: {
                          aspect: null | number;
                          height: number;
                          size: null | string;
                          width: number;
                      };
                      small?: {
                          aspect: null
                          | number;
                          height: number;
                          size: null | string;
                          width: number;
                      };
                  };
                  mime_type: null
                  | string;
                  preview_url: string;
                  remote_url: null | string;
                  type: "image";
                  url: string;
              }
              | {
                  blurhash: null
                  | string;
                  description: string;
                  id: string;
                  meta: {
                      duration?: number;
                      original?: {
                          aspect: null | number;
                          duration: null | number;
                          frame_rate: null | string;
                          height: number;
                          size: null | string;
                          width: number;
                      };
                      small?: {
                          aspect: null
                          | number;
                          height: number;
                          size: null | string;
                          width: number;
                      };
                  };
                  mime_type: null
                  | string;
                  preview_url: string;
                  remote_url: null | string;
                  type: "video";
                  url: string;
              }
              | {
                  blurhash: null
                  | string;
                  description: string;
                  id: string;
                  meta: {
                      duration?: number;
                      focus?: { x: number; y: number };
                      original?: {
                          aspect: null | number;
                          height: number;
                          size: null | string;
                          width: number;
                      };
                  };
                  mime_type: null
                  | string;
                  preview_url: string;
                  remote_url: null | string;
                  type: "gifv";
                  url: string;
              }
              | {
                  blurhash: null
                  | string;
                  description: string;
                  id: string;
                  meta: {
                      colors?: {
                          accent?: string;
                          background?: string;
                          duration?: number;
                          foreground?: string;
                      };
                      duration?: number;
                      original?: { bitrate?: number; duration?: number };
                  };
                  mime_type: null
                  | string;
                  preview_url: string;
                  remote_url: null | string;
                  type: "audio";
                  url: string;
              }
              | {
                  blurhash: null
                  | string;
                  description: string;
                  id: string;
                  mime_type: null | string;
                  preview_url: string;
                  remote_url: null | string;
                  type: "unknown";
                  url: string;
              };
              card: | null
              | {
                  author_name: string;
                  author_url: string;
                  authors: { account: null
                  | Account; name: string; url: string }[];
                  blurhash: null | string;
                  description: string;
                  embed_url: string;
                  height: number;
                  html: string;
                  image: null | string;
                  image_description: string;
                  provider_name: string;
                  provider_url: string;
                  title: string;
                  type: "link" | "video" | "photo" | "rich";
                  url: string;
                  width: number;
              };
              chat_id: string;
              content: string;
              created_at: string;
              emojis: {
                  category: null
                  | string;
                  shortcode: string;
                  static_url: string;
                  url: string;
                  visible_in_picker: boolean;
              }[];
              id: string;
              unread: boolean;
          },
      >

      Deleting a chat message Deleting a chat message for given Chat id works like this:

    • getChat: (
          chatId: string,
      ) => Promise<
          {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: (...) | (...);
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: string; value: string; verified_at: (...)
                          | (...) }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: string; value: string; verified_at: string }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: (...) | (...);
                              href: (...) | (...);
                              name: (...) | (...);
                              object_id: (...) | (...);
                              price: (...) | (...);
                              type: (...) | (...);
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: boolean;
                              blocking: boolean;
                              domain_blocking: boolean;
                              endorsed: boolean;
                              followed_by: boolean;
                              following: boolean;
                              id: string;
                              muting: boolean;
                              muting_notifications: boolean;
                              note: string;
                              notifying: boolean;
                              requested: boolean;
                              showing_reblogs: boolean;
                          };
                          roles: {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              id: string;
              last_message: | null
              | {
                  account_id: string;
                  attachment: | null
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "image";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          original?: {
                              aspect: ...;
                              duration: ...;
                              frame_rate: ...;
                              height: ...;
                              size: ...;
                              width: ...;
                          };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "video";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "gifv";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          colors?: {
                              accent?: ...;
                              background?: ...;
                              duration?: ...;
                              foreground?: ...;
                          };
                          duration?: number;
                          original?: { bitrate?: ...; duration?: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "audio";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      mime_type: null | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "unknown";
                      url: string;
                  };
                  card: | null
                  | {
                      author_name: string;
                      author_url: string;
                      authors: { account: (...)
                      | (...); name: string; url: string }[];
                      blurhash: null | string;
                      description: string;
                      embed_url: string;
                      height: number;
                      html: string;
                      image: null | string;
                      image_description: string;
                      provider_name: string;
                      provider_url: string;
                      title: string;
                      type: "link" | "video" | "photo" | "rich";
                      url: string;
                      width: number;
                  };
                  chat_id: string;
                  content: string;
                  created_at: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  id: string;
                  unread: boolean;
              };
              unread: number;
              updated_at: string;
          },
      >
    • getChatMessages: (
          chatId: string,
          params?: PaginationParams,
      ) => Promise<
          PaginatedResponse<
              {
                  account_id: string;
                  attachment: | null
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          focus?: { x: number; y: number };
                          original?: {
                              aspect: (...) | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                          small?: {
                              aspect: (...)
                              | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "image";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          original?: {
                              aspect: (...) | (...);
                              duration: (...) | (...);
                              frame_rate: (...) | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                          small?: {
                              aspect: (...)
                              | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "video";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          focus?: { x: number; y: number };
                          original?: {
                              aspect: (...) | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "gifv";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          colors?: {
                              accent?: (...) | (...);
                              background?: (...) | (...);
                              duration?: (...) | (...);
                              foreground?: (...) | (...);
                          };
                          duration?: number;
                          original?: { bitrate?: (...)
                          | (...); duration?: (...) | (...) };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "audio";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      mime_type: null | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "unknown";
                      url: string;
                  };
                  card: | null
                  | {
                      author_name: string;
                      author_url: string;
                      authors: { account: null
                      | Account; name: string; url: string }[];
                      blurhash: null | string;
                      description: string;
                      embed_url: string;
                      height: number;
                      html: string;
                      image: null | string;
                      image_description: string;
                      provider_name: string;
                      provider_url: string;
                      title: string;
                      type: "link" | "video" | "photo" | "rich";
                      url: string;
                      width: number;
                  };
                  chat_id: string;
                  content: string;
                  created_at: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  id: string;
                  unread: boolean;
              },
              true,
          >,
      >

      Getting the messages for a Chat For a given Chat id, you can get the associated messages with

    • getChats: (
          params?: GetChatsParams,
      ) => Promise<
          PaginatedResponse<
              {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: null | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: null
                      | string }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: any; source?: any };
                              accepts_chat_messages: null | boolean;
                              acct: string;
                              ap_id: null | string;
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: null | string;
                              birthday?: string;
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: boolean;
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              enable_rss: boolean;
                              favicon?: string;
                              fields: { name: ...; value: ...; verified_at: ... }[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: boolean;
                              hide_favorites: boolean;
                              hide_followers?: boolean;
                              hide_followers_count?: boolean;
                              hide_follows?: boolean;
                              hide_follows_count?: boolean;
                              id: string;
                              identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                              is_admin?: boolean;
                              is_cat: boolean;
                              is_moderator?: boolean;
                              is_suggested?: boolean;
                              last_status_at: null | string;
                              limited?: boolean;
                              local?: boolean;
                              location?: string;
                              locked: boolean;
                              mention_policy: "none" | "only_known" | "only_followers";
                              noindex: null | boolean;
                              note: string;
                              payment_options: {
                                  chain_id: ...;
                                  href: ...;
                                  name: ...;
                                  object_id: ...;
                                  price: ...;
                                  type: ...;
                              }[];
                              permit_followback?: boolean;
                              pronouns: string[];
                              relationship?: {
                                  blocked_by: ...;
                                  blocking: ...;
                                  domain_blocking: ...;
                                  endorsed: ...;
                                  followed_by: ...;
                                  following: ...;
                                  id: ...;
                                  muting: ...;
                                  muting_notifications: ...;
                                  note: ...;
                                  notifying: ...;
                                  requested: ...;
                                  showing_reblogs: ...;
                              };
                              roles: {
                                  color: ...;
                                  highlighted: ...;
                                  id: ...;
                                  name: ...;
                                  permissions: ...;
                              }[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: boolean;
                              url: string;
                              username: string;
                              verified?: boolean;
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: null | string;
                          href: null | string;
                          name: null | string;
                          object_id: null | string;
                          price: null | string;
                          type: "link" | "monero-subscription";
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  id: string;
                  last_message: | null
                  | {
                      account_id: string;
                      attachment: | null
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          meta: {
                              focus?: (...) | (...);
                              original?: (...) | (...);
                              small?: (...) | (...);
                          };
                          mime_type: null
                          | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "image";
                          url: string;
                      }
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          meta: {
                              duration?: (...) | (...);
                              original?: (...) | (...);
                              small?: (...) | (...);
                          };
                          mime_type: null
                          | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "video";
                          url: string;
                      }
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          meta: {
                              duration?: (...) | (...);
                              focus?: (...) | (...);
                              original?: (...) | (...);
                          };
                          mime_type: null
                          | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "gifv";
                          url: string;
                      }
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          meta: {
                              colors?: (...) | (...);
                              duration?: (...) | (...);
                              original?: (...) | (...);
                          };
                          mime_type: null
                          | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "audio";
                          url: string;
                      }
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          mime_type: null | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "unknown";
                          url: string;
                      };
                      card: | null
                      | {
                          author_name: string;
                          author_url: string;
                          authors: { account: ...; name: ...; url: ... }[];
                          blurhash: null | string;
                          description: string;
                          embed_url: string;
                          height: number;
                          html: string;
                          image: null | string;
                          image_description: string;
                          provider_name: string;
                          provider_url: string;
                          title: string;
                          type: "link" | "video" | "photo" | "rich";
                          url: string;
                          width: number;
                      };
                      chat_id: string;
                      content: string;
                      created_at: string;
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      id: string;
                      unread: boolean;
                  };
                  unread: number;
                  updated_at: string;
              },
              true,
          >,
      >

      Getting a list of Chats This will return a list of chats that you have been involved in, sorted by their last update (so new chats will be at the top).

    • markChatAsRead: (
          chatId: string,
          last_read_id: string,
      ) => Promise<
          {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: (...) | (...);
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: string; value: string; verified_at: (...)
                          | (...) }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: string; value: string; verified_at: string }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: (...) | (...);
                              href: (...) | (...);
                              name: (...) | (...);
                              object_id: (...) | (...);
                              price: (...) | (...);
                              type: (...) | (...);
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: boolean;
                              blocking: boolean;
                              domain_blocking: boolean;
                              endorsed: boolean;
                              followed_by: boolean;
                              following: boolean;
                              id: string;
                              muting: boolean;
                              muting_notifications: boolean;
                              note: string;
                              notifying: boolean;
                              requested: boolean;
                              showing_reblogs: boolean;
                          };
                          roles: {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              id: string;
              last_message: | null
              | {
                  account_id: string;
                  attachment: | null
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "image";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          original?: {
                              aspect: ...;
                              duration: ...;
                              frame_rate: ...;
                              height: ...;
                              size: ...;
                              width: ...;
                          };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "video";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "gifv";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          colors?: {
                              accent?: ...;
                              background?: ...;
                              duration?: ...;
                              foreground?: ...;
                          };
                          duration?: number;
                          original?: { bitrate?: ...; duration?: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "audio";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      mime_type: null | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "unknown";
                      url: string;
                  };
                  card: | null
                  | {
                      author_name: string;
                      author_url: string;
                      authors: { account: (...)
                      | (...); name: string; url: string }[];
                      blurhash: null | string;
                      description: string;
                      embed_url: string;
                      height: number;
                      html: string;
                      image: null | string;
                      image_description: string;
                      provider_name: string;
                      provider_url: string;
                      title: string;
                      type: "link" | "video" | "photo" | "rich";
                      url: string;
                      width: number;
                  };
                  chat_id: string;
                  content: string;
                  created_at: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  id: string;
                  unread: boolean;
              };
              unread: number;
              updated_at: string;
          },
      >

      Marking a chat as read mark a number of messages in a chat up to a certain message as read

    • markChatMessageAsRead: (
          chatId: string,
          chatMessageId: string,
      ) => Promise<
          {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: (...) | (...);
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: string; value: string; verified_at: (...)
                          | (...) }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: string; value: string; verified_at: string }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: (...) | (...);
                              href: (...) | (...);
                              name: (...) | (...);
                              object_id: (...) | (...);
                              price: (...) | (...);
                              type: (...) | (...);
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: boolean;
                              blocking: boolean;
                              domain_blocking: boolean;
                              endorsed: boolean;
                              followed_by: boolean;
                              following: boolean;
                              id: string;
                              muting: boolean;
                              muting_notifications: boolean;
                              note: string;
                              notifying: boolean;
                              requested: boolean;
                              showing_reblogs: boolean;
                          };
                          roles: {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              id: string;
              last_message: | null
              | {
                  account_id: string;
                  attachment: | null
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "image";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          original?: {
                              aspect: ...;
                              duration: ...;
                              frame_rate: ...;
                              height: ...;
                              size: ...;
                              width: ...;
                          };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "video";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "gifv";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          colors?: {
                              accent?: ...;
                              background?: ...;
                              duration?: ...;
                              foreground?: ...;
                          };
                          duration?: number;
                          original?: { bitrate?: ...; duration?: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "audio";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      mime_type: null | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "unknown";
                      url: string;
                  };
                  card: | null
                  | {
                      author_name: string;
                      author_url: string;
                      authors: { account: (...)
                      | (...); name: string; url: string }[];
                      blurhash: null | string;
                      description: string;
                      embed_url: string;
                      height: number;
                      html: string;
                      image: null | string;
                      image_description: string;
                      provider_name: string;
                      provider_url: string;
                      title: string;
                      type: "link" | "video" | "photo" | "rich";
                      url: string;
                      width: number;
                  };
                  chat_id: string;
                  content: string;
                  created_at: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  id: string;
                  unread: boolean;
              };
              unread: number;
              updated_at: string;
          },
      >

      Marking a single chat message as read To set the unread property of a message to false https://docs.pleroma.social/backend/development/API/chats/#marking-a-single-chat-message-as-read

    circles: {
        createCircle: (title: string) => Promise<{ id: string; title: string }>;
        deleteCircle: (circleId: string) => Promise<{}>;
        fetchCircles: () => Promise<{ id: string; title: string }[]>;
        getCircle: (circleId: string) => Promise<{ id: string; title: string }>;
        getCircleStatuses: (
            circleId: string,
            params: PaginationParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        updateCircle: (
            circleId: string,
            title: string,
        ) => Promise<{ id: string; title: string }>;
    } = ...

    Type declaration

    • createCircle: (title: string) => Promise<{ id: string; title: string }>

      Requires featuresFeatures.circles.

    • deleteCircle: (circleId: string) => Promise<{}>

      Requires featuresFeatures.circles.

    • fetchCircles: () => Promise<{ id: string; title: string }[]>

      Requires featuresFeatures.circles.

    • getCircle: (circleId: string) => Promise<{ id: string; title: string }>

      Requires featuresFeatures.circles.

    • getCircleStatuses: (
          circleId: string,
          params: PaginationParams,
      ) => Promise<PaginatedResponse<Status, true>>
    • updateCircle: (circleId: string, title: string) => Promise<{ id: string; title: string }>

      Requires featuresFeatures.circles.

    drive: {
        createFile: (
            file: File,
            folderId: string,
        ) => Promise<
            {
                content_type: string;
                description: null
                | string;
                filename: string;
                id: string;
                is_avatar: boolean;
                is_banner: boolean;
                sensitive: boolean;
                thumbnail_url: string;
                url: string;
            },
        >;
        createFolder: (
            name: string,
            parentId: string,
        ) => Promise<
            {
                files: {
                    content_type: string;
                    description: null
                    | string;
                    filename: string;
                    id: string;
                    is_avatar: boolean;
                    is_banner: boolean;
                    sensitive: boolean;
                    thumbnail_url: string;
                    url: string;
                }[];
                folders: {
                    emoji: null
                    | string;
                    emoji_url: null | string;
                    id: string;
                    name: string;
                }[];
                id: null
                | string;
                name: null | string;
                parent_id: null | string;
            },
        >;
        deleteFile: (id: string) => Promise<PlApiResponse<{}>>;
        deleteFolder: (id: string) => Promise<PlApiResponse<{}>>;
        getDrive: () => Promise<
            {
                files: {
                    content_type: string;
                    description: null
                    | string;
                    filename: string;
                    id: string;
                    is_avatar: boolean;
                    is_banner: boolean;
                    sensitive: boolean;
                    thumbnail_url: string;
                    url: string;
                }[];
                folders: {
                    emoji: null
                    | string;
                    emoji_url: null | string;
                    id: string;
                    name: string;
                }[];
                id: null
                | string;
                name: null | string;
                parent_id: null | string;
            },
        >;
        getFile: (
            id: string,
        ) => Promise<
            {
                content_type: string;
                description: null
                | string;
                filename: string;
                id: string;
                is_avatar: boolean;
                is_banner: boolean;
                sensitive: boolean;
                thumbnail_url: string;
                url: string;
            },
        >;
        getFolder: (
            id: string,
        ) => Promise<
            {
                files: {
                    content_type: string;
                    description: null
                    | string;
                    filename: string;
                    id: string;
                    is_avatar: boolean;
                    is_banner: boolean;
                    sensitive: boolean;
                    thumbnail_url: string;
                    url: string;
                }[];
                folders: {
                    emoji: null
                    | string;
                    emoji_url: null | string;
                    id: string;
                    name: string;
                }[];
                id: null
                | string;
                name: null | string;
                parent_id: null | string;
            },
        >;
        moveFile: (
            id: string,
            targetFolderId: string,
        ) => Promise<
            {
                files: {
                    content_type: string;
                    description: null
                    | string;
                    filename: string;
                    id: string;
                    is_avatar: boolean;
                    is_banner: boolean;
                    sensitive: boolean;
                    thumbnail_url: string;
                    url: string;
                }[];
                folders: {
                    emoji: null
                    | string;
                    emoji_url: null | string;
                    id: string;
                    name: string;
                }[];
                id: null
                | string;
                name: null | string;
                parent_id: null | string;
            },
        >;
        moveFolder: (
            id: string,
            targetFolderId: string,
        ) => Promise<
            {
                files: {
                    content_type: string;
                    description: null
                    | string;
                    filename: string;
                    id: string;
                    is_avatar: boolean;
                    is_banner: boolean;
                    sensitive: boolean;
                    thumbnail_url: string;
                    url: string;
                }[];
                folders: {
                    emoji: null
                    | string;
                    emoji_url: null | string;
                    id: string;
                    name: string;
                }[];
                id: null
                | string;
                name: null | string;
                parent_id: null | string;
            },
        >;
        updateFile: (
            id: string,
            params: UpdateFileParams,
        ) => Promise<
            {
                content_type: string;
                description: null
                | string;
                filename: string;
                id: string;
                is_avatar: boolean;
                is_banner: boolean;
                sensitive: boolean;
                thumbnail_url: string;
                url: string;
            },
        >;
        updateFolder: (
            id: string,
            name: string,
        ) => Promise<
            {
                files: {
                    content_type: string;
                    description: null
                    | string;
                    filename: string;
                    id: string;
                    is_avatar: boolean;
                    is_banner: boolean;
                    sensitive: boolean;
                    thumbnail_url: string;
                    url: string;
                }[];
                folders: {
                    emoji: null
                    | string;
                    emoji_url: null | string;
                    id: string;
                    name: string;
                }[];
                id: null
                | string;
                name: null | string;
                parent_id: null | string;
            },
        >;
    } = ...
    emails: { resendConfirmationEmail: (email: string) => Promise<{}> } = ...
    events: {
        acceptEventParticipationRequest: (
            statusId: string,
            accountId: string,
        ) => Promise<Status>;
        createEvent: (params: CreateEventParams) => Promise<Status>;
        editEvent: (statusId: string, params: EditEventParams) => Promise<Status>;
        getEventIcs: (statusId: string) => Promise<string>;
        getEventParticipationRequests: (
            statusId: string,
            params?: PaginationParams,
        ) => Promise<
            PaginatedResponse<
                {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: null | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: null
                        | string }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: any; source?: any };
                                accepts_chat_messages: null | boolean;
                                acct: string;
                                ap_id: null | string;
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: null | string;
                                birthday?: string;
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: boolean;
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                enable_rss: boolean;
                                favicon?: string;
                                fields: { name: ...; value: ...; verified_at: ... }[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: boolean;
                                hide_favorites: boolean;
                                hide_followers?: boolean;
                                hide_followers_count?: boolean;
                                hide_follows?: boolean;
                                hide_follows_count?: boolean;
                                id: string;
                                identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                                is_admin?: boolean;
                                is_cat: boolean;
                                is_moderator?: boolean;
                                is_suggested?: boolean;
                                last_status_at: null | string;
                                limited?: boolean;
                                local?: boolean;
                                location?: string;
                                locked: boolean;
                                mention_policy: "none" | "only_known" | "only_followers";
                                noindex: null | boolean;
                                note: string;
                                payment_options: {
                                    chain_id: ...;
                                    href: ...;
                                    name: ...;
                                    object_id: ...;
                                    price: ...;
                                    type: ...;
                                }[];
                                permit_followback?: boolean;
                                pronouns: string[];
                                relationship?: {
                                    blocked_by: ...;
                                    blocking: ...;
                                    domain_blocking: ...;
                                    endorsed: ...;
                                    followed_by: ...;
                                    following: ...;
                                    id: ...;
                                    muting: ...;
                                    muting_notifications: ...;
                                    note: ...;
                                    notifying: ...;
                                    requested: ...;
                                    showing_reblogs: ...;
                                };
                                roles: {
                                    color: ...;
                                    highlighted: ...;
                                    id: ...;
                                    name: ...;
                                    permissions: ...;
                                }[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: boolean;
                                url: string;
                                username: string;
                                verified?: boolean;
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: null | string;
                            href: null | string;
                            name: null | string;
                            object_id: null | string;
                            price: null | string;
                            type: "link" | "monero-subscription";
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    participation_message: string;
                },
                true,
            >,
        >;
        getEventParticipations: (
            statusId: string,
            params?: PaginationParams,
        ) => Promise<PaginatedResponse<Account, true>>;
        getJoinedEvents: (
            state?: "pending" | "reject" | "accept",
            params?: PaginationParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        joinEvent: (
            statusId: string,
            participation_message?: string,
        ) => Promise<Status>;
        leaveEvent: (statusId: string) => Promise<Status>;
        rejectEventParticipationRequest: (
            statusId: string,
            accountId: string,
        ) => Promise<Status>;
    } = ...

    Type declaration

    • acceptEventParticipationRequest: (statusId: string, accountId: string) => Promise<Status>

      Accepts user to the event

    • createEvent: (params: CreateEventParams) => Promise<Status>

      Creates an event

    • editEvent: (statusId: string, params: EditEventParams) => Promise<Status>

      Edits an event

    • getEventIcs: (statusId: string) => Promise<string>

      Event ICS file

    • getEventParticipationRequests: (
          statusId: string,
          params?: PaginationParams,
      ) => Promise<
          PaginatedResponse<
              {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: null | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: null
                      | string }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: any; source?: any };
                              accepts_chat_messages: null | boolean;
                              acct: string;
                              ap_id: null | string;
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: null | string;
                              birthday?: string;
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: boolean;
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              enable_rss: boolean;
                              favicon?: string;
                              fields: { name: ...; value: ...; verified_at: ... }[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: boolean;
                              hide_favorites: boolean;
                              hide_followers?: boolean;
                              hide_followers_count?: boolean;
                              hide_follows?: boolean;
                              hide_follows_count?: boolean;
                              id: string;
                              identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                              is_admin?: boolean;
                              is_cat: boolean;
                              is_moderator?: boolean;
                              is_suggested?: boolean;
                              last_status_at: null | string;
                              limited?: boolean;
                              local?: boolean;
                              location?: string;
                              locked: boolean;
                              mention_policy: "none" | "only_known" | "only_followers";
                              noindex: null | boolean;
                              note: string;
                              payment_options: {
                                  chain_id: ...;
                                  href: ...;
                                  name: ...;
                                  object_id: ...;
                                  price: ...;
                                  type: ...;
                              }[];
                              permit_followback?: boolean;
                              pronouns: string[];
                              relationship?: {
                                  blocked_by: ...;
                                  blocking: ...;
                                  domain_blocking: ...;
                                  endorsed: ...;
                                  followed_by: ...;
                                  following: ...;
                                  id: ...;
                                  muting: ...;
                                  muting_notifications: ...;
                                  note: ...;
                                  notifying: ...;
                                  requested: ...;
                                  showing_reblogs: ...;
                              };
                              roles: {
                                  color: ...;
                                  highlighted: ...;
                                  id: ...;
                                  name: ...;
                                  permissions: ...;
                              }[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: boolean;
                              url: string;
                              username: string;
                              verified?: boolean;
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: null | string;
                          href: null | string;
                          name: null | string;
                          object_id: null | string;
                          price: null | string;
                          type: "link" | "monero-subscription";
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  participation_message: string;
              },
              true,
          >,
      >

      Gets event participation requests

    • getEventParticipations: (
          statusId: string,
          params?: PaginationParams,
      ) => Promise<PaginatedResponse<Account, true>>

      Gets event participants

    • getJoinedEvents: (
          state?: "pending" | "reject" | "accept",
          params?: PaginationParams,
      ) => Promise<PaginatedResponse<Status, true>>

      Gets user's joined events

    • joinEvent: (statusId: string, participation_message?: string) => Promise<Status>

      Joins the event

    • leaveEvent: (statusId: string) => Promise<Status>

      Leaves the event

    • rejectEventParticipationRequest: (statusId: string, accountId: string) => Promise<Status>

      Rejects user from the event

    experimental: {
        admin: {
            groups: {
                deleteGroup: (
                    groupId: string,
                ) => Promise<
                    {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: string };
                        relationship:
                            | null
                            | {
                                id: string;
                                member: boolean;
                                requested: boolean;
                                role: GroupRoles;
                            };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    },
                >;
                getGroup: (
                    groupId: string,
                ) => Promise<
                    {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: string };
                        relationship:
                            | null
                            | {
                                id: string;
                                member: boolean;
                                requested: boolean;
                                role: GroupRoles;
                            };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    },
                >;
                getGroups: (
                    params?: AdminGetGroupsParams,
                ) => Promise<
                    {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: string };
                        relationship:
                            | null
                            | {
                                id: string;
                                member: boolean;
                                requested: boolean;
                                role: GroupRoles;
                            };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    }[],
                >;
                suspendGroup: (
                    groupId: string,
                ) => Promise<
                    {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: string };
                        relationship:
                            | null
                            | {
                                id: string;
                                member: boolean;
                                requested: boolean;
                                role: GroupRoles;
                            };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    },
                >;
                unsuspendGroup: (
                    groupId: string,
                ) => Promise<
                    {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: string };
                        relationship:
                            | null
                            | {
                                id: string;
                                member: boolean;
                                requested: boolean;
                                role: GroupRoles;
                            };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    },
                >;
            };
        };
        groups: {
            acceptGroupMembershipRequest: (
                groupId: string,
                accountId: string,
            ) => Promise<{}>;
            blockGroupUsers: (groupId: string, accountIds: string[]) => Promise<{}>;
            createGroup: (
                params: CreateGroupParams,
            ) => Promise<
                {
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    created_at: string;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    header: string;
                    header_description: string;
                    header_static: string;
                    id: string;
                    locked: boolean;
                    members_count: number;
                    membership_required: boolean;
                    note: string;
                    owner: null
                    | { id: string };
                    relationship:
                        | null
                        | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                    statuses_visibility: string;
                    uri: string;
                    url: string;
                },
            >;
            deleteGroup: (groupId: string) => Promise<{}>;
            deleteGroupStatus: (groupId: string, statusId: string) => Promise<Status>;
            demoteGroupUsers: (
                groupId: string,
                accountIds: string[],
                role: "user" | "owner" | "admin",
            ) => Promise<
                {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    id: string;
                    role: GroupRoles;
                }[],
            >;
            getGroup: (
                groupId: string,
            ) => Promise<
                {
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    created_at: string;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    header: string;
                    header_description: string;
                    header_static: string;
                    id: string;
                    locked: boolean;
                    members_count: number;
                    membership_required: boolean;
                    note: string;
                    owner: null
                    | { id: string };
                    relationship:
                        | null
                        | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                    statuses_visibility: string;
                    uri: string;
                    url: string;
                },
            >;
            getGroupBlocks: (
                groupId: string,
                params?: GetGroupBlocksParams,
            ) => Promise<PaginatedResponse<Account, true>>;
            getGroupMembershipRequests: (
                groupId: string,
                params?: GetGroupMembershipRequestsParams,
            ) => Promise<PaginatedResponse<Account, true>>;
            getGroupMemberships: (
                groupId: string,
                role?: "user" | "owner" | "admin",
                params?: GetGroupMembershipsParams,
            ) => Promise<
                PaginatedResponse<
                    {
                        account: {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: (...) | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: string; value: string; verified_at: (...)
                            | (...) }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: string; value: string; verified_at: string }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            moved:
                                | null
                                | {
                                    __meta: { pleroma?: ...; source?: ... };
                                    accepts_chat_messages: (...) | (...) | (...);
                                    acct: string;
                                    ap_id: (...) | (...);
                                    avatar: string;
                                    avatar_description: string;
                                    avatar_static: string;
                                    background_image: (...) | (...);
                                    birthday?: (...) | (...);
                                    bot: boolean;
                                    created_at: string;
                                    custom_css: string;
                                    deactivated?: (...) | (...) | (...);
                                    discoverable: boolean;
                                    display_name: string;
                                    domain: string;
                                    emojis: (...)[];
                                    enable_rss: boolean;
                                    favicon?: (...) | (...);
                                    fields: (...)[];
                                    followers_count: number;
                                    following_count: number;
                                    fqn: string;
                                    group: boolean;
                                    header: string;
                                    header_description: string;
                                    header_static: string;
                                    hide_collections?: (...) | (...) | (...);
                                    hide_favorites: boolean;
                                    hide_followers?: (...) | (...) | (...);
                                    hide_followers_count?: (...) | (...) | (...);
                                    hide_follows?: (...) | (...) | (...);
                                    hide_follows_count?: (...) | (...) | (...);
                                    id: string;
                                    identity_proofs: (...)[];
                                    is_admin?: (...) | (...) | (...);
                                    is_cat: boolean;
                                    is_moderator?: (...) | (...) | (...);
                                    is_suggested?: (...) | (...) | (...);
                                    last_status_at: (...) | (...);
                                    limited?: (...) | (...) | (...);
                                    local?: (...) | (...) | (...);
                                    location?: (...) | (...);
                                    locked: boolean;
                                    mention_policy: (...) | (...) | (...);
                                    noindex: (...) | (...) | (...);
                                    note: string;
                                    payment_options: (...)[];
                                    permit_followback?: (...) | (...) | (...);
                                    pronouns: (...)[];
                                    relationship?: (...) | (...);
                                    roles: (...)[];
                                    speak_as_cat: boolean;
                                    statuses_count: number;
                                    subscribers_count: number;
                                    suspended?: (...) | (...) | (...);
                                    url: string;
                                    username: string;
                                    verified?: (...) | (...) | (...);
                                };
                            noindex: null
                            | boolean;
                            note: string;
                            payment_options: {
                                chain_id: (...) | (...);
                                href: (...) | (...);
                                name: (...) | (...);
                                object_id: (...) | (...);
                                price: (...) | (...);
                                type: (...) | (...);
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: boolean;
                                blocking: boolean;
                                domain_blocking: boolean;
                                endorsed: boolean;
                                followed_by: boolean;
                                following: boolean;
                                id: string;
                                muting: boolean;
                                muting_notifications: boolean;
                                note: string;
                                notifying: boolean;
                                requested: boolean;
                                showing_reblogs: boolean;
                            };
                            roles: {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        } & WithMoved;
                        id: string;
                        role: GroupRoles;
                    },
                    true,
                >,
            >;
            getGroupRelationships: (
                groupIds: string[],
            ) => Promise<
                { id: string; member: boolean; requested: boolean; role: GroupRoles }[],
            >;
            getGroups: () => Promise<
                {
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    created_at: string;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    header: string;
                    header_description: string;
                    header_static: string;
                    id: string;
                    locked: boolean;
                    members_count: number;
                    membership_required: boolean;
                    note: string;
                    owner: null
                    | { id: string };
                    relationship:
                        | null
                        | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                    statuses_visibility: string;
                    uri: string;
                    url: string;
                }[],
            >;
            joinGroup: (
                groupId: string,
            ) => Promise<
                { id: string; member: boolean; requested: boolean; role: GroupRoles },
            >;
            kickGroupUsers: (groupId: string, accountIds: string[]) => Promise<{}>;
            leaveGroup: (
                groupId: string,
            ) => Promise<
                { id: string; member: boolean; requested: boolean; role: GroupRoles },
            >;
            promoteGroupUsers: (
                groupId: string,
                accountIds: string[],
                role: "user" | "owner" | "admin",
            ) => Promise<
                {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    id: string;
                    role: GroupRoles;
                }[],
            >;
            rejectGroupMembershipRequest: (
                groupId: string,
                accountId: string,
            ) => Promise<{}>;
            unblockGroupUsers: (groupId: string, accountIds: string[]) => Promise<{}>;
            updateGroup: (
                groupId: string,
                params: UpdateGroupParams,
            ) => Promise<
                {
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    created_at: string;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    header: string;
                    header_description: string;
                    header_static: string;
                    id: string;
                    locked: boolean;
                    members_count: number;
                    membership_required: boolean;
                    note: string;
                    owner: null
                    | { id: string };
                    relationship:
                        | null
                        | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                    statuses_visibility: string;
                    uri: string;
                    url: string;
                },
            >;
        };
    } = ...

    Routes that are not part of any stable release

    Type declaration

    • admin: {
          groups: {
              deleteGroup: (
                  groupId: string,
              ) => Promise<
                  {
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      created_at: string;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      header: string;
                      header_description: string;
                      header_static: string;
                      id: string;
                      locked: boolean;
                      members_count: number;
                      membership_required: boolean;
                      note: string;
                      owner: null
                      | { id: string };
                      relationship:
                          | null
                          | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                      statuses_visibility: string;
                      uri: string;
                      url: string;
                  },
              >;
              getGroup: (
                  groupId: string,
              ) => Promise<
                  {
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      created_at: string;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      header: string;
                      header_description: string;
                      header_static: string;
                      id: string;
                      locked: boolean;
                      members_count: number;
                      membership_required: boolean;
                      note: string;
                      owner: null
                      | { id: string };
                      relationship:
                          | null
                          | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                      statuses_visibility: string;
                      uri: string;
                      url: string;
                  },
              >;
              getGroups: (
                  params?: AdminGetGroupsParams,
              ) => Promise<
                  {
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      created_at: string;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      header: string;
                      header_description: string;
                      header_static: string;
                      id: string;
                      locked: boolean;
                      members_count: number;
                      membership_required: boolean;
                      note: string;
                      owner: null
                      | { id: string };
                      relationship:
                          | null
                          | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                      statuses_visibility: string;
                      uri: string;
                      url: string;
                  }[],
              >;
              suspendGroup: (
                  groupId: string,
              ) => Promise<
                  {
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      created_at: string;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      header: string;
                      header_description: string;
                      header_static: string;
                      id: string;
                      locked: boolean;
                      members_count: number;
                      membership_required: boolean;
                      note: string;
                      owner: null
                      | { id: string };
                      relationship:
                          | null
                          | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                      statuses_visibility: string;
                      uri: string;
                      url: string;
                  },
              >;
              unsuspendGroup: (
                  groupId: string,
              ) => Promise<
                  {
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      created_at: string;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      header: string;
                      header_description: string;
                      header_static: string;
                      id: string;
                      locked: boolean;
                      members_count: number;
                      membership_required: boolean;
                      note: string;
                      owner: null
                      | { id: string };
                      relationship:
                          | null
                          | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                      statuses_visibility: string;
                      uri: string;
                      url: string;
                  },
              >;
          };
      }
      • groups: {
            deleteGroup: (
                groupId: string,
            ) => Promise<
                {
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    created_at: string;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    header: string;
                    header_description: string;
                    header_static: string;
                    id: string;
                    locked: boolean;
                    members_count: number;
                    membership_required: boolean;
                    note: string;
                    owner: null
                    | { id: string };
                    relationship:
                        | null
                        | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                    statuses_visibility: string;
                    uri: string;
                    url: string;
                },
            >;
            getGroup: (
                groupId: string,
            ) => Promise<
                {
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    created_at: string;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    header: string;
                    header_description: string;
                    header_static: string;
                    id: string;
                    locked: boolean;
                    members_count: number;
                    membership_required: boolean;
                    note: string;
                    owner: null
                    | { id: string };
                    relationship:
                        | null
                        | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                    statuses_visibility: string;
                    uri: string;
                    url: string;
                },
            >;
            getGroups: (
                params?: AdminGetGroupsParams,
            ) => Promise<
                {
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    created_at: string;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    header: string;
                    header_description: string;
                    header_static: string;
                    id: string;
                    locked: boolean;
                    members_count: number;
                    membership_required: boolean;
                    note: string;
                    owner: null
                    | { id: string };
                    relationship:
                        | null
                        | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                    statuses_visibility: string;
                    uri: string;
                    url: string;
                }[],
            >;
            suspendGroup: (
                groupId: string,
            ) => Promise<
                {
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    created_at: string;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    header: string;
                    header_description: string;
                    header_static: string;
                    id: string;
                    locked: boolean;
                    members_count: number;
                    membership_required: boolean;
                    note: string;
                    owner: null
                    | { id: string };
                    relationship:
                        | null
                        | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                    statuses_visibility: string;
                    uri: string;
                    url: string;
                },
            >;
            unsuspendGroup: (
                groupId: string,
            ) => Promise<
                {
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    created_at: string;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    header: string;
                    header_description: string;
                    header_static: string;
                    id: string;
                    locked: boolean;
                    members_count: number;
                    membership_required: boolean;
                    note: string;
                    owner: null
                    | { id: string };
                    relationship:
                        | null
                        | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                    statuses_visibility: string;
                    uri: string;
                    url: string;
                },
            >;
        }
        • deleteGroup: (
              groupId: string,
          ) => Promise<
              {
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  created_at: string;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  header: string;
                  header_description: string;
                  header_static: string;
                  id: string;
                  locked: boolean;
                  members_count: number;
                  membership_required: boolean;
                  note: string;
                  owner: null
                  | { id: string };
                  relationship:
                      | null
                      | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                  statuses_visibility: string;
                  uri: string;
                  url: string;
              },
          >

          deletes an already-suspended group

        • getGroup: (
              groupId: string,
          ) => Promise<
              {
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  created_at: string;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  header: string;
                  header_description: string;
                  header_static: string;
                  id: string;
                  locked: boolean;
                  members_count: number;
                  membership_required: boolean;
                  note: string;
                  owner: null
                  | { id: string };
                  relationship:
                      | null
                      | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                  statuses_visibility: string;
                  uri: string;
                  url: string;
              },
          >

          return basic group information

        • getGroups: (
              params?: AdminGetGroupsParams,
          ) => Promise<
              {
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  created_at: string;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  header: string;
                  header_description: string;
                  header_static: string;
                  id: string;
                  locked: boolean;
                  members_count: number;
                  membership_required: boolean;
                  note: string;
                  owner: null
                  | { id: string };
                  relationship:
                      | null
                      | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                  statuses_visibility: string;
                  uri: string;
                  url: string;
              }[],
          >

          list groups known to the instance. Mimics the interface of /api/v1/admin/accounts

        • suspendGroup: (
              groupId: string,
          ) => Promise<
              {
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  created_at: string;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  header: string;
                  header_description: string;
                  header_static: string;
                  id: string;
                  locked: boolean;
                  members_count: number;
                  membership_required: boolean;
                  note: string;
                  owner: null
                  | { id: string };
                  relationship:
                      | null
                      | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                  statuses_visibility: string;
                  uri: string;
                  url: string;
              },
          >

          suspends a group

        • unsuspendGroup: (
              groupId: string,
          ) => Promise<
              {
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  created_at: string;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  header: string;
                  header_description: string;
                  header_static: string;
                  id: string;
                  locked: boolean;
                  members_count: number;
                  membership_required: boolean;
                  note: string;
                  owner: null
                  | { id: string };
                  relationship:
                      | null
                      | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                  statuses_visibility: string;
                  uri: string;
                  url: string;
              },
          >

          lift a suspension

    • groups: {
          acceptGroupMembershipRequest: (
              groupId: string,
              accountId: string,
          ) => Promise<{}>;
          blockGroupUsers: (groupId: string, accountIds: string[]) => Promise<{}>;
          createGroup: (
              params: CreateGroupParams,
          ) => Promise<
              {
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  created_at: string;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  header: string;
                  header_description: string;
                  header_static: string;
                  id: string;
                  locked: boolean;
                  members_count: number;
                  membership_required: boolean;
                  note: string;
                  owner: null
                  | { id: string };
                  relationship:
                      | null
                      | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                  statuses_visibility: string;
                  uri: string;
                  url: string;
              },
          >;
          deleteGroup: (groupId: string) => Promise<{}>;
          deleteGroupStatus: (groupId: string, statusId: string) => Promise<Status>;
          demoteGroupUsers: (
              groupId: string,
              accountIds: string[],
              role: "user" | "owner" | "admin",
          ) => Promise<
              {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  id: string;
                  role: GroupRoles;
              }[],
          >;
          getGroup: (
              groupId: string,
          ) => Promise<
              {
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  created_at: string;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  header: string;
                  header_description: string;
                  header_static: string;
                  id: string;
                  locked: boolean;
                  members_count: number;
                  membership_required: boolean;
                  note: string;
                  owner: null
                  | { id: string };
                  relationship:
                      | null
                      | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                  statuses_visibility: string;
                  uri: string;
                  url: string;
              },
          >;
          getGroupBlocks: (
              groupId: string,
              params?: GetGroupBlocksParams,
          ) => Promise<PaginatedResponse<Account, true>>;
          getGroupMembershipRequests: (
              groupId: string,
              params?: GetGroupMembershipRequestsParams,
          ) => Promise<PaginatedResponse<Account, true>>;
          getGroupMemberships: (
              groupId: string,
              role?: "user" | "owner" | "admin",
              params?: GetGroupMembershipsParams,
          ) => Promise<
              PaginatedResponse<
                  {
                      account: {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: (...) | (...);
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: string; value: string; verified_at: (...)
                          | (...) }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: string; value: string; verified_at: string }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          moved:
                              | null
                              | {
                                  __meta: { pleroma?: ...; source?: ... };
                                  accepts_chat_messages: (...) | (...) | (...);
                                  acct: string;
                                  ap_id: (...) | (...);
                                  avatar: string;
                                  avatar_description: string;
                                  avatar_static: string;
                                  background_image: (...) | (...);
                                  birthday?: (...) | (...);
                                  bot: boolean;
                                  created_at: string;
                                  custom_css: string;
                                  deactivated?: (...) | (...) | (...);
                                  discoverable: boolean;
                                  display_name: string;
                                  domain: string;
                                  emojis: (...)[];
                                  enable_rss: boolean;
                                  favicon?: (...) | (...);
                                  fields: (...)[];
                                  followers_count: number;
                                  following_count: number;
                                  fqn: string;
                                  group: boolean;
                                  header: string;
                                  header_description: string;
                                  header_static: string;
                                  hide_collections?: (...) | (...) | (...);
                                  hide_favorites: boolean;
                                  hide_followers?: (...) | (...) | (...);
                                  hide_followers_count?: (...) | (...) | (...);
                                  hide_follows?: (...) | (...) | (...);
                                  hide_follows_count?: (...) | (...) | (...);
                                  id: string;
                                  identity_proofs: (...)[];
                                  is_admin?: (...) | (...) | (...);
                                  is_cat: boolean;
                                  is_moderator?: (...) | (...) | (...);
                                  is_suggested?: (...) | (...) | (...);
                                  last_status_at: (...) | (...);
                                  limited?: (...) | (...) | (...);
                                  local?: (...) | (...) | (...);
                                  location?: (...) | (...);
                                  locked: boolean;
                                  mention_policy: (...) | (...) | (...);
                                  noindex: (...) | (...) | (...);
                                  note: string;
                                  payment_options: (...)[];
                                  permit_followback?: (...) | (...) | (...);
                                  pronouns: (...)[];
                                  relationship?: (...) | (...);
                                  roles: (...)[];
                                  speak_as_cat: boolean;
                                  statuses_count: number;
                                  subscribers_count: number;
                                  suspended?: (...) | (...) | (...);
                                  url: string;
                                  username: string;
                                  verified?: (...) | (...) | (...);
                              };
                          noindex: null
                          | boolean;
                          note: string;
                          payment_options: {
                              chain_id: (...) | (...);
                              href: (...) | (...);
                              name: (...) | (...);
                              object_id: (...) | (...);
                              price: (...) | (...);
                              type: (...) | (...);
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: boolean;
                              blocking: boolean;
                              domain_blocking: boolean;
                              endorsed: boolean;
                              followed_by: boolean;
                              following: boolean;
                              id: string;
                              muting: boolean;
                              muting_notifications: boolean;
                              note: string;
                              notifying: boolean;
                              requested: boolean;
                              showing_reblogs: boolean;
                          };
                          roles: {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      } & WithMoved;
                      id: string;
                      role: GroupRoles;
                  },
                  true,
              >,
          >;
          getGroupRelationships: (
              groupIds: string[],
          ) => Promise<
              { id: string; member: boolean; requested: boolean; role: GroupRoles }[],
          >;
          getGroups: () => Promise<
              {
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  created_at: string;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  header: string;
                  header_description: string;
                  header_static: string;
                  id: string;
                  locked: boolean;
                  members_count: number;
                  membership_required: boolean;
                  note: string;
                  owner: null
                  | { id: string };
                  relationship:
                      | null
                      | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                  statuses_visibility: string;
                  uri: string;
                  url: string;
              }[],
          >;
          joinGroup: (
              groupId: string,
          ) => Promise<
              { id: string; member: boolean; requested: boolean; role: GroupRoles },
          >;
          kickGroupUsers: (groupId: string, accountIds: string[]) => Promise<{}>;
          leaveGroup: (
              groupId: string,
          ) => Promise<
              { id: string; member: boolean; requested: boolean; role: GroupRoles },
          >;
          promoteGroupUsers: (
              groupId: string,
              accountIds: string[],
              role: "user" | "owner" | "admin",
          ) => Promise<
              {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  id: string;
                  role: GroupRoles;
              }[],
          >;
          rejectGroupMembershipRequest: (
              groupId: string,
              accountId: string,
          ) => Promise<{}>;
          unblockGroupUsers: (groupId: string, accountIds: string[]) => Promise<{}>;
          updateGroup: (
              groupId: string,
              params: UpdateGroupParams,
          ) => Promise<
              {
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  created_at: string;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  header: string;
                  header_description: string;
                  header_static: string;
                  id: string;
                  locked: boolean;
                  members_count: number;
                  membership_required: boolean;
                  note: string;
                  owner: null
                  | { id: string };
                  relationship:
                      | null
                      | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                  statuses_visibility: string;
                  uri: string;
                  url: string;
              },
          >;
      }
      • acceptGroupMembershipRequest: (groupId: string, accountId: string) => Promise<{}>

        accept a pending request to become a group member

      • blockGroupUsers: (groupId: string, accountIds: string[]) => Promise<{}>

        block one or more users. If they were in the group, they are also kicked of it

      • createGroup: (
            params: CreateGroupParams,
        ) => Promise<
            {
                avatar: string;
                avatar_description: string;
                avatar_static: string;
                created_at: string;
                display_name: string;
                domain: string;
                emojis: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                header: string;
                header_description: string;
                header_static: string;
                id: string;
                locked: boolean;
                members_count: number;
                membership_required: boolean;
                note: string;
                owner: null
                | { id: string };
                relationship:
                    | null
                    | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                statuses_visibility: string;
                uri: string;
                url: string;
            },
        >

        create a group with the given attributes (display_name, note, avatar and header). Sets the user who made the request as group administrator

      • deleteGroup: (groupId: string) => Promise<{}>

        irreversibly deletes the group

      • deleteGroupStatus: (groupId: string, statusId: string) => Promise<Status>

        delete a group post (actually marks it as revoked if it is a local post)

      • demoteGroupUsers: (
            groupId: string,
            accountIds: string[],
            role: "user" | "owner" | "admin",
        ) => Promise<
            {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: (...) | (...);
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: (...)
                    | (...) }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: ...; source?: ... };
                            accepts_chat_messages: (...) | (...) | (...);
                            acct: string;
                            ap_id: (...) | (...);
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: (...) | (...);
                            birthday?: (...) | (...);
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: (...) | (...) | (...);
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: (...)[];
                            enable_rss: boolean;
                            favicon?: (...) | (...);
                            fields: (...)[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: (...) | (...) | (...);
                            hide_favorites: boolean;
                            hide_followers?: (...) | (...) | (...);
                            hide_followers_count?: (...) | (...) | (...);
                            hide_follows?: (...) | (...) | (...);
                            hide_follows_count?: (...) | (...) | (...);
                            id: string;
                            identity_proofs: (...)[];
                            is_admin?: (...) | (...) | (...);
                            is_cat: boolean;
                            is_moderator?: (...) | (...) | (...);
                            is_suggested?: (...) | (...) | (...);
                            last_status_at: (...) | (...);
                            limited?: (...) | (...) | (...);
                            local?: (...) | (...) | (...);
                            location?: (...) | (...);
                            locked: boolean;
                            mention_policy: (...) | (...) | (...);
                            noindex: (...) | (...) | (...);
                            note: string;
                            payment_options: (...)[];
                            permit_followback?: (...) | (...) | (...);
                            pronouns: (...)[];
                            relationship?: (...) | (...);
                            roles: (...)[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: (...) | (...) | (...);
                            url: string;
                            username: string;
                            verified?: (...) | (...) | (...);
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: (...) | (...);
                        href: (...) | (...);
                        name: (...) | (...);
                        object_id: (...) | (...);
                        price: (...) | (...);
                        type: (...) | (...);
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                id: string;
                role: GroupRoles;
            }[],
        >

        demote one or more accounts to role new_role. Returns an error unless every of the target account has a strictly lower role than the user (you cannot demote someone with the same role as you), or if any target account already has a role lower than new_role. Valid roles are admin, moderator and user.

      • getGroup: (
            groupId: string,
        ) => Promise<
            {
                avatar: string;
                avatar_description: string;
                avatar_static: string;
                created_at: string;
                display_name: string;
                domain: string;
                emojis: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                header: string;
                header_description: string;
                header_static: string;
                id: string;
                locked: boolean;
                members_count: number;
                membership_required: boolean;
                note: string;
                owner: null
                | { id: string };
                relationship:
                    | null
                    | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                statuses_visibility: string;
                uri: string;
                url: string;
            },
        >

        returns the Group entity describing a given group

      • getGroupBlocks: (
            groupId: string,
            params?: GetGroupBlocksParams,
        ) => Promise<PaginatedResponse<Account, true>>

        list accounts blocked from interacting with the group

      • getGroupMembershipRequests: (
            groupId: string,
            params?: GetGroupMembershipRequestsParams,
        ) => Promise<PaginatedResponse<Account, true>>

        returns an array of Account entities representing pending requests to join a group

      • getGroupMemberships: (
            groupId: string,
            role?: "user" | "owner" | "admin",
            params?: GetGroupMembershipsParams,
        ) => Promise<
            PaginatedResponse<
                {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    id: string;
                    role: GroupRoles;
                },
                true,
            >,
        >

        Has an optional role attribute that can be used to filter by role (valid roles are "admin", "moderator", "user").

      • getGroupRelationships: (
            groupIds: string[],
        ) => Promise<
            { id: string; member: boolean; requested: boolean; role: GroupRoles }[],
        >
      • getGroups: () => Promise<
            {
                avatar: string;
                avatar_description: string;
                avatar_static: string;
                created_at: string;
                display_name: string;
                domain: string;
                emojis: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                header: string;
                header_description: string;
                header_static: string;
                id: string;
                locked: boolean;
                members_count: number;
                membership_required: boolean;
                note: string;
                owner: null
                | { id: string };
                relationship:
                    | null
                    | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                statuses_visibility: string;
                uri: string;
                url: string;
            }[],
        >

        returns an array of Group entities the current user is a member of

      • joinGroup: (
            groupId: string,
        ) => Promise<
            { id: string; member: boolean; requested: boolean; role: GroupRoles },
        >

        joins (or request to join) a given group

      • kickGroupUsers: (groupId: string, accountIds: string[]) => Promise<{}>

        kick one or more group members

      • leaveGroup: (
            groupId: string,
        ) => Promise<
            { id: string; member: boolean; requested: boolean; role: GroupRoles },
        >

        leaves a given group

      • promoteGroupUsers: (
            groupId: string,
            accountIds: string[],
            role: "user" | "owner" | "admin",
        ) => Promise<
            {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: (...) | (...);
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: (...)
                    | (...) }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: ...; source?: ... };
                            accepts_chat_messages: (...) | (...) | (...);
                            acct: string;
                            ap_id: (...) | (...);
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: (...) | (...);
                            birthday?: (...) | (...);
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: (...) | (...) | (...);
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: (...)[];
                            enable_rss: boolean;
                            favicon?: (...) | (...);
                            fields: (...)[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: (...) | (...) | (...);
                            hide_favorites: boolean;
                            hide_followers?: (...) | (...) | (...);
                            hide_followers_count?: (...) | (...) | (...);
                            hide_follows?: (...) | (...) | (...);
                            hide_follows_count?: (...) | (...) | (...);
                            id: string;
                            identity_proofs: (...)[];
                            is_admin?: (...) | (...) | (...);
                            is_cat: boolean;
                            is_moderator?: (...) | (...) | (...);
                            is_suggested?: (...) | (...) | (...);
                            last_status_at: (...) | (...);
                            limited?: (...) | (...) | (...);
                            local?: (...) | (...) | (...);
                            location?: (...) | (...);
                            locked: boolean;
                            mention_policy: (...) | (...) | (...);
                            noindex: (...) | (...) | (...);
                            note: string;
                            payment_options: (...)[];
                            permit_followback?: (...) | (...) | (...);
                            pronouns: (...)[];
                            relationship?: (...) | (...);
                            roles: (...)[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: (...) | (...) | (...);
                            url: string;
                            username: string;
                            verified?: (...) | (...) | (...);
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: (...) | (...);
                        href: (...) | (...);
                        name: (...) | (...);
                        object_id: (...) | (...);
                        price: (...) | (...);
                        type: (...) | (...);
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                id: string;
                role: GroupRoles;
            }[],
        >

        promote one or more accounts to role new_role. An error is returned if any of those accounts has a higher role than new_role already, or if the role is higher than the issuing user's. Valid roles are admin, and moderator and user.

      • rejectGroupMembershipRequest: (groupId: string, accountId: string) => Promise<{}>

        reject a pending request to become a group member

      • unblockGroupUsers: (groupId: string, accountIds: string[]) => Promise<{}>

        block one or more users. If they were in the group, they are also kicked of it

      • updateGroup: (
            groupId: string,
            params: UpdateGroupParams,
        ) => Promise<
            {
                avatar: string;
                avatar_description: string;
                avatar_static: string;
                created_at: string;
                display_name: string;
                domain: string;
                emojis: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                header: string;
                header_description: string;
                header_static: string;
                id: string;
                locked: boolean;
                members_count: number;
                membership_required: boolean;
                note: string;
                owner: null
                | { id: string };
                relationship:
                    | null
                    | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                statuses_visibility: string;
                uri: string;
                url: string;
            },
        >

        update group attributes (display_name, note, avatar and header)

    features: {
        accountAvatarDescription: boolean;
        accountBackups: boolean;
        accountByUsername: boolean;
        accountCreation: boolean;
        accountDiscoverability: boolean;
        accountEnableRss: boolean;
        accountEndorsements: boolean;
        accountIsCat: boolean;
        accountLocation: boolean;
        accountLookup: boolean;
        accountMentionPolicy: boolean;
        accountMoving: boolean;
        accountNotifies: boolean;
        accountWebLayout: boolean;
        accountWebVisibility: boolean;
        addressableLists: boolean;
        adminCustomEmojis: boolean;
        adminRules: boolean;
        adminRulesPriority: boolean;
        announcements: boolean;
        announcementsReactions: boolean;
        birthdays: boolean;
        bites: boolean;
        blockersVisible: boolean;
        bookmarkFolderEmojis: boolean;
        bookmarkFolders: boolean;
        bookmarkFoldersMultiple: boolean;
        bookmarks: boolean;
        bots: boolean;
        bubbleTimeline: boolean;
        bubbleTimelineStreaming: boolean;
        changeEmail: boolean;
        changePassword: boolean;
        chats: boolean;
        chatsDelete: boolean;
        circles: boolean;
        conversations: boolean;
        conversationsByRecipients: boolean;
        createStatusExpiration: boolean;
        createStatusExplicitAddressing: boolean;
        createStatusListScope: boolean;
        createStatusLocalScope: boolean;
        createStatusMutualsOnlyScope: boolean;
        createStatusPreview: boolean;
        createStatusReplyToConversation: boolean;
        createStatusSubscribersScope: boolean;
        customEmojiReacts: boolean;
        deleteAccount: boolean;
        deleteAccountWithoutPassword: boolean;
        deleteMedia: boolean;
        domains: boolean;
        editProfile: boolean;
        editStatuses: boolean;
        emailList: boolean;
        embeds: boolean;
        emojiReacts: boolean;
        emojiReactsList: boolean;
        events: boolean;
        exportBlocks: boolean;
        exportFollowers: boolean;
        exportFollows: boolean;
        exportLists: boolean;
        exportMutes: boolean;
        exposableReactions: boolean;
        familiarFollowers: boolean;
        featuredTags: boolean;
        federating: boolean;
        filters: boolean;
        filtersV2: boolean;
        focalPoint: boolean;
        followedHashtagsList: boolean;
        followHashtags: boolean;
        followRequests: boolean;
        frontendConfigurations: boolean;
        groupedNotifications: boolean;
        groups: boolean;
        groupsSlugs: boolean;
        hideNetwork: boolean;
        importBlocks: boolean;
        importFollowers: boolean;
        importFollows: boolean;
        importMutes: boolean;
        importOverwrite: boolean;
        instanceTimeline: boolean;
        instanceV2: boolean;
        interactionRequests: boolean;
        kmyblue_antenna: boolean;
        languageDetection: boolean;
        lazyTranslations: boolean;
        lists: boolean;
        listsFavourites: boolean;
        loadActivities: boolean;
        loadConversation: boolean;
        localOnlyStatuses: boolean;
        logInWithUsername: boolean;
        manageAccountAliases: boolean;
        manageMfa: boolean;
        manageMfaBackupCodes: boolean;
        manageMfaRequiresPassword: boolean;
        mastodonAdmin: boolean;
        mastodonAdminMetrics: boolean;
        mastodonAdminV2: boolean;
        mediaV2: boolean;
        multiLanguage: boolean;
        mutes: boolean;
        mutesDuration: boolean;
        muteStrangers: boolean;
        notes: boolean;
        notificationsDismissMultiple: boolean;
        notificationsExcludeTypes: boolean;
        notificationsExcludeVisibilities: boolean;
        notificationsGetUnreadCount: boolean;
        notificationsIncludeTypes: boolean;
        notificationsPolicy: boolean;
        notificationsRequestsAcceptMultiple: boolean;
        outgoingFollowRequests: boolean;
        pleromaAdminAccounts: boolean;
        pleromaAdminAnnouncements: boolean;
        pleromaAdminModerationLog: boolean;
        pleromaAdminRelays: boolean;
        pleromaAdminStatuses: boolean;
        pleromaRemoteFollow: boolean;
        polls: boolean;
        postLanguages: boolean;
        preferredFrontends: boolean;
        privacyScopes: boolean;
        profileDirectory: boolean;
        profileFields: boolean;
        publicFavourites: boolean;
        publicTimeline: boolean;
        quotePosts: boolean;
        reblogVisibility: boolean;
        remoteInteractions: boolean;
        removeFromFollowers: boolean;
        resetPassword: boolean;
        richText: boolean;
        rssFeeds: boolean;
        rssFeedSubscriptions: boolean;
        scheduledStatuses: boolean;
        scheduledStatusesBackwards: boolean;
        scrobbles: boolean;
        searchFromAccount: boolean;
        sessions: boolean;
        shoutbox: boolean;
        spoilers: boolean;
        statusDislikes: boolean;
        stories: boolean;
        subscriptions: boolean;
        suggestions: boolean;
        suggestionsDismiss: boolean;
        suggestionsV2: boolean;
        translations: boolean;
        trendingLinks: boolean;
        trendingStatuses: boolean;
        trendingStatusesRange: boolean;
        trends: boolean;
        unrestrictedLists: boolean;
        version: BackendVersion;
    } = ...

    Type declaration

    • accountAvatarDescription: boolean

      Ability to set description of profile avatar and header.

      PATCH /api/v1/accounts/update_credentials

    • accountBackups: boolean

      Pleroma backups.

      • GET /api/v1/pleroma/backups
      • POST /api/v1/pleroma/backups
    • accountByUsername: boolean

      The accounts API allows an acct instead of an ID.

      GET /api/v1/accounts/:acct_or_id

    • accountCreation: boolean

      Ability to create accounts.

      POST /api/v1/accounts

    • accountDiscoverability: boolean

      Ability to control account discoverability.

      PATCH /api/v1/accounts/update_credentials

    • accountEnableRss: boolean

      PATCH /api/v1/accounts/update_credentials

    • accountEndorsements: boolean

      Ability to pin other accounts on one's profile.

      • POST /api/v1/accounts/:id/pin
      • POST /api/v1/accounts/:id/unpin
      • GET /api/v1/pleroma/accounts/:id/endorsements
      • GET /api/v1/accounts/:id/endorsements
    • accountIsCat: boolean
    • accountLocation: boolean

      Ability to set one's location on their profile.

      PATCH /api/v1/accounts/update_credentials

    • accountLookup: boolean

      Look up an account by the acct.

      GET /api/v1/accounts/lookup

    • accountMentionPolicy: boolean

      PATCH /api/v1/accounts/update_credentials

    • accountMoving: boolean

      Move followers to a different ActivityPub account.

      POST /api/pleroma/move_account

    • accountNotifies: boolean

      Ability to subscribe to notifications every time an account posts.

      POST /api/v1/accounts/:id/follow

    • accountWebLayout: boolean

      PATCH /api/v1/accounts/update_credentials

    • accountWebVisibility: boolean

      PATCH /api/v1/accounts/update_credentials

    • addressableLists: boolean

      Ability to address a status to a list of users.

      POST /api/v1/statuses

    • adminCustomEmojis: boolean
      • GET /api/v1/admin/custom_emojis
      • GET /api/v1/admin/custom_emojis/:id
      • POST /api/v1/admin/custom_emojis
      • PATCH /api/v1/admin/custom_emojis/:id
      • DELETE /api/v1/admin/custom_emojis/:id
    • adminRules: boolean

      Ability to manage instance rules by admins.

      • GET /api/v1/pleroma/admin/rules
      • POST /api/v1/pleroma/admin/rules
      • PATCH /api/v1/pleroma/admin/rules/:id
      • DELETE /api/v1/pleroma/admin/rules/:id
      • GET /api/v1/admin/instance/rules
      • GET /api/v1/admin/instance/rules/:id
      • POST /api/v1/admin/instance/rules
      • PATCH /api/v1/admin/instance/rules/:id
      • DELETE /api/v1/admin/instance/rules/:id
    • adminRulesPriority: boolean
    • announcements: boolean

      Can display announcements set by admins.

    • announcementsReactions: boolean

      Can emoji react to announcements set by admins.

    • birthdays: boolean

      Set your birthday and view upcoming birthdays.

      • GET /api/v1/pleroma/birthdays
      • POST /api/v1/accounts
      • PATCH /api/v1/accounts/update_credentials
    • bites: boolean

      Allow to bite users. see POST /api/v1/bite

    • blockersVisible: boolean

      Whether people who blocked you are visible through the API.

    • bookmarkFolderEmojis: boolean
    • bookmarkFolders: boolean

      Can group bookmarks in folders.

      • GET /api/v1/pleroma/bookmark_folders
      • POST /api/v1/pleroma/bookmark_folders
      • PATCH /api/v1/pleroma/bookmark_folders/:id
      • DELETE /api/v1/pleroma/bookmark_folders/:id
    • bookmarkFoldersMultiple: boolean
    • bookmarks: boolean

      Can bookmark statuses.

      • POST /api/v1/statuses/:id/bookmark
      • GET /api/v1/bookmarks
    • bots: boolean

      Accounts can be marked as bots.

      PATCH /api/v1/accounts/update_credentials

    • bubbleTimeline: boolean

      Can display a timeline of statuses from instances selected by instance admin.

      GET /api/v1/timelines/bubble

    • bubbleTimelineStreaming: boolean
    • changeEmail: boolean

      POST /api/v1/user/email_change

    • changePassword: boolean
      • POST /api/v1/user/password_change
      • POST /api/v1/settings/change_password
      • POST /api/v1.1/accounts/change-password
      • POST /api/iceshrimp/auth/change-password
      • POST /api/pleroma/change_password
    • chats: boolean

      Pleroma chats API.

    • chatsDelete: boolean

      Ability to delete a chat.

      DELETE /api/v1/pleroma/chats/:id

    • circles: boolean
    • conversations: boolean

      Mastodon's newer solution for direct messaging.

    • conversationsByRecipients: boolean

      GET /api/v1/conversations

    • createStatusExpiration: boolean

      POST /api/v1/statuses

    • createStatusExplicitAddressing: boolean

      Ability to address recipients of a status explicitly (with to).

      POST /api/v1/statuses

    • createStatusListScope: boolean

      Ability to address a status to a list of users.

      POST /api/v1/statuses

    • createStatusLocalScope: boolean

      POST /api/v1/statuses

    • createStatusMutualsOnlyScope: boolean

      Ability to post statuses only to accounts with mutual relationship.

      POST /api/v1/statuses

    • createStatusPreview: boolean
      • POST /api/v1/statuses
      • POST /api/v1/statuses/preview
    • createStatusReplyToConversation: boolean

      POST /api/v1/statuses

    • createStatusSubscribersScope: boolean

      Ability to post statuses only to your subscribers.

      POST /api/v1/statuses

    • customEmojiReacts: boolean

      Ability to add non-standard reactions to a status.

    • deleteAccount: boolean
      • POST /api/v1/accounts/delete
      • POST /api/pleroma/delete_account
    • deleteAccountWithoutPassword: boolean

      POST /api/v1/settings/delete_account

    • deleteMedia: boolean

      DELETE /api/v1/media/:id

    • domains: boolean

      Allow to register on a given domain

      • GET /api/v1/pleroma/admin/domains
      • POST /api/v1/pleroma/admin/domains
      • PATCH /api/v1/pleroma/admin/domains/:id
      • DELETE /api/v1/pleroma/admin/domains/:id
    • editProfile: boolean

      Ability to edit profile information.

      PATCH /api/v1/accounts/update_credentials

    • editStatuses: boolean

      Ability to edit published posts.

      PUT /api/v1/statuses/:id

    • emailList: boolean

      Soapbox email list.

      • POST /api/v1/accounts
      • PATCH /api/v1/accounts/update_credentials
      • GET /api/v1/pleroma/admin/email_list/subscribers.csv
      • GET /api/v1/pleroma/admin/email_list/unsubscribers.csv
      • GET /api/v1/pleroma/admin/email_list/combined.csv
    • embeds: boolean

      Ability to embed posts on external sites.

      GET /api/oembed

    • emojiReacts: boolean

      Ability to add emoji reactions to a status.

      • PUT /api/v1/pleroma/statuses/:id/reactions/:emoji
      • DELETE /api/v1/pleroma/statuses/:id/reactions/:emoji
      • POST /v1/statuses/:id/react/:emoji
      • POST /v1/statuses/:id/unreact/:emoji
    • emojiReactsList: boolean
      • GET /api/v1/pleroma/statuses/:id/reactions/:emoji?
      • GET /api/v1/statuses/:id/emoji_reactioned_by
    • events: boolean

      Ability to create and perform actions on events.

      • POST /api/v1/pleroma/events
      • GET /api/v1/pleroma/events/joined_events
      • PUT /api/v1/pleroma/events/:id
      • GET /api/v1/pleroma/events/:id/participations
      • GET /api/v1/pleroma/events/:id/participation_requests
      • POST /api/v1/pleroma/events/:id/participation_requests/:participant_id/authorize
      • POST /api/v1/pleroma/events/:id/participation_requests/:participant_id/reject
      • POST /api/v1/pleroma/events/:id/join
      • POST /api/v1/pleroma/events/:id/leave
      • GET /api/v1/pleroma/events/:id/ics
      • GET /api/v1/pleroma/search/location
    • exportBlocks: boolean

      Export blocks to CSV file

      GET /api/v1/exports/blocks.csv

    • exportFollowers: boolean

      Export followers to CSV file

      • GET /api/v1/exports/followers.csv
      • GET /api/v1/settings/export_followers
    • exportFollows: boolean

      Export follows to CSV file

      • GET /api/v1/exports/following.csv
      • GET /api/v1/settings/export_follows
    • exportLists: boolean

      Export lists to CSV file

      GET /api/v1/exports/lists.csv

    • exportMutes: boolean

      Export mutes to CSV file

      GET /api/v1/exports/mutes.csv

    • exposableReactions: boolean

      Whether the accounts who favourited or emoji-reacted to a status can be viewed through the API.

    • familiarFollowers: boolean

      Can see accounts' followers you know

      GET /api/v1/accounts/familiar_followers

    • featuredTags: boolean
      • GET /api/v1/accounts/:accountId/featured_tags
      • GET /api/v1/featured_tags
      • POST /api/v1/featured_tags
      • DELETE /api/v1/featured_tags
      • GET /api/v1/featured_tags/suggestions
    • federating: boolean

      Whether the instance federates.

    • filters: boolean

      Can edit and manage timeline filters (aka "muted words").

    • filtersV2: boolean

      Can edit and manage timeline filters (aka "muted words").

    • focalPoint: boolean

      Allows setting the focal point of a media attachment.

    • followedHashtagsList: boolean

      Ability to list followed hashtags.

      GET /api/v1/followed_tags

    • followHashtags: boolean

      Ability to follow hashtags.

      • POST /api/v1/tags/:name/follow
      • POST /api/v1/tags/:name/unfollow
    • followRequests: boolean

      Ability to lock accounts and manually approve followers.

      PATCH /api/v1/accounts/update_credentials

    • frontendConfigurations: boolean

      Whether client settings can be retrieved from the API.

      • GET /api/pleroma/frontend_configurations
      • PATCH /api/v1/accounts/update_credentials
    • groupedNotifications: boolean
      • GET /api/v2/notifications/:group_key
      • GET /api/v2/notifications/:group_key
      • POST /api/v2/notifications/:group_key/dismiss
      • GET /api/v2/notifications/:group_key/accounts
      • GET /api/v2/notifications/unread_count
    • groups: boolean

      Groups.

      • POST /api/v1/groups
      • GET /api/v1/groups
      • GET /api/v1/groups/:id
      • POST /api/v1/groups/:id/join
      • POST /api/v1/groups/:id/leave
      • GET /api/v1/groups/:id/memberships
      • PUT /api/v1/groups/:group_id
      • DELETE /api/v1/groups/:group_id
      • GET /api/v1/groups/:group_id/membership_requests
      • POST /api/v1/groups/:group_id/membership_requests/:account_id/authorize
      • POST /api/v1/groups/:group_id/membership_requests/:account_id/reject
      • DELETE /api/v1/groups/:group_id/statuses/:id
      • POST /api/v1/groups/:group_id/kick?account_ids[]=…
      • GET /api/v1/groups/:group_id/blocks
      • POST /api/v1/groups/:group_id/blocks?account_ids[]=…
      • DELETE /api/v1/groups/:group_id/blocks?account_ids[]=…
      • POST /api/v1/groups/:group_id/promote?role=new_role&account_ids[]=…
      • POST /api/v1/groups/:group_id/demote?role=new_role&account_ids[]=…
      • GET /api/v1/admin/groups
      • GET /api/v1/admin/groups/:group_id
      • POST /api/v1/admin/groups/:group_id/suspend
      • POST /api/v1/admin/groups/:group_id/unsuspend
      • DELETE /api/v1/admin/groups/:group_id
    • groupsSlugs: boolean
    • hideNetwork: boolean

      Can hide follows/followers lists and counts.

      PATCH /api/v1/accounts/update_credentials

    • importBlocks: boolean

      Import a .csv file with a list of blocked users.

      • POST /api/pleroma/blocks_import
      • POST /api/v1/import
    • importFollowers: boolean

      Move followers from remote alias.

      POST /api/v1/settings/import_followers

    • importFollows: boolean

      Import a .csv file with a list of followed users.

      • POST /api/pleroma/follow_import
      • POST /api/v1/settings/import_follows
      • POST /api/v1/import
    • importMutes: boolean

      Import a .csv file with a list of muted users.

      • POST /api/pleroma/mutes_import
      • POST /api/v1/import
    • importOverwrite: boolean

      Allow to specify mode of data import to either merge or overwrite.

      POST /api/v1/import

    • instanceTimeline: boolean

      View posts from specific instance.

      GET /api/v1/timelines/public

    • instanceV2: boolean

      Mastodon server information API v2.

    • interactionRequests: boolean
    • kmyblue_antenna: boolean
    • languageDetection: boolean

      Server-side status language detection.

    • lazyTranslations: boolean

      Can translate multiple statuses in a single request.

      POST /api/v1/pl/statuses/translate

    • lists: boolean

      Can create, view, and manage lists.

    • listsFavourites: boolean

      Can add a list to favourites.

      • POST /api/v1/lists/:list_id/favourite
      • POST /api/v1/lists/:list_id/unfavourite
    • loadActivities: boolean

      Can load latest activities from outbox.

      POST /api/v1/accounts/:id/load_activities

    • loadConversation: boolean

      Can load conversation from a remote server.

      POST /api/v1/statuses/:id/load_conversation

    • localOnlyStatuses: boolean

      Ability to post statuses that don't federate.

      POST /api/v1/statuses

    • logInWithUsername: boolean

      Can sign in using username instead of e-mail address.

    • manageAccountAliases: boolean

      Can view and manage ActivityPub aliases through the API.

      • GET /api/pleroma/aliases
      • PATCH /api/v1/accounts/update_credentials
    • manageMfa: boolean
      • GET /api/pleroma/accounts/mfa
      • GET /api/pleroma/accounts/mfa/setup/:method
      • POST /api/pleroma/accounts/mfa/confirm/:method
      • DELETE /api/pleroma/accounts/mfa/:method
    • manageMfaBackupCodes: boolean

      GET /api/pleroma/accounts/mfa/backup_codes

    • manageMfaRequiresPassword: boolean

      POST /api/v1/user/2fa/enable

    • mastodonAdmin: boolean

      Can perform moderation actions with account and reports.

      • https://docs.joinmastodon.org/methods/admin/
      • GET /api/v1/admin/reports
      • POST /api/v1/admin/reports/:report_id/resolve
      • POST /api/v1/admin/reports/:report_id/reopen
      • POST /api/v1/admin/accounts/:account_id/action
      • POST /api/v1/admin/accounts/:account_id/approve
    • mastodonAdminMetrics: boolean
      • POST /api/v1/admin/dimensions
      • POST /api/v1/admin/measures
      • POST /api/v1/admin/retention
    • mastodonAdminV2: boolean

      Can perform moderation actions with account and reports.

    • mediaV2: boolean

      Supports V2 media uploads.

      POST /api/v2/media

    • multiLanguage: boolean

      Ability to include multiple language variants for a post.

      POST /api/v1/statuses

    • mutes: boolean

      Ability to mute users.

      • GET /api/v1/mutes
      • POST /api/v1/accounts/:id/mute
      • POST /api/v1/accounts/:id/unmute
    • mutesDuration: boolean

      Ability to specify how long the account mute should last.

      PUT /api/v1/accounts/:id/mute

    • muteStrangers: boolean

      Ability to hide notifications from people you don't follow.

      PUT /api/pleroma/notification_settings

    • notes: boolean

      Add private notes to accounts.

      • POST /api/v1/accounts/:id/note
      • GET /api/v1/accounts/relationships
    • notificationsDismissMultiple: boolean

      DELETE /api/v1/notifications/destroy_multiple

    • notificationsExcludeTypes: boolean

      GET /api/v1/notifications

    • notificationsExcludeVisibilities: boolean

      GET /api/v1/notifications

    • notificationsGetUnreadCount: boolean

      GET /api/v1/notifications/unread_count

    • notificationsIncludeTypes: boolean

      Allows specifying notification types to include, rather than to exclude.

      GET /api/v1/notifications

    • notificationsPolicy: boolean
      • GET /api/v2/notifications/policy
      • PATCH /api/v2/notifications/policy
    • notificationsRequestsAcceptMultiple: boolean
      • POST /api/v1/notifications/requests/accept
      • POST /api/v1/notifications/requests/dismiss
    • outgoingFollowRequests: boolean
      • GET api/iceshrimp/follow_requests/outgoing
      • GET /api/v1/follow_requests/outgoing
      • GET /api/v1/pleroma/outgoing_follow_requests
    • pleromaAdminAccounts: boolean
    • pleromaAdminAnnouncements: boolean

      Ability to manage announcements by admins.

    • pleromaAdminModerationLog: boolean
    • pleromaAdminRelays: boolean
    • pleromaAdminStatuses: boolean
    • pleromaRemoteFollow: boolean

      Displays a form to follow a user when logged out.

      POST /main/ostatus

    • polls: boolean

      Can add polls to statuses.

      POST /api/v1/statuses

    • postLanguages: boolean

      Can select a language for statuses.

      POST /api/v1/statuses

    • preferredFrontends: boolean
      • GET /api/v1/akkoma/preferred_frontend/available
      • PUT /api/v1/akkoma/preferred_frontend
    • privacyScopes: boolean

      Can set privacy scopes on statuses.

      POST /api/v1/statuses

    • profileDirectory: boolean

      A directory of discoverable profiles from the instance.

    • profileFields: boolean

      Ability to set custom profile fields.

      PATCH /api/v1/accounts/update_credentials

    • publicFavourites: boolean

      Returns favorites timeline of any user

      GET /api/v1/pleroma/accounts/:id/favourites

    • publicTimeline: boolean

      Can display a timeline of all known public statuses. Local and Fediverse timelines both use this feature.

      GET /api/v1/timelines/public

    • quotePosts: boolean

      Ability to quote posts in statuses.

      POST /api/v1/statuses

    • reblogVisibility: boolean

      Ability to boost a status to a selected scope.

      POST /api/v1/statuses/:id/reblog

    • remoteInteractions: boolean

      Interact with statuses from another instance while logged-out.

      POST /api/v1/pleroma/remote_interaction

    • removeFromFollowers: boolean

      Ability to remove an account from your followers.

      POST /api/v1/accounts/:id/remove_from_followers

    • resetPassword: boolean

      Can request a password reset email through the API.

      POST /auth/password

    • richText: boolean

      Ability to post statuses in Markdown, BBCode, and HTML.

      POST /api/v1/statuses

    • rssFeeds: boolean

      Ability to follow account feeds using RSS.

    • rssFeedSubscriptions: boolean

      Ability to subscribe to RSS feeds.

      • GET /api/v1/pleroma/rss_feed_subscriptions
      • POST /api/v1/pleroma/rss_feed_subscriptions
      • DELETE /api/v1/pleroma/rss_feed_subscriptions
    • scheduledStatuses: boolean

      Can schedule statuses to be posted at a later time.

    • scheduledStatusesBackwards: boolean

      Can publish statuses with a past date. This is intended for importing old statuses.

    • scrobbles: boolean

      Can create Listen activities

      • GET /api/v1/pleroma/accounts/:id/scrobbles
      • POST /api/v1/pleroma/scrobble
    • searchFromAccount: boolean

      Ability to search statuses from the given account.

    • sessions: boolean

      Ability to manage account sessions.

      • GET /api/oauth_tokens.json
      • DELETE /api/oauth_tokens/:id
      • GET /api/v1/tokens
      • GET /api/v1/tokens/:id
      • POST /api/v1/tokens/:id/invalidate
    • shoutbox: boolean
    • spoilers: boolean

      Can set content warnings on statuses.

      POST /api/v1/statuses

    • statusDislikes: boolean
      • POST /api/friendica/statuses/:id/dislike
      • POST /api/friendica/statuses/:id/undislike
      • GET /api/friendica/statuses/:id/disliked_by
    • stories: boolean
      • GET /api/web/stories/v1/recent
      • GET /api/web/stories/v1/viewers
      • GET /api/web/stories/v1/profile/:id
      • GET /api/web/stories/v1/exists/:id
      • GET /api/web/stories/v1/poll/results
      • POST /api/web/stories/v1/viewed
      • POST /api/web/stories/v1/react
      • POST /api/web/stories/v1/comment
      • POST /api/web/stories/v1/publish/poll
      • POST /api/web/stories/v1/poll/vote
      • POST /api/web/stories/v1/report
      • POST /api/web/stories/v1/add
      • POST /api/web/stories/v1/crop
      • POST /api/web/stories/v1/publish
      • DELETE /api/web/stories/v1/delete/:id
    • subscriptions: boolean
      • GET /api/v1/accounts/:id/subscribers
      • POST /api/v1/subscriptions
      • GET /api/v1/subscriptions/options
      • POST /api/v1/subscriptions/options
      • GET /api/v1/subscriptions/find
      • POST /api/v1/subscriptions/invoices
      • GET /api/v1/subscriptions/invoices/:id
      • DELETE /api/v1/subscriptions/invoices/:id
    • suggestions: boolean

      Can display suggested accounts.

    • suggestionsDismiss: boolean

      Remove an account from follow suggestions

      DELETE /api/v1/suggestions/:account_id

    • suggestionsV2: boolean

      Supports V2 suggested accounts.

      GET /api/v2/suggestions

    • translations: boolean

      Can translate statuses.

      POST /api/v1/statuses/:id/translate

    • trendingLinks: boolean

      Trending links.

      GET /api/v1/trends/links

    • trendingStatuses: boolean

      Trending statuses.

      GET /api/v1/trends/statuses

    • trendingStatusesRange: boolean

      Display trends from a given time range.

      GET /api/pixelfed/v2/discover/posts/trending

    • trends: boolean

      Can display trending hashtags.

      GET /api/v1/trends

    • unrestrictedLists: boolean

      Whether the backend allows adding users you don't follow to lists.

      POST /api/v1/lists/:id/accounts

    • version: BackendVersion
    filtering: {
        addFilterKeyword: (
            filterId: string,
            keyword: string,
            whole_word?: boolean,
        ) => Promise<{ id: string; keyword: string; whole_word: boolean }>;
        addFilterStatus: (
            filterId: string,
            statusId: string,
        ) => Promise<{ id: string; status_id: string }>;
        blockAccount: (
            accountId: string,
        ) => Promise<
            {
                blocked_by: boolean;
                blocking: boolean;
                domain_blocking: boolean;
                endorsed: boolean;
                followed_by: boolean;
                following: boolean;
                id: string;
                muting: boolean;
                muting_notifications: boolean;
                note: string;
                notifying: boolean;
                requested: boolean;
                showing_reblogs: boolean;
            },
        >;
        blockDomain: (domain: string) => Promise<{}>;
        createFilter: (
            params: CreateFilterParams,
        ) => Promise<
            {
                context: ("public" | "account" | "home" | "notifications" | "thread")[];
                expires_at: null | string;
                filter_action: "warn" | "hide" | "blur";
                id: string;
                keywords: { id: string; keyword: string; whole_word: boolean }[];
                statuses: { id: string; status_id: string }[];
                title: string;
            },
        >;
        deleteFilter: (filterId: string) => Promise<{}>;
        deleteFilterKeyword: (filterId: string) => Promise<{}>;
        deleteFilterStatus: (statusId: string) => Promise<{}>;
        getBlocks: (
            params?: GetBlocksParams,
        ) => Promise<PaginatedResponse<Account, true>>;
        getDomainBlocks: (
            params?: PaginationParams,
        ) => Promise<PaginatedResponse<string, true>>;
        getFilter: (
            filterId: string,
        ) => Promise<
            {
                context: ("public" | "account" | "home" | "notifications" | "thread")[];
                expires_at: null | string;
                filter_action: "warn" | "hide" | "blur";
                id: string;
                keywords: { id: string; keyword: string; whole_word: boolean }[];
                statuses: { id: string; status_id: string }[];
                title: string;
            },
        >;
        getFilterKeyword: (
            filterId: string,
        ) => Promise<{ id: string; keyword: string; whole_word: boolean }>;
        getFilterKeywords: (
            filterId: string,
        ) => Promise<{ id: string; keyword: string; whole_word: boolean }[]>;
        getFilters: () => Promise<
            {
                context: ("public" | "account" | "home" | "notifications" | "thread")[];
                expires_at: null | string;
                filter_action: "warn" | "hide" | "blur";
                id: string;
                keywords: { id: string; keyword: string; whole_word: boolean }[];
                statuses: { id: string; status_id: string }[];
                title: string;
            }[],
        >;
        getFilterStatus: (
            statusId: string,
        ) => Promise<{ id: string; status_id: string }>;
        getFilterStatuses: (
            filterId: string,
        ) => Promise<{ id: string; status_id: string }[]>;
        getMutes: (
            params?: GetMutesParams,
        ) => Promise<PaginatedResponse<MutedAccount, true>>;
        muteAccount: (
            accountId: string,
            params?: MuteAccountParams,
        ) => Promise<
            {
                blocked_by: boolean;
                blocking: boolean;
                domain_blocking: boolean;
                endorsed: boolean;
                followed_by: boolean;
                following: boolean;
                id: string;
                muting: boolean;
                muting_notifications: boolean;
                note: string;
                notifying: boolean;
                requested: boolean;
                showing_reblogs: boolean;
            },
        >;
        unblockAccount: (
            accountId: string,
        ) => Promise<
            {
                blocked_by: boolean;
                blocking: boolean;
                domain_blocking: boolean;
                endorsed: boolean;
                followed_by: boolean;
                following: boolean;
                id: string;
                muting: boolean;
                muting_notifications: boolean;
                note: string;
                notifying: boolean;
                requested: boolean;
                showing_reblogs: boolean;
            },
        >;
        unblockDomain: (domain: string) => Promise<{}>;
        unmuteAccount: (
            accountId: string,
        ) => Promise<
            {
                blocked_by: boolean;
                blocking: boolean;
                domain_blocking: boolean;
                endorsed: boolean;
                followed_by: boolean;
                following: boolean;
                id: string;
                muting: boolean;
                muting_notifications: boolean;
                note: string;
                notifying: boolean;
                requested: boolean;
                showing_reblogs: boolean;
            },
        >;
        updateFilter: (
            filterId: string,
            params: UpdateFilterParams,
        ) => Promise<
            {
                context: ("public" | "account" | "home" | "notifications" | "thread")[];
                expires_at: null | string;
                filter_action: "warn" | "hide" | "blur";
                id: string;
                keywords: { id: string; keyword: string; whole_word: boolean }[];
                statuses: { id: string; status_id: string }[];
                title: string;
            },
        >;
        updateFilterKeyword: (
            filterId: string,
            keyword: string,
            whole_word?: boolean,
        ) => Promise<{ id: string; keyword: string; whole_word: boolean }>;
    } = ...

    Type declaration

    • addFilterKeyword: (
          filterId: string,
          keyword: string,
          whole_word?: boolean,
      ) => Promise<{ id: string; keyword: string; whole_word: boolean }>

      Add a keyword to a filter Add the given keyword to the specified filter group

      Requires features['filtersV2'].

    • addFilterStatus: (
          filterId: string,
          statusId: string,
      ) => Promise<{ id: string; status_id: string }>

      Add a status to a filter group Add a status filter to the current filter group.

      Requires features['filtersV2'].

    • blockAccount: (
          accountId: string,
      ) => Promise<
          {
              blocked_by: boolean;
              blocking: boolean;
              domain_blocking: boolean;
              endorsed: boolean;
              followed_by: boolean;
              following: boolean;
              id: string;
              muting: boolean;
              muting_notifications: boolean;
              note: string;
              notifying: boolean;
              requested: boolean;
              showing_reblogs: boolean;
          },
      >

      Block account Block the given account. Clients should filter statuses from this account if received (e.g. due to a boost in the Home timeline)

    • blockDomain: (domain: string) => Promise<{}>

      Block a domain Block a domain to:

      • hide all public posts from it
      • hide all notifications from it
      • remove all followers from it
      • prevent following new users from it (but does not remove existing follows)
    • createFilter: (
          params: CreateFilterParams,
      ) => Promise<
          {
              context: ("public" | "account" | "home" | "notifications" | "thread")[];
              expires_at: null | string;
              filter_action: "warn" | "hide" | "blur";
              id: string;
              keywords: { id: string; keyword: string; whole_word: boolean }[];
              statuses: { id: string; status_id: string }[];
              title: string;
          },
      >

      Create a filter Create a filter group with the given parameters.

      Requires featuresFeatures.filters or features['filtersV2'].

    • deleteFilter: (filterId: string) => Promise<{}>

      Delete a filter Delete a filter group with the given id.

      Requires featuresFeatures.filters or features['filtersV2'].

    • deleteFilterKeyword: (filterId: string) => Promise<{}>

      Remove keywords from a filter Deletes the given filter keyword.

      Requires features['filtersV2'].

    • deleteFilterStatus: (statusId: string) => Promise<{}>

      Remove a status from a filter group Remove a status filter from the current filter group.

      Requires features['filtersV2'].

    • getBlocks: (params?: GetBlocksParams) => Promise<PaginatedResponse<Account, true>>

      View blocked users

    • getDomainBlocks: (params?: PaginationParams) => Promise<PaginatedResponse<string, true>>

      Get domain blocks View domains the user has blocked.

    • getFilter: (
          filterId: string,
      ) => Promise<
          {
              context: ("public" | "account" | "home" | "notifications" | "thread")[];
              expires_at: null | string;
              filter_action: "warn" | "hide" | "blur";
              id: string;
              keywords: { id: string; keyword: string; whole_word: boolean }[];
              statuses: { id: string; status_id: string }[];
              title: string;
          },
      >

      View a specific filter Obtain a single filter group owned by the current user.

      Requires featuresFeatures.filters or features['filtersV2'].

    • getFilterKeyword: (
          filterId: string,
      ) => Promise<{ id: string; keyword: string; whole_word: boolean }>

      View a single keyword Get one filter keyword by the given id.

      Requires features['filtersV2'].

    • getFilterKeywords: (
          filterId: string,
      ) => Promise<{ id: string; keyword: string; whole_word: boolean }[]>

      View keywords added to a filter List all keywords attached to the current filter group.

      Requires features['filtersV2'].

    • getFilters: () => Promise<
          {
              context: ("public" | "account" | "home" | "notifications" | "thread")[];
              expires_at: null | string;
              filter_action: "warn" | "hide" | "blur";
              id: string;
              keywords: { id: string; keyword: string; whole_word: boolean }[];
              statuses: { id: string; status_id: string }[];
              title: string;
          }[],
      >

      View all filters Obtain a list of all filter groups for the current user.

      Requires featuresFeatures.filters or features['filtersV2'].

    • getFilterStatus: (statusId: string) => Promise<{ id: string; status_id: string }>

      View a single status filter Obtain a single status filter.

      Requires features['filtersV2'].

    • getFilterStatuses: (filterId: string) => Promise<{ id: string; status_id: string }[]>

      View all status filters Obtain a list of all status filters within this filter group.

      Requires features['filtersV2'].

    • getMutes: (params?: GetMutesParams) => Promise<PaginatedResponse<MutedAccount, true>>

      View muted accounts Accounts the user has muted.

      Requires featuresFeatures.mutes.

    • muteAccount: (
          accountId: string,
          params?: MuteAccountParams,
      ) => Promise<
          {
              blocked_by: boolean;
              blocking: boolean;
              domain_blocking: boolean;
              endorsed: boolean;
              followed_by: boolean;
              following: boolean;
              id: string;
              muting: boolean;
              muting_notifications: boolean;
              note: string;
              notifying: boolean;
              requested: boolean;
              showing_reblogs: boolean;
          },
      >

      Mute account Mute the given account. Clients should filter statuses and notifications from this account, if received (e.g. due to a boost in the Home timeline).

      Requires featuresFeatures.mutes.

    • unblockAccount: (
          accountId: string,
      ) => Promise<
          {
              blocked_by: boolean;
              blocking: boolean;
              domain_blocking: boolean;
              endorsed: boolean;
              followed_by: boolean;
              following: boolean;
              id: string;
              muting: boolean;
              muting_notifications: boolean;
              note: string;
              notifying: boolean;
              requested: boolean;
              showing_reblogs: boolean;
          },
      >

      Unblock account Unblock the given account.

    • unblockDomain: (domain: string) => Promise<{}>

      Unblock a domain Remove a domain block, if it exists in the user’s array of blocked domains.

    • unmuteAccount: (
          accountId: string,
      ) => Promise<
          {
              blocked_by: boolean;
              blocking: boolean;
              domain_blocking: boolean;
              endorsed: boolean;
              followed_by: boolean;
              following: boolean;
              id: string;
              muting: boolean;
              muting_notifications: boolean;
              note: string;
              notifying: boolean;
              requested: boolean;
              showing_reblogs: boolean;
          },
      >

      Unmute account Unmute the given account.

      Requires featuresFeatures.mutes.

    • updateFilter: (
          filterId: string,
          params: UpdateFilterParams,
      ) => Promise<
          {
              context: ("public" | "account" | "home" | "notifications" | "thread")[];
              expires_at: null | string;
              filter_action: "warn" | "hide" | "blur";
              id: string;
              keywords: { id: string; keyword: string; whole_word: boolean }[];
              statuses: { id: string; status_id: string }[];
              title: string;
          },
      >

      Update a filter Update a filter group with the given parameters.

      Requires featuresFeatures.filters or features['filtersV2'].

    • updateFilterKeyword: (
          filterId: string,
          keyword: string,
          whole_word?: boolean,
      ) => Promise<{ id: string; keyword: string; whole_word: boolean }>

      Edit a keyword within a filter Update the given filter keyword.

      Requires features['filtersV2'].

    groupedNotifications: {
        dismissNotificationGroup: (groupKey: string) => Promise<{}>;
        getGroupedNotifications: (
            params: GetGroupedNotificationsParams,
            meta?: RequestMeta,
        ) => Promise<
            PaginatedResponse<
                {
                    accounts: Account[];
                    notification_groups: (
                        | {
                            group_key: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            latest_page_notification_at?: string;
                            most_recent_notification_id: string;
                            notifications_count: number;
                            page_max_id?: string;
                            page_min_id?: string;
                            sample_account_ids: string[];
                            type: "follow"
                            | "follow_request"
                            | "admin.sign_up"
                            | "bite";
                        }
                        | {
                            group_key: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            latest_page_notification_at?: string;
                            most_recent_notification_id: string;
                            notifications_count: number;
                            page_max_id?: string;
                            page_min_id?: string;
                            sample_account_ids: string[];
                            status_id: string;
                            subtype: null
                            | "reply";
                            type: "mention";
                        }
                        | {
                            group_key: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            latest_page_notification_at?: string;
                            most_recent_notification_id: string;
                            notifications_count: number;
                            page_max_id?: string;
                            page_min_id?: string;
                            sample_account_ids: string[];
                            status_id: string;
                            type: | "status"
                            | "poll"
                            | "reblog"
                            | "favourite"
                            | "update"
                            | "event_reminder";
                        }
                        | {
                            group_key: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            latest_page_notification_at?: string;
                            most_recent_notification_id: string;
                            notifications_count: number;
                            page_max_id?: string;
                            page_min_id?: string;
                            report: {
                                action_taken?: boolean;
                                action_taken_at: null
                                | string;
                                category?: string;
                                comment?: string;
                                created_at?: string;
                                forwarded?: boolean;
                                id: string;
                                rule_ids: null | string;
                                status_ids: null | string;
                                target_account: null | Account;
                            };
                            sample_account_ids: string[];
                            type: "admin.report";
                        }
                        | {
                            group_key: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            latest_page_notification_at?: string;
                            most_recent_notification_id: string;
                            notifications_count: number;
                            page_max_id?: string;
                            page_min_id?: string;
                            relationship_severance_event: {
                                created_at: string;
                                id: string;
                                purged: string;
                                relationships_count?: number;
                                type: "domain_block"
                                | "user_domain_block"
                                | "account_suspension";
                            };
                            sample_account_ids: string[];
                            type: "severed_relationships";
                        }
                        | {
                            group_key: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            latest_page_notification_at?: string;
                            moderation_warning: {
                                action: | "none"
                                | "sensitive"
                                | "disable"
                                | "mark_statuses_as_sensitive"
                                | "delete_statuses"
                                | "silence"
                                | "suspend";
                                appeal: null
                                | { state: ...; text: ... };
                                created_at: string;
                                id: string;
                                status_ids: string[];
                                target_account: {
                                    __meta: ...;
                                    accepts_chat_messages: ...;
                                    acct: ...;
                                    ap_id: ...;
                                    avatar: ...;
                                    avatar_description: ...;
                                    avatar_static: ...;
                                    background_image: ...;
                                    birthday?: ...;
                                    bot: ...;
                                    created_at: ...;
                                    custom_css: ...;
                                    deactivated?: ...;
                                    discoverable: ...;
                                    display_name: ...;
                                    domain: ...;
                                    emojis: ...;
                                    enable_rss: ...;
                                    favicon?: ...;
                                    fields: ...;
                                    followers_count: ...;
                                    following_count: ...;
                                    fqn: ...;
                                    group: ...;
                                    header: ...;
                                    header_description: ...;
                                    header_static: ...;
                                    hide_collections?: ...;
                                    hide_favorites: ...;
                                    hide_followers?: ...;
                                    hide_followers_count?: ...;
                                    hide_follows?: ...;
                                    hide_follows_count?: ...;
                                    id: ...;
                                    identity_proofs: ...;
                                    is_admin?: ...;
                                    is_cat: ...;
                                    is_moderator?: ...;
                                    is_suggested?: ...;
                                    last_status_at: ...;
                                    limited?: ...;
                                    local?: ...;
                                    location?: ...;
                                    locked: ...;
                                    mention_policy: ...;
                                    moved: ...;
                                    noindex: ...;
                                    note: ...;
                                    payment_options: ...;
                                    permit_followback?: ...;
                                    pronouns: ...;
                                    relationship?: ...;
                                    roles: ...;
                                    speak_as_cat: ...;
                                    statuses_count: ...;
                                    subscribers_count: ...;
                                    suspended?: ...;
                                    url: ...;
                                    username: ...;
                                    verified?: ...;
                                } & WithMoved;
                                text: string;
                            };
                            most_recent_notification_id: string;
                            notifications_count: number;
                            page_max_id?: string;
                            page_min_id?: string;
                            sample_account_ids: string[];
                            type: "moderation_warning";
                        }
                        | {
                            group_key: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            latest_page_notification_at?: string;
                            most_recent_notification_id: string;
                            notifications_count: number;
                            page_max_id?: string;
                            page_min_id?: string;
                            sample_account_ids: string[];
                            target_id: string;
                            type: "move";
                        }
                        | {
                            emoji: string;
                            emoji_url: null
                            | string;
                            group_key: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            latest_page_notification_at?: string;
                            most_recent_notification_id: string;
                            notifications_count: number;
                            page_max_id?: string;
                            page_min_id?: string;
                            sample_account_ids: string[];
                            status_id: string;
                            type: "emoji_reaction";
                        }
                        | {
                            chat_message: {
                                account_id: string;
                                attachment: | null
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    meta: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                }
                                | {
                                    blurhash: ...;
                                    description: ...;
                                    id: ...;
                                    mime_type: ...;
                                    preview_url: ...;
                                    remote_url: ...;
                                    type: ...;
                                    url: ...;
                                };
                                card: | null
                                | {
                                    author_name: ...;
                                    author_url: ...;
                                    authors: ...;
                                    blurhash: ...;
                                    description: ...;
                                    embed_url: ...;
                                    height: ...;
                                    html: ...;
                                    image: ...;
                                    image_description: ...;
                                    provider_name: ...;
                                    provider_url: ...;
                                    title: ...;
                                    type: ...;
                                    url: ...;
                                    width: ...;
                                };
                                chat_id: string;
                                content: string;
                                created_at: string;
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                id: string;
                                unread: boolean;
                            };
                            group_key: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            latest_page_notification_at?: string;
                            most_recent_notification_id: string;
                            notifications_count: number;
                            page_max_id?: string;
                            page_min_id?: string;
                            sample_account_ids: string[];
                            type: "chat_mention";
                        }
                        | {
                            group_key: string;
                            is_muted?: boolean;
                            is_seen?: boolean;
                            latest_page_notification_at?: string;
                            most_recent_notification_id: string;
                            notifications_count: number;
                            page_max_id?: string;
                            page_min_id?: string;
                            participation_message: null
                            | string;
                            sample_account_ids: string[];
                            status_id: string;
                            type: "participation_accepted" | "participation_request";
                        }
                    )[];
                    partial_accounts?: {
                        acct: string;
                        avatar: string;
                        avatar_static: string;
                        bot: boolean;
                        id: string;
                        locked: boolean;
                        url: string;
                    }[];
                    statuses: Status[];
                },
                false,
            >,
        >;
        getNotificationGroup: (
            groupKey: string,
        ) => Promise<
            {
                accounts: Account[];
                notification_groups: (
                    | {
                        group_key: string;
                        is_muted?: boolean;
                        is_seen?: boolean;
                        latest_page_notification_at?: string;
                        most_recent_notification_id: string;
                        notifications_count: number;
                        page_max_id?: string;
                        page_min_id?: string;
                        sample_account_ids: string[];
                        type: "follow"
                        | "follow_request"
                        | "admin.sign_up"
                        | "bite";
                    }
                    | {
                        group_key: string;
                        is_muted?: boolean;
                        is_seen?: boolean;
                        latest_page_notification_at?: string;
                        most_recent_notification_id: string;
                        notifications_count: number;
                        page_max_id?: string;
                        page_min_id?: string;
                        sample_account_ids: string[];
                        status_id: string;
                        subtype: null
                        | "reply";
                        type: "mention";
                    }
                    | {
                        group_key: string;
                        is_muted?: boolean;
                        is_seen?: boolean;
                        latest_page_notification_at?: string;
                        most_recent_notification_id: string;
                        notifications_count: number;
                        page_max_id?: string;
                        page_min_id?: string;
                        sample_account_ids: string[];
                        status_id: string;
                        type: | "status"
                        | "poll"
                        | "reblog"
                        | "favourite"
                        | "update"
                        | "event_reminder";
                    }
                    | {
                        group_key: string;
                        is_muted?: boolean;
                        is_seen?: boolean;
                        latest_page_notification_at?: string;
                        most_recent_notification_id: string;
                        notifications_count: number;
                        page_max_id?: string;
                        page_min_id?: string;
                        report: {
                            action_taken?: boolean;
                            action_taken_at: null
                            | string;
                            category?: string;
                            comment?: string;
                            created_at?: string;
                            forwarded?: boolean;
                            id: string;
                            rule_ids: null | string;
                            status_ids: null | string;
                            target_account: null | Account;
                        };
                        sample_account_ids: string[];
                        type: "admin.report";
                    }
                    | {
                        group_key: string;
                        is_muted?: boolean;
                        is_seen?: boolean;
                        latest_page_notification_at?: string;
                        most_recent_notification_id: string;
                        notifications_count: number;
                        page_max_id?: string;
                        page_min_id?: string;
                        relationship_severance_event: {
                            created_at: string;
                            id: string;
                            purged: string;
                            relationships_count?: number;
                            type: "domain_block"
                            | "user_domain_block"
                            | "account_suspension";
                        };
                        sample_account_ids: string[];
                        type: "severed_relationships";
                    }
                    | {
                        group_key: string;
                        is_muted?: boolean;
                        is_seen?: boolean;
                        latest_page_notification_at?: string;
                        moderation_warning: {
                            action: | "none"
                            | "sensitive"
                            | "disable"
                            | "mark_statuses_as_sensitive"
                            | "delete_statuses"
                            | "silence"
                            | "suspend";
                            appeal: null
                            | { state: (...) | (...) | (...); text: string };
                            created_at: string;
                            id: string;
                            status_ids: string[];
                            target_account: {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                moved: (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            } & WithMoved;
                            text: string;
                        };
                        most_recent_notification_id: string;
                        notifications_count: number;
                        page_max_id?: string;
                        page_min_id?: string;
                        sample_account_ids: string[];
                        type: "moderation_warning";
                    }
                    | {
                        group_key: string;
                        is_muted?: boolean;
                        is_seen?: boolean;
                        latest_page_notification_at?: string;
                        most_recent_notification_id: string;
                        notifications_count: number;
                        page_max_id?: string;
                        page_min_id?: string;
                        sample_account_ids: string[];
                        target_id: string;
                        type: "move";
                    }
                    | {
                        emoji: string;
                        emoji_url: null
                        | string;
                        group_key: string;
                        is_muted?: boolean;
                        is_seen?: boolean;
                        latest_page_notification_at?: string;
                        most_recent_notification_id: string;
                        notifications_count: number;
                        page_max_id?: string;
                        page_min_id?: string;
                        sample_account_ids: string[];
                        status_id: string;
                        type: "emoji_reaction";
                    }
                    | {
                        chat_message: {
                            account_id: string;
                            attachment: | null
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { focus?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "image";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; original?: ...; small?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "video";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { duration?: ...; focus?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "gifv";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                meta: { colors?: ...; duration?: ...; original?: ... };
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "audio";
                                url: string;
                            }
                            | {
                                blurhash: (...)
                                | (...);
                                description: string;
                                id: string;
                                mime_type: (...) | (...);
                                preview_url: string;
                                remote_url: (...) | (...);
                                type: "unknown";
                                url: string;
                            };
                            card: | null
                            | {
                                author_name: string;
                                author_url: string;
                                authors: (...)[];
                                blurhash: (...) | (...);
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: (...) | (...);
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: (...) | (...) | (...) | (...);
                                url: string;
                                width: number;
                            };
                            chat_id: string;
                            content: string;
                            created_at: string;
                            emojis: {
                                category: (...)
                                | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            id: string;
                            unread: boolean;
                        };
                        group_key: string;
                        is_muted?: boolean;
                        is_seen?: boolean;
                        latest_page_notification_at?: string;
                        most_recent_notification_id: string;
                        notifications_count: number;
                        page_max_id?: string;
                        page_min_id?: string;
                        sample_account_ids: string[];
                        type: "chat_mention";
                    }
                    | {
                        group_key: string;
                        is_muted?: boolean;
                        is_seen?: boolean;
                        latest_page_notification_at?: string;
                        most_recent_notification_id: string;
                        notifications_count: number;
                        page_max_id?: string;
                        page_min_id?: string;
                        participation_message: null
                        | string;
                        sample_account_ids: string[];
                        status_id: string;
                        type: "participation_accepted" | "participation_request";
                    }
                )[];
                partial_accounts?: {
                    acct: string;
                    avatar: string;
                    avatar_static: string;
                    bot: boolean;
                    id: string;
                    locked: boolean;
                    url: string;
                }[];
                statuses: Status[];
            },
        >;
        getNotificationGroupAccounts: (groupKey: string) => Promise<Account[]>;
        getUnreadNotificationGroupCount: (
            params: GetUnreadNotificationGroupCountParams,
        ) => Promise<{ count: number }>;
    } = ...

    It is recommended to only use this with featuresFeatures.groupedNotifications available. However, there is a fallback that groups the notifications client-side.

    Type declaration

    • dismissNotificationGroup: (groupKey: string) => Promise<{}>

      Dismiss a single notification group Dismiss a single notification group from the server.

      Requires featuresFeatures.groupedNotifications.

    • getGroupedNotifications: (
          params: GetGroupedNotificationsParams,
          meta?: RequestMeta,
      ) => Promise<
          PaginatedResponse<
              {
                  accounts: Account[];
                  notification_groups: (
                      | {
                          group_key: string;
                          is_muted?: boolean;
                          is_seen?: boolean;
                          latest_page_notification_at?: string;
                          most_recent_notification_id: string;
                          notifications_count: number;
                          page_max_id?: string;
                          page_min_id?: string;
                          sample_account_ids: string[];
                          type: "follow"
                          | "follow_request"
                          | "admin.sign_up"
                          | "bite";
                      }
                      | {
                          group_key: string;
                          is_muted?: boolean;
                          is_seen?: boolean;
                          latest_page_notification_at?: string;
                          most_recent_notification_id: string;
                          notifications_count: number;
                          page_max_id?: string;
                          page_min_id?: string;
                          sample_account_ids: string[];
                          status_id: string;
                          subtype: null
                          | "reply";
                          type: "mention";
                      }
                      | {
                          group_key: string;
                          is_muted?: boolean;
                          is_seen?: boolean;
                          latest_page_notification_at?: string;
                          most_recent_notification_id: string;
                          notifications_count: number;
                          page_max_id?: string;
                          page_min_id?: string;
                          sample_account_ids: string[];
                          status_id: string;
                          type: | "status"
                          | "poll"
                          | "reblog"
                          | "favourite"
                          | "update"
                          | "event_reminder";
                      }
                      | {
                          group_key: string;
                          is_muted?: boolean;
                          is_seen?: boolean;
                          latest_page_notification_at?: string;
                          most_recent_notification_id: string;
                          notifications_count: number;
                          page_max_id?: string;
                          page_min_id?: string;
                          report: {
                              action_taken?: boolean;
                              action_taken_at: null
                              | string;
                              category?: string;
                              comment?: string;
                              created_at?: string;
                              forwarded?: boolean;
                              id: string;
                              rule_ids: null | string;
                              status_ids: null | string;
                              target_account: null | Account;
                          };
                          sample_account_ids: string[];
                          type: "admin.report";
                      }
                      | {
                          group_key: string;
                          is_muted?: boolean;
                          is_seen?: boolean;
                          latest_page_notification_at?: string;
                          most_recent_notification_id: string;
                          notifications_count: number;
                          page_max_id?: string;
                          page_min_id?: string;
                          relationship_severance_event: {
                              created_at: string;
                              id: string;
                              purged: string;
                              relationships_count?: number;
                              type: "domain_block"
                              | "user_domain_block"
                              | "account_suspension";
                          };
                          sample_account_ids: string[];
                          type: "severed_relationships";
                      }
                      | {
                          group_key: string;
                          is_muted?: boolean;
                          is_seen?: boolean;
                          latest_page_notification_at?: string;
                          moderation_warning: {
                              action: | "none"
                              | "sensitive"
                              | "disable"
                              | "mark_statuses_as_sensitive"
                              | "delete_statuses"
                              | "silence"
                              | "suspend";
                              appeal: null
                              | { state: ...; text: ... };
                              created_at: string;
                              id: string;
                              status_ids: string[];
                              target_account: {
                                  __meta: ...;
                                  accepts_chat_messages: ...;
                                  acct: ...;
                                  ap_id: ...;
                                  avatar: ...;
                                  avatar_description: ...;
                                  avatar_static: ...;
                                  background_image: ...;
                                  birthday?: ...;
                                  bot: ...;
                                  created_at: ...;
                                  custom_css: ...;
                                  deactivated?: ...;
                                  discoverable: ...;
                                  display_name: ...;
                                  domain: ...;
                                  emojis: ...;
                                  enable_rss: ...;
                                  favicon?: ...;
                                  fields: ...;
                                  followers_count: ...;
                                  following_count: ...;
                                  fqn: ...;
                                  group: ...;
                                  header: ...;
                                  header_description: ...;
                                  header_static: ...;
                                  hide_collections?: ...;
                                  hide_favorites: ...;
                                  hide_followers?: ...;
                                  hide_followers_count?: ...;
                                  hide_follows?: ...;
                                  hide_follows_count?: ...;
                                  id: ...;
                                  identity_proofs: ...;
                                  is_admin?: ...;
                                  is_cat: ...;
                                  is_moderator?: ...;
                                  is_suggested?: ...;
                                  last_status_at: ...;
                                  limited?: ...;
                                  local?: ...;
                                  location?: ...;
                                  locked: ...;
                                  mention_policy: ...;
                                  moved: ...;
                                  noindex: ...;
                                  note: ...;
                                  payment_options: ...;
                                  permit_followback?: ...;
                                  pronouns: ...;
                                  relationship?: ...;
                                  roles: ...;
                                  speak_as_cat: ...;
                                  statuses_count: ...;
                                  subscribers_count: ...;
                                  suspended?: ...;
                                  url: ...;
                                  username: ...;
                                  verified?: ...;
                              } & WithMoved;
                              text: string;
                          };
                          most_recent_notification_id: string;
                          notifications_count: number;
                          page_max_id?: string;
                          page_min_id?: string;
                          sample_account_ids: string[];
                          type: "moderation_warning";
                      }
                      | {
                          group_key: string;
                          is_muted?: boolean;
                          is_seen?: boolean;
                          latest_page_notification_at?: string;
                          most_recent_notification_id: string;
                          notifications_count: number;
                          page_max_id?: string;
                          page_min_id?: string;
                          sample_account_ids: string[];
                          target_id: string;
                          type: "move";
                      }
                      | {
                          emoji: string;
                          emoji_url: null
                          | string;
                          group_key: string;
                          is_muted?: boolean;
                          is_seen?: boolean;
                          latest_page_notification_at?: string;
                          most_recent_notification_id: string;
                          notifications_count: number;
                          page_max_id?: string;
                          page_min_id?: string;
                          sample_account_ids: string[];
                          status_id: string;
                          type: "emoji_reaction";
                      }
                      | {
                          chat_message: {
                              account_id: string;
                              attachment: | null
                              | {
                                  blurhash: ...;
                                  description: ...;
                                  id: ...;
                                  meta: ...;
                                  mime_type: ...;
                                  preview_url: ...;
                                  remote_url: ...;
                                  type: ...;
                                  url: ...;
                              }
                              | {
                                  blurhash: ...;
                                  description: ...;
                                  id: ...;
                                  meta: ...;
                                  mime_type: ...;
                                  preview_url: ...;
                                  remote_url: ...;
                                  type: ...;
                                  url: ...;
                              }
                              | {
                                  blurhash: ...;
                                  description: ...;
                                  id: ...;
                                  meta: ...;
                                  mime_type: ...;
                                  preview_url: ...;
                                  remote_url: ...;
                                  type: ...;
                                  url: ...;
                              }
                              | {
                                  blurhash: ...;
                                  description: ...;
                                  id: ...;
                                  meta: ...;
                                  mime_type: ...;
                                  preview_url: ...;
                                  remote_url: ...;
                                  type: ...;
                                  url: ...;
                              }
                              | {
                                  blurhash: ...;
                                  description: ...;
                                  id: ...;
                                  mime_type: ...;
                                  preview_url: ...;
                                  remote_url: ...;
                                  type: ...;
                                  url: ...;
                              };
                              card: | null
                              | {
                                  author_name: ...;
                                  author_url: ...;
                                  authors: ...;
                                  blurhash: ...;
                                  description: ...;
                                  embed_url: ...;
                                  height: ...;
                                  html: ...;
                                  image: ...;
                                  image_description: ...;
                                  provider_name: ...;
                                  provider_url: ...;
                                  title: ...;
                                  type: ...;
                                  url: ...;
                                  width: ...;
                              };
                              chat_id: string;
                              content: string;
                              created_at: string;
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              id: string;
                              unread: boolean;
                          };
                          group_key: string;
                          is_muted?: boolean;
                          is_seen?: boolean;
                          latest_page_notification_at?: string;
                          most_recent_notification_id: string;
                          notifications_count: number;
                          page_max_id?: string;
                          page_min_id?: string;
                          sample_account_ids: string[];
                          type: "chat_mention";
                      }
                      | {
                          group_key: string;
                          is_muted?: boolean;
                          is_seen?: boolean;
                          latest_page_notification_at?: string;
                          most_recent_notification_id: string;
                          notifications_count: number;
                          page_max_id?: string;
                          page_min_id?: string;
                          participation_message: null
                          | string;
                          sample_account_ids: string[];
                          status_id: string;
                          type: "participation_accepted" | "participation_request";
                      }
                  )[];
                  partial_accounts?: {
                      acct: string;
                      avatar: string;
                      avatar_static: string;
                      bot: boolean;
                      id: string;
                      locked: boolean;
                      url: string;
                  }[];
                  statuses: Status[];
              },
              false,
          >,
      >

      Get all grouped notifications Return grouped notifications concerning the user. This API returns Link headers containing links to the next/previous page. However, the links can also be constructed dynamically using query params and id values.

      Requires featuresFeatures.groupedNotifications.

    • getNotificationGroup: (
          groupKey: string,
      ) => Promise<
          {
              accounts: Account[];
              notification_groups: (
                  | {
                      group_key: string;
                      is_muted?: boolean;
                      is_seen?: boolean;
                      latest_page_notification_at?: string;
                      most_recent_notification_id: string;
                      notifications_count: number;
                      page_max_id?: string;
                      page_min_id?: string;
                      sample_account_ids: string[];
                      type: "follow"
                      | "follow_request"
                      | "admin.sign_up"
                      | "bite";
                  }
                  | {
                      group_key: string;
                      is_muted?: boolean;
                      is_seen?: boolean;
                      latest_page_notification_at?: string;
                      most_recent_notification_id: string;
                      notifications_count: number;
                      page_max_id?: string;
                      page_min_id?: string;
                      sample_account_ids: string[];
                      status_id: string;
                      subtype: null
                      | "reply";
                      type: "mention";
                  }
                  | {
                      group_key: string;
                      is_muted?: boolean;
                      is_seen?: boolean;
                      latest_page_notification_at?: string;
                      most_recent_notification_id: string;
                      notifications_count: number;
                      page_max_id?: string;
                      page_min_id?: string;
                      sample_account_ids: string[];
                      status_id: string;
                      type: | "status"
                      | "poll"
                      | "reblog"
                      | "favourite"
                      | "update"
                      | "event_reminder";
                  }
                  | {
                      group_key: string;
                      is_muted?: boolean;
                      is_seen?: boolean;
                      latest_page_notification_at?: string;
                      most_recent_notification_id: string;
                      notifications_count: number;
                      page_max_id?: string;
                      page_min_id?: string;
                      report: {
                          action_taken?: boolean;
                          action_taken_at: null
                          | string;
                          category?: string;
                          comment?: string;
                          created_at?: string;
                          forwarded?: boolean;
                          id: string;
                          rule_ids: null | string;
                          status_ids: null | string;
                          target_account: null | Account;
                      };
                      sample_account_ids: string[];
                      type: "admin.report";
                  }
                  | {
                      group_key: string;
                      is_muted?: boolean;
                      is_seen?: boolean;
                      latest_page_notification_at?: string;
                      most_recent_notification_id: string;
                      notifications_count: number;
                      page_max_id?: string;
                      page_min_id?: string;
                      relationship_severance_event: {
                          created_at: string;
                          id: string;
                          purged: string;
                          relationships_count?: number;
                          type: "domain_block"
                          | "user_domain_block"
                          | "account_suspension";
                      };
                      sample_account_ids: string[];
                      type: "severed_relationships";
                  }
                  | {
                      group_key: string;
                      is_muted?: boolean;
                      is_seen?: boolean;
                      latest_page_notification_at?: string;
                      moderation_warning: {
                          action: | "none"
                          | "sensitive"
                          | "disable"
                          | "mark_statuses_as_sensitive"
                          | "delete_statuses"
                          | "silence"
                          | "suspend";
                          appeal: null
                          | { state: (...) | (...) | (...); text: string };
                          created_at: string;
                          id: string;
                          status_ids: string[];
                          target_account: {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              moved: (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          } & WithMoved;
                          text: string;
                      };
                      most_recent_notification_id: string;
                      notifications_count: number;
                      page_max_id?: string;
                      page_min_id?: string;
                      sample_account_ids: string[];
                      type: "moderation_warning";
                  }
                  | {
                      group_key: string;
                      is_muted?: boolean;
                      is_seen?: boolean;
                      latest_page_notification_at?: string;
                      most_recent_notification_id: string;
                      notifications_count: number;
                      page_max_id?: string;
                      page_min_id?: string;
                      sample_account_ids: string[];
                      target_id: string;
                      type: "move";
                  }
                  | {
                      emoji: string;
                      emoji_url: null
                      | string;
                      group_key: string;
                      is_muted?: boolean;
                      is_seen?: boolean;
                      latest_page_notification_at?: string;
                      most_recent_notification_id: string;
                      notifications_count: number;
                      page_max_id?: string;
                      page_min_id?: string;
                      sample_account_ids: string[];
                      status_id: string;
                      type: "emoji_reaction";
                  }
                  | {
                      chat_message: {
                          account_id: string;
                          attachment: | null
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { focus?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "image";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; original?: ...; small?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "video";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { duration?: ...; focus?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "gifv";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              meta: { colors?: ...; duration?: ...; original?: ... };
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "audio";
                              url: string;
                          }
                          | {
                              blurhash: (...)
                              | (...);
                              description: string;
                              id: string;
                              mime_type: (...) | (...);
                              preview_url: string;
                              remote_url: (...) | (...);
                              type: "unknown";
                              url: string;
                          };
                          card: | null
                          | {
                              author_name: string;
                              author_url: string;
                              authors: (...)[];
                              blurhash: (...) | (...);
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: (...) | (...);
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: (...) | (...) | (...) | (...);
                              url: string;
                              width: number;
                          };
                          chat_id: string;
                          content: string;
                          created_at: string;
                          emojis: {
                              category: (...)
                              | (...);
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          id: string;
                          unread: boolean;
                      };
                      group_key: string;
                      is_muted?: boolean;
                      is_seen?: boolean;
                      latest_page_notification_at?: string;
                      most_recent_notification_id: string;
                      notifications_count: number;
                      page_max_id?: string;
                      page_min_id?: string;
                      sample_account_ids: string[];
                      type: "chat_mention";
                  }
                  | {
                      group_key: string;
                      is_muted?: boolean;
                      is_seen?: boolean;
                      latest_page_notification_at?: string;
                      most_recent_notification_id: string;
                      notifications_count: number;
                      page_max_id?: string;
                      page_min_id?: string;
                      participation_message: null
                      | string;
                      sample_account_ids: string[];
                      status_id: string;
                      type: "participation_accepted" | "participation_request";
                  }
              )[];
              partial_accounts?: {
                  acct: string;
                  avatar: string;
                  avatar_static: string;
                  bot: boolean;
                  id: string;
                  locked: boolean;
                  url: string;
              }[];
              statuses: Status[];
          },
      >

      Get a single notification group View information about a specific notification group with a given group key.

      Requires featuresFeatures.groupedNotifications.

    • getNotificationGroupAccounts: (groupKey: string) => Promise<Account[]>

      Get accounts of all notifications in a notification group

      Requires featuresFeatures.groupedNotifications.

    • getUnreadNotificationGroupCount: (params: GetUnreadNotificationGroupCountParams) => Promise<{ count: number }>

      Get the number of unread notifications Get the (capped) number of unread notification groups for the current user. A notification is considered unread if it is more recent than the notifications read marker. Because the count is dependant on the parameters, it is computed every time and is thus a relatively slow operation (although faster than getting the full corresponding notifications), therefore the number of returned notifications is capped.

      Requires featuresFeatures.groupedNotifications.

    instance: {
        getCustomEmojis: () => Promise<
            {
                category: null
                | string;
                shortcode: string;
                static_url: string;
                url: string;
                visible_in_picker: boolean;
            }[],
        >;
        getFrontendConfigurations: () => Promise<
            { [key: string]: { [key: string]: any } },
        >;
        getInstance: () => Promise<
            Readonly<
                {
                    account_domain: string;
                    api_versions: { [key: string]: number };
                    configuration: {
                        accounts:
                            | null
                            | {
                                allow_custom_css: boolean;
                                max_featured_tags: number;
                                max_profile_fields: number;
                            };
                        chats: { max_characters: number };
                        groups: {
                            max_characters_description: number;
                            max_characters_name: number;
                        };
                        limited_federation?: boolean;
                        media_attachments: {
                            image_matrix_limit?: number;
                            image_size_limit?: number;
                            supported_mime_types?: string[];
                            video_duration_limit?: number;
                            video_frame_rate_limit?: number;
                            video_matrix_limit?: number;
                            video_size_limit?: number;
                        };
                        polls: {
                            max_characters_per_option: number;
                            max_expiration: number;
                            max_options: number;
                            min_expiration: number;
                        };
                        reactions: { max_reactions: number };
                        statuses: {
                            characters_reserved_per_url?: number;
                            max_characters: number;
                            max_media_attachments: number;
                        };
                        translation: { enabled: boolean };
                        urls: {
                            about: null | string;
                            privacy_policy: null | string;
                            streaming?: string;
                            terms_of_service: null | string;
                        };
                        vapid: { public_key: string };
                    };
                    contact: { contact_account?: Account; email: string };
                    description: string;
                    domain: string;
                    feature_quote: boolean;
                    icons: { size: string; src: string }[];
                    languages: string[];
                    pleroma: {
                        metadata: {
                            account_activation_required: boolean;
                            birthday_min_age: number;
                            birthday_required: boolean;
                            description_limit: number;
                            federation: {
                                enabled: boolean;
                                mrf_policies?: string[];
                                mrf_simple: {
                                    accept: string[];
                                    avatar_removal: string[];
                                    banner_removal: string[];
                                    federated_timeline_removal: string[];
                                    followers_only: string[];
                                    media_nsfw: string[];
                                    media_removal: string[];
                                    reject: string[];
                                    reject_deletes: string[];
                                    report_removal: string[];
                                };
                            };
                            fields_limits: {
                                max_fields: number;
                                name_length: number;
                                value_length: number;
                            };
                            markup: { allow_headings: boolean; allow_inline_images: boolean };
                            migration_cooldown_period?: number;
                            multitenancy: {
                                domains?: { domain: ...; id: ...; public: ... }[];
                                enabled: boolean;
                            };
                            post_formats: string[];
                            restrict_unauthenticated: {
                                activities: { local: boolean; remote: boolean };
                                profiles: { local: boolean; remote: boolean };
                                timelines: { bubble: boolean; federated: boolean; local: boolean };
                            };
                            translation: {
                                allow_remote: boolean;
                                allow_unauthenticated: boolean;
                                source_languages?: string[];
                                target_languages?: string[];
                            };
                        };
                        oauth_consumer_strategies: string[];
                        stats: { mau?: number };
                        vapid_public_key: string;
                    };
                    registrations: {
                        approval_required: boolean;
                        enabled: boolean;
                        message?: string;
                        min_age: null
                        | number;
                        reason_required: null | boolean;
                    };
                    rules: {
                        hint: string;
                        id: string;
                        text: string;
                        translations?: { [key: string]: { hint: string; text: string } };
                    }[];
                    stats: {
                        domain_count?: number;
                        status_count?: number;
                        user_count?: number;
                    };
                    thumbnail: { url: string };
                    title: string;
                    usage: { users: { active_month: number } };
                    version: string;
                },
            >,
        >;
        getInstanceActivity: () => Promise<
            {
                logins: string;
                registrations: string;
                statuses: string;
                week: string;
            }[],
        >;
        getInstanceDomainBlocks: () => Promise<
            {
                comment?: string;
                digest: string;
                domain: string;
                severity: "silence"
                | "suspend";
            }[],
        >;
        getInstanceExtendedDescription: () => Promise<
            { content: string; updated_at: string },
        >;
        getInstancePeers: () => Promise<string[]>;
        getInstancePrivacyPolicy: () => Promise<
            { content: string; updated_at: string },
        >;
        getInstanceRules: () => Promise<
            {
                hint: string;
                id: string;
                text: string;
                translations?: { [key: string]: { hint: string; text: string } };
            }[],
        >;
        getInstanceTermsOfService: () => Promise<
            {
                content: string;
                effective: boolean;
                effective_date: string;
                succeeded_by: null
                | string;
            },
        >;
        getInstanceTermsOfServiceForDate: (
            date: string,
        ) => Promise<
            {
                content: string;
                effective: boolean;
                effective_date: string;
                succeeded_by: null
                | string;
            },
        >;
        getInstanceTranslationLanguages: () => Promise<{ [k: string]: string[] }>;
        profileDirectory: (params?: ProfileDirectoryParams) => Promise<Account[]>;
    } = ...

    Type declaration

    • getCustomEmojis: () => Promise<
          {
              category: null
              | string;
              shortcode: string;
              static_url: string;
              url: string;
              visible_in_picker: boolean;
          }[],
      >

      View all custom emoji Returns custom emojis that are available on the server.

    • getFrontendConfigurations: () => Promise<{ [key: string]: { [key: string]: any } }>

      Dump frontend configurations

      Requires featuresFeatures.frontendConfigurations.

    • getInstance: () => Promise<
          Readonly<
              {
                  account_domain: string;
                  api_versions: { [key: string]: number };
                  configuration: {
                      accounts:
                          | null
                          | {
                              allow_custom_css: boolean;
                              max_featured_tags: number;
                              max_profile_fields: number;
                          };
                      chats: { max_characters: number };
                      groups: {
                          max_characters_description: number;
                          max_characters_name: number;
                      };
                      limited_federation?: boolean;
                      media_attachments: {
                          image_matrix_limit?: number;
                          image_size_limit?: number;
                          supported_mime_types?: string[];
                          video_duration_limit?: number;
                          video_frame_rate_limit?: number;
                          video_matrix_limit?: number;
                          video_size_limit?: number;
                      };
                      polls: {
                          max_characters_per_option: number;
                          max_expiration: number;
                          max_options: number;
                          min_expiration: number;
                      };
                      reactions: { max_reactions: number };
                      statuses: {
                          characters_reserved_per_url?: number;
                          max_characters: number;
                          max_media_attachments: number;
                      };
                      translation: { enabled: boolean };
                      urls: {
                          about: null | string;
                          privacy_policy: null | string;
                          streaming?: string;
                          terms_of_service: null | string;
                      };
                      vapid: { public_key: string };
                  };
                  contact: { contact_account?: Account; email: string };
                  description: string;
                  domain: string;
                  feature_quote: boolean;
                  icons: { size: string; src: string }[];
                  languages: string[];
                  pleroma: {
                      metadata: {
                          account_activation_required: boolean;
                          birthday_min_age: number;
                          birthday_required: boolean;
                          description_limit: number;
                          federation: {
                              enabled: boolean;
                              mrf_policies?: string[];
                              mrf_simple: {
                                  accept: string[];
                                  avatar_removal: string[];
                                  banner_removal: string[];
                                  federated_timeline_removal: string[];
                                  followers_only: string[];
                                  media_nsfw: string[];
                                  media_removal: string[];
                                  reject: string[];
                                  reject_deletes: string[];
                                  report_removal: string[];
                              };
                          };
                          fields_limits: {
                              max_fields: number;
                              name_length: number;
                              value_length: number;
                          };
                          markup: { allow_headings: boolean; allow_inline_images: boolean };
                          migration_cooldown_period?: number;
                          multitenancy: {
                              domains?: { domain: ...; id: ...; public: ... }[];
                              enabled: boolean;
                          };
                          post_formats: string[];
                          restrict_unauthenticated: {
                              activities: { local: boolean; remote: boolean };
                              profiles: { local: boolean; remote: boolean };
                              timelines: { bubble: boolean; federated: boolean; local: boolean };
                          };
                          translation: {
                              allow_remote: boolean;
                              allow_unauthenticated: boolean;
                              source_languages?: string[];
                              target_languages?: string[];
                          };
                      };
                      oauth_consumer_strategies: string[];
                      stats: { mau?: number };
                      vapid_public_key: string;
                  };
                  registrations: {
                      approval_required: boolean;
                      enabled: boolean;
                      message?: string;
                      min_age: null
                      | number;
                      reason_required: null | boolean;
                  };
                  rules: {
                      hint: string;
                      id: string;
                      text: string;
                      translations?: { [key: string]: { hint: string; text: string } };
                  }[];
                  stats: {
                      domain_count?: number;
                      status_count?: number;
                      user_count?: number;
                  };
                  thumbnail: { url: string };
                  title: string;
                  usage: { users: { active_month: number } };
                  version: string;
              },
          >,
      >

      View server information Obtain general information about the server.

    • getInstanceActivity: () => Promise<
          {
              logins: string;
              registrations: string;
              statuses: string;
              week: string;
          }[],
      >

      Weekly activity Instance activity over the last 3 months, binned weekly.

    • getInstanceDomainBlocks: () => Promise<
          {
              comment?: string;
              digest: string;
              domain: string;
              severity: "silence"
              | "suspend";
          }[],
      >

      View moderated servers Obtain a list of domains that have been blocked.

    • getInstanceExtendedDescription: () => Promise<{ content: string; updated_at: string }>

      View extended description Obtain an extended description of this server

    • getInstancePeers: () => Promise<string[]>

      List of connected domains Domains that this instance is aware of.

    • getInstancePrivacyPolicy: () => Promise<{ content: string; updated_at: string }>

      View privacy policy Obtain the contents of this server's privacy policy.

    • getInstanceRules: () => Promise<
          {
              hint: string;
              id: string;
              text: string;
              translations?: { [key: string]: { hint: string; text: string } };
          }[],
      >

      List of rules Rules that the users of this service should follow.

    • getInstanceTermsOfService: () => Promise<
          {
              content: string;
              effective: boolean;
              effective_date: string;
              succeeded_by: null
              | string;
          },
      >

      View terms of service Obtain the contents of this server's terms of service, if configured.

    • getInstanceTermsOfServiceForDate: (
          date: string,
      ) => Promise<
          {
              content: string;
              effective: boolean;
              effective_date: string;
              succeeded_by: null
              | string;
          },
      >

      View a specific version of the terms of service Obtain the contents of this server's terms of service, for a specified date, if configured.

    • getInstanceTranslationLanguages: () => Promise<{ [k: string]: string[] }>

      View translation languages Translation language pairs supported by the translation engine used by the server.

    • profileDirectory: (params?: ProfileDirectoryParams) => Promise<Account[]>

      View profile directory List accounts visible in the directory.

    interactionRequests: {
        authorizeInteractionRequest: (
            interactionRequestId: string,
        ) => Promise<
            {
                accepted_at: null
                | string;
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: (...) | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: string; value: string; verified_at: (...)
                            | (...) }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: string; value: string; verified_at: string }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: (...) | (...);
                                href: (...) | (...);
                                name: (...) | (...);
                                object_id: (...) | (...);
                                price: (...) | (...);
                                type: (...) | (...);
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: boolean;
                                blocking: boolean;
                                domain_blocking: boolean;
                                endorsed: boolean;
                                followed_by: boolean;
                                following: boolean;
                                id: string;
                                muting: boolean;
                                muting_notifications: boolean;
                                note: string;
                                notifying: boolean;
                                requested: boolean;
                                showing_reblogs: boolean;
                            };
                            roles: {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                id: string;
                rejected_at: null
                | string;
                reply: null | Status;
                status: null | Status;
                type: "reblog" | "favourite" | "reply";
                uri: null | string;
            },
        >;
        getInteractionRequest: (
            interactionRequestId: string,
        ) => Promise<
            {
                accepted_at: null
                | string;
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: (...) | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: string; value: string; verified_at: (...)
                            | (...) }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: string; value: string; verified_at: string }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: (...) | (...);
                                href: (...) | (...);
                                name: (...) | (...);
                                object_id: (...) | (...);
                                price: (...) | (...);
                                type: (...) | (...);
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: boolean;
                                blocking: boolean;
                                domain_blocking: boolean;
                                endorsed: boolean;
                                followed_by: boolean;
                                following: boolean;
                                id: string;
                                muting: boolean;
                                muting_notifications: boolean;
                                note: string;
                                notifying: boolean;
                                requested: boolean;
                                showing_reblogs: boolean;
                            };
                            roles: {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                id: string;
                rejected_at: null
                | string;
                reply: null | Status;
                status: null | Status;
                type: "reblog" | "favourite" | "reply";
                uri: null | string;
            },
        >;
        getInteractionRequests: (
            params?: GetInteractionRequestsParams,
        ) => Promise<
            PaginatedResponse<
                {
                    accepted_at: null
                    | string;
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: null | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: null
                        | string }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: any; source?: any };
                                accepts_chat_messages: null | boolean;
                                acct: string;
                                ap_id: null | string;
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: null | string;
                                birthday?: string;
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: boolean;
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                enable_rss: boolean;
                                favicon?: string;
                                fields: { name: ...; value: ...; verified_at: ... }[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: boolean;
                                hide_favorites: boolean;
                                hide_followers?: boolean;
                                hide_followers_count?: boolean;
                                hide_follows?: boolean;
                                hide_follows_count?: boolean;
                                id: string;
                                identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                                is_admin?: boolean;
                                is_cat: boolean;
                                is_moderator?: boolean;
                                is_suggested?: boolean;
                                last_status_at: null | string;
                                limited?: boolean;
                                local?: boolean;
                                location?: string;
                                locked: boolean;
                                mention_policy: "none" | "only_known" | "only_followers";
                                noindex: null | boolean;
                                note: string;
                                payment_options: {
                                    chain_id: ...;
                                    href: ...;
                                    name: ...;
                                    object_id: ...;
                                    price: ...;
                                    type: ...;
                                }[];
                                permit_followback?: boolean;
                                pronouns: string[];
                                relationship?: {
                                    blocked_by: ...;
                                    blocking: ...;
                                    domain_blocking: ...;
                                    endorsed: ...;
                                    followed_by: ...;
                                    following: ...;
                                    id: ...;
                                    muting: ...;
                                    muting_notifications: ...;
                                    note: ...;
                                    notifying: ...;
                                    requested: ...;
                                    showing_reblogs: ...;
                                };
                                roles: {
                                    color: ...;
                                    highlighted: ...;
                                    id: ...;
                                    name: ...;
                                    permissions: ...;
                                }[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: boolean;
                                url: string;
                                username: string;
                                verified?: boolean;
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: null | string;
                            href: null | string;
                            name: null | string;
                            object_id: null | string;
                            price: null | string;
                            type: "link" | "monero-subscription";
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    created_at: string;
                    id: string;
                    rejected_at: null
                    | string;
                    reply: null | Status;
                    status: null | Status;
                    type: "reblog" | "favourite" | "reply";
                    uri: null | string;
                },
                true,
            >,
        >;
        rejectInteractionRequest: (
            interactionRequestId: string,
        ) => Promise<
            {
                accepted_at: null
                | string;
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: (...) | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: string; value: string; verified_at: (...)
                            | (...) }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: string; value: string; verified_at: string }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: (...) | (...);
                                href: (...) | (...);
                                name: (...) | (...);
                                object_id: (...) | (...);
                                price: (...) | (...);
                                type: (...) | (...);
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: boolean;
                                blocking: boolean;
                                domain_blocking: boolean;
                                endorsed: boolean;
                                followed_by: boolean;
                                following: boolean;
                                id: string;
                                muting: boolean;
                                muting_notifications: boolean;
                                note: string;
                                notifying: boolean;
                                requested: boolean;
                                showing_reblogs: boolean;
                            };
                            roles: {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                id: string;
                rejected_at: null
                | string;
                reply: null | Status;
                status: null | Status;
                type: "reblog" | "favourite" | "reply";
                uri: null | string;
            },
        >;
    } = ...

    Type declaration

    • authorizeInteractionRequest: (
          interactionRequestId: string,
      ) => Promise<
          {
              accepted_at: null
              | string;
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: (...) | (...);
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: string; value: string; verified_at: (...)
                          | (...) }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: string; value: string; verified_at: string }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: (...) | (...);
                              href: (...) | (...);
                              name: (...) | (...);
                              object_id: (...) | (...);
                              price: (...) | (...);
                              type: (...) | (...);
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: boolean;
                              blocking: boolean;
                              domain_blocking: boolean;
                              endorsed: boolean;
                              followed_by: boolean;
                              following: boolean;
                              id: string;
                              muting: boolean;
                              muting_notifications: boolean;
                              note: string;
                              notifying: boolean;
                              requested: boolean;
                              showing_reblogs: boolean;
                          };
                          roles: {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              id: string;
              rejected_at: null
              | string;
              reply: null | Status;
              status: null | Status;
              type: "reblog" | "favourite" | "reply";
              uri: null | string;
          },
      >

      Accept/authorize/approve an interaction request with the given ID.

      Requires featuresFeatures.interactionRequests.

    • getInteractionRequest: (
          interactionRequestId: string,
      ) => Promise<
          {
              accepted_at: null
              | string;
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: (...) | (...);
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: string; value: string; verified_at: (...)
                          | (...) }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: string; value: string; verified_at: string }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: (...) | (...);
                              href: (...) | (...);
                              name: (...) | (...);
                              object_id: (...) | (...);
                              price: (...) | (...);
                              type: (...) | (...);
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: boolean;
                              blocking: boolean;
                              domain_blocking: boolean;
                              endorsed: boolean;
                              followed_by: boolean;
                              following: boolean;
                              id: string;
                              muting: boolean;
                              muting_notifications: boolean;
                              note: string;
                              notifying: boolean;
                              requested: boolean;
                              showing_reblogs: boolean;
                          };
                          roles: {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              id: string;
              rejected_at: null
              | string;
              reply: null | Status;
              status: null | Status;
              type: "reblog" | "favourite" | "reply";
              uri: null | string;
          },
      >

      Get interaction request with the given ID.

      Requires featuresFeatures.interactionRequests.

    • getInteractionRequests: (
          params?: GetInteractionRequestsParams,
      ) => Promise<
          PaginatedResponse<
              {
                  accepted_at: null
                  | string;
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: null | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: null
                      | string }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: any; source?: any };
                              accepts_chat_messages: null | boolean;
                              acct: string;
                              ap_id: null | string;
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: null | string;
                              birthday?: string;
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: boolean;
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              enable_rss: boolean;
                              favicon?: string;
                              fields: { name: ...; value: ...; verified_at: ... }[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: boolean;
                              hide_favorites: boolean;
                              hide_followers?: boolean;
                              hide_followers_count?: boolean;
                              hide_follows?: boolean;
                              hide_follows_count?: boolean;
                              id: string;
                              identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                              is_admin?: boolean;
                              is_cat: boolean;
                              is_moderator?: boolean;
                              is_suggested?: boolean;
                              last_status_at: null | string;
                              limited?: boolean;
                              local?: boolean;
                              location?: string;
                              locked: boolean;
                              mention_policy: "none" | "only_known" | "only_followers";
                              noindex: null | boolean;
                              note: string;
                              payment_options: {
                                  chain_id: ...;
                                  href: ...;
                                  name: ...;
                                  object_id: ...;
                                  price: ...;
                                  type: ...;
                              }[];
                              permit_followback?: boolean;
                              pronouns: string[];
                              relationship?: {
                                  blocked_by: ...;
                                  blocking: ...;
                                  domain_blocking: ...;
                                  endorsed: ...;
                                  followed_by: ...;
                                  following: ...;
                                  id: ...;
                                  muting: ...;
                                  muting_notifications: ...;
                                  note: ...;
                                  notifying: ...;
                                  requested: ...;
                                  showing_reblogs: ...;
                              };
                              roles: {
                                  color: ...;
                                  highlighted: ...;
                                  id: ...;
                                  name: ...;
                                  permissions: ...;
                              }[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: boolean;
                              url: string;
                              username: string;
                              verified?: boolean;
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: null | string;
                          href: null | string;
                          name: null | string;
                          object_id: null | string;
                          price: null | string;
                          type: "link" | "monero-subscription";
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  created_at: string;
                  id: string;
                  rejected_at: null
                  | string;
                  reply: null | Status;
                  status: null | Status;
                  type: "reblog" | "favourite" | "reply";
                  uri: null | string;
              },
              true,
          >,
      >

      Get an array of interactions requested on your statuses by other accounts, and pending your approval.

      Requires featuresFeatures.interactionRequests.

    • rejectInteractionRequest: (
          interactionRequestId: string,
      ) => Promise<
          {
              accepted_at: null
              | string;
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: (...) | (...);
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: string; value: string; verified_at: (...)
                          | (...) }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: string; value: string; verified_at: string }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: (...) | (...);
                              href: (...) | (...);
                              name: (...) | (...);
                              object_id: (...) | (...);
                              price: (...) | (...);
                              type: (...) | (...);
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: boolean;
                              blocking: boolean;
                              domain_blocking: boolean;
                              endorsed: boolean;
                              followed_by: boolean;
                              following: boolean;
                              id: string;
                              muting: boolean;
                              muting_notifications: boolean;
                              note: string;
                              notifying: boolean;
                              requested: boolean;
                              showing_reblogs: boolean;
                          };
                          roles: {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              id: string;
              rejected_at: null
              | string;
              reply: null | Status;
              status: null | Status;
              type: "reblog" | "favourite" | "reply";
              uri: null | string;
          },
      >

      Reject an interaction request with the given ID.

      Requires featuresFeatures.interactionRequests.

    lists: {
        addListAccounts: (listId: string, accountIds: string[]) => Promise<{}>;
        createList: (
            params: CreateListParams,
        ) => Promise<
            {
                antennas: Antenna[];
                exclusive?: boolean;
                favourite?: boolean;
                id: string;
                notify?: boolean;
                replies_policy?: string;
                title: string;
            },
        >;
        deleteList: (listId: string) => Promise<{}>;
        deleteListAccounts: (listId: string, accountIds: string[]) => Promise<{}>;
        favouriteList: (
            listId: string,
        ) => Promise<
            {
                antennas: Antenna[];
                exclusive?: boolean;
                favourite?: boolean;
                id: string;
                notify?: boolean;
                replies_policy?: string;
                title: string;
            },
        >;
        getList: (
            listId: string,
        ) => Promise<
            {
                antennas: Antenna[];
                exclusive?: boolean;
                favourite?: boolean;
                id: string;
                notify?: boolean;
                replies_policy?: string;
                title: string;
            },
        >;
        getListAccounts: (
            listId: string,
            params?: PaginationParams,
        ) => Promise<PaginatedResponse<Account, true>>;
        getLists: () => Promise<
            {
                antennas: Antenna[];
                exclusive?: boolean;
                favourite?: boolean;
                id: string;
                notify?: boolean;
                replies_policy?: string;
                title: string;
            }[],
        >;
        unfavouriteList: (
            listId: string,
        ) => Promise<
            {
                antennas: Antenna[];
                exclusive?: boolean;
                favourite?: boolean;
                id: string;
                notify?: boolean;
                replies_policy?: string;
                title: string;
            },
        >;
        updateList: (
            listId: string,
            params: CreateListParams,
        ) => Promise<
            {
                antennas: Antenna[];
                exclusive?: boolean;
                favourite?: boolean;
                id: string;
                notify?: boolean;
                replies_policy?: string;
                title: string;
            },
        >;
    } = ...

    Type declaration

    • addListAccounts: (listId: string, accountIds: string[]) => Promise<{}>

      Add accounts to a list Add accounts to the given list. Note that the user must be following these accounts.

    • createList: (
          params: CreateListParams,
      ) => Promise<
          {
              antennas: Antenna[];
              exclusive?: boolean;
              favourite?: boolean;
              id: string;
              notify?: boolean;
              replies_policy?: string;
              title: string;
          },
      >

      Create a list Create a new list.

    • deleteList: (listId: string) => Promise<{}>

      Delete a list

    • deleteListAccounts: (listId: string, accountIds: string[]) => Promise<{}>

      Remove accounts from list Remove accounts from the given list.

    • favouriteList: (
          listId: string,
      ) => Promise<
          {
              antennas: Antenna[];
              exclusive?: boolean;
              favourite?: boolean;
              id: string;
              notify?: boolean;
              replies_policy?: string;
              title: string;
          },
      >

      Add a list to favourites

      Requires featuresFeatures.listsFavourite.

    • getList: (
          listId: string,
      ) => Promise<
          {
              antennas: Antenna[];
              exclusive?: boolean;
              favourite?: boolean;
              id: string;
              notify?: boolean;
              replies_policy?: string;
              title: string;
          },
      >

      Show a single list Fetch the list with the given ID. Used for verifying the title of a list, and which replies to show within that list.

    • getListAccounts: (
          listId: string,
          params?: PaginationParams,
      ) => Promise<PaginatedResponse<Account, true>>

      View accounts in a list

    • getLists: () => Promise<
          {
              antennas: Antenna[];
              exclusive?: boolean;
              favourite?: boolean;
              id: string;
              notify?: boolean;
              replies_policy?: string;
              title: string;
          }[],
      >

      View your lists Fetch all lists that the user owns.

    • unfavouriteList: (
          listId: string,
      ) => Promise<
          {
              antennas: Antenna[];
              exclusive?: boolean;
              favourite?: boolean;
              id: string;
              notify?: boolean;
              replies_policy?: string;
              title: string;
          },
      >

      Remove a list from favourites

      Requires featuresFeatures.listsFavourite.

    • updateList: (
          listId: string,
          params: CreateListParams,
      ) => Promise<
          {
              antennas: Antenna[];
              exclusive?: boolean;
              favourite?: boolean;
              id: string;
              notify?: boolean;
              replies_policy?: string;
              title: string;
          },
      >

      Update a list Change the title of a list, or which replies to show.

    media: {
        deleteMedia: (attachmentId: string) => Promise<{}>;
        getMedia: (
            attachmentId: string,
        ) => Promise<
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                meta: {
                    focus?: { x: number; y: number };
                    original?: {
                        aspect: null | number;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                    small?: {
                        aspect: null
                        | number;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                };
                mime_type: null
                | string;
                preview_url: string;
                remote_url: null | string;
                type: "image";
                url: string;
            }
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                meta: {
                    duration?: number;
                    original?: {
                        aspect: null | number;
                        duration: null | number;
                        frame_rate: null | string;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                    small?: {
                        aspect: null
                        | number;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                };
                mime_type: null
                | string;
                preview_url: string;
                remote_url: null | string;
                type: "video";
                url: string;
            }
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                meta: {
                    duration?: number;
                    focus?: { x: number; y: number };
                    original?: {
                        aspect: null | number;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                };
                mime_type: null
                | string;
                preview_url: string;
                remote_url: null | string;
                type: "gifv";
                url: string;
            }
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                meta: {
                    colors?: {
                        accent?: string;
                        background?: string;
                        duration?: number;
                        foreground?: string;
                    };
                    duration?: number;
                    original?: { bitrate?: number; duration?: number };
                };
                mime_type: null
                | string;
                preview_url: string;
                remote_url: null | string;
                type: "audio";
                url: string;
            }
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                mime_type: null | string;
                preview_url: string;
                remote_url: null | string;
                type: "unknown";
                url: string;
            },
        >;
        updateMedia: (
            attachmentId: string,
            params: UpdateMediaParams,
        ) => Promise<
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                meta: {
                    focus?: { x: number; y: number };
                    original?: {
                        aspect: null | number;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                    small?: {
                        aspect: null
                        | number;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                };
                mime_type: null
                | string;
                preview_url: string;
                remote_url: null | string;
                type: "image";
                url: string;
            }
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                meta: {
                    duration?: number;
                    original?: {
                        aspect: null | number;
                        duration: null | number;
                        frame_rate: null | string;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                    small?: {
                        aspect: null
                        | number;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                };
                mime_type: null
                | string;
                preview_url: string;
                remote_url: null | string;
                type: "video";
                url: string;
            }
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                meta: {
                    duration?: number;
                    focus?: { x: number; y: number };
                    original?: {
                        aspect: null | number;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                };
                mime_type: null
                | string;
                preview_url: string;
                remote_url: null | string;
                type: "gifv";
                url: string;
            }
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                meta: {
                    colors?: {
                        accent?: string;
                        background?: string;
                        duration?: number;
                        foreground?: string;
                    };
                    duration?: number;
                    original?: { bitrate?: number; duration?: number };
                };
                mime_type: null
                | string;
                preview_url: string;
                remote_url: null | string;
                type: "audio";
                url: string;
            }
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                mime_type: null | string;
                preview_url: string;
                remote_url: null | string;
                type: "unknown";
                url: string;
            },
        >;
        uploadMedia: (
            params: UploadMediaParams,
            meta?: RequestMeta,
        ) => Promise<
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                meta: {
                    focus?: { x: number; y: number };
                    original?: {
                        aspect: null | number;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                    small?: {
                        aspect: null
                        | number;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                };
                mime_type: null
                | string;
                preview_url: string;
                remote_url: null | string;
                type: "image";
                url: string;
            }
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                meta: {
                    duration?: number;
                    original?: {
                        aspect: null | number;
                        duration: null | number;
                        frame_rate: null | string;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                    small?: {
                        aspect: null
                        | number;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                };
                mime_type: null
                | string;
                preview_url: string;
                remote_url: null | string;
                type: "video";
                url: string;
            }
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                meta: {
                    duration?: number;
                    focus?: { x: number; y: number };
                    original?: {
                        aspect: null | number;
                        height: number;
                        size: null | string;
                        width: number;
                    };
                };
                mime_type: null
                | string;
                preview_url: string;
                remote_url: null | string;
                type: "gifv";
                url: string;
            }
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                meta: {
                    colors?: {
                        accent?: string;
                        background?: string;
                        duration?: number;
                        foreground?: string;
                    };
                    duration?: number;
                    original?: { bitrate?: number; duration?: number };
                };
                mime_type: null
                | string;
                preview_url: string;
                remote_url: null | string;
                type: "audio";
                url: string;
            }
            | {
                blurhash: null
                | string;
                description: string;
                id: string;
                mime_type: null | string;
                preview_url: string;
                remote_url: null | string;
                type: "unknown";
                url: string;
            },
        >;
    } = ...

    Type declaration

    • deleteMedia: (attachmentId: string) => Promise<{}>

      Update media attachment Update a MediaAttachment’s parameters, before it is attached to a status and posted.

      Requires featuresFeatures.deleteMedia.

    • getMedia: (
          attachmentId: string,
      ) => Promise<
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              meta: {
                  focus?: { x: number; y: number };
                  original?: {
                      aspect: null | number;
                      height: number;
                      size: null | string;
                      width: number;
                  };
                  small?: {
                      aspect: null
                      | number;
                      height: number;
                      size: null | string;
                      width: number;
                  };
              };
              mime_type: null
              | string;
              preview_url: string;
              remote_url: null | string;
              type: "image";
              url: string;
          }
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              meta: {
                  duration?: number;
                  original?: {
                      aspect: null | number;
                      duration: null | number;
                      frame_rate: null | string;
                      height: number;
                      size: null | string;
                      width: number;
                  };
                  small?: {
                      aspect: null
                      | number;
                      height: number;
                      size: null | string;
                      width: number;
                  };
              };
              mime_type: null
              | string;
              preview_url: string;
              remote_url: null | string;
              type: "video";
              url: string;
          }
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              meta: {
                  duration?: number;
                  focus?: { x: number; y: number };
                  original?: {
                      aspect: null | number;
                      height: number;
                      size: null | string;
                      width: number;
                  };
              };
              mime_type: null
              | string;
              preview_url: string;
              remote_url: null | string;
              type: "gifv";
              url: string;
          }
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              meta: {
                  colors?: {
                      accent?: string;
                      background?: string;
                      duration?: number;
                      foreground?: string;
                  };
                  duration?: number;
                  original?: { bitrate?: number; duration?: number };
              };
              mime_type: null
              | string;
              preview_url: string;
              remote_url: null | string;
              type: "audio";
              url: string;
          }
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              mime_type: null | string;
              preview_url: string;
              remote_url: null | string;
              type: "unknown";
              url: string;
          },
      >

      Get media attachment Get a media attachment, before it is attached to a status and posted, but after it is accepted for processing. Use this method to check that the full-sized media has finished processing.

    • updateMedia: (
          attachmentId: string,
          params: UpdateMediaParams,
      ) => Promise<
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              meta: {
                  focus?: { x: number; y: number };
                  original?: {
                      aspect: null | number;
                      height: number;
                      size: null | string;
                      width: number;
                  };
                  small?: {
                      aspect: null
                      | number;
                      height: number;
                      size: null | string;
                      width: number;
                  };
              };
              mime_type: null
              | string;
              preview_url: string;
              remote_url: null | string;
              type: "image";
              url: string;
          }
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              meta: {
                  duration?: number;
                  original?: {
                      aspect: null | number;
                      duration: null | number;
                      frame_rate: null | string;
                      height: number;
                      size: null | string;
                      width: number;
                  };
                  small?: {
                      aspect: null
                      | number;
                      height: number;
                      size: null | string;
                      width: number;
                  };
              };
              mime_type: null
              | string;
              preview_url: string;
              remote_url: null | string;
              type: "video";
              url: string;
          }
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              meta: {
                  duration?: number;
                  focus?: { x: number; y: number };
                  original?: {
                      aspect: null | number;
                      height: number;
                      size: null | string;
                      width: number;
                  };
              };
              mime_type: null
              | string;
              preview_url: string;
              remote_url: null | string;
              type: "gifv";
              url: string;
          }
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              meta: {
                  colors?: {
                      accent?: string;
                      background?: string;
                      duration?: number;
                      foreground?: string;
                  };
                  duration?: number;
                  original?: { bitrate?: number; duration?: number };
              };
              mime_type: null
              | string;
              preview_url: string;
              remote_url: null | string;
              type: "audio";
              url: string;
          }
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              mime_type: null | string;
              preview_url: string;
              remote_url: null | string;
              type: "unknown";
              url: string;
          },
      >

      Update media attachment Update a MediaAttachment’s parameters, before it is attached to a status and posted.

    • uploadMedia: (
          params: UploadMediaParams,
          meta?: RequestMeta,
      ) => Promise<
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              meta: {
                  focus?: { x: number; y: number };
                  original?: {
                      aspect: null | number;
                      height: number;
                      size: null | string;
                      width: number;
                  };
                  small?: {
                      aspect: null
                      | number;
                      height: number;
                      size: null | string;
                      width: number;
                  };
              };
              mime_type: null
              | string;
              preview_url: string;
              remote_url: null | string;
              type: "image";
              url: string;
          }
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              meta: {
                  duration?: number;
                  original?: {
                      aspect: null | number;
                      duration: null | number;
                      frame_rate: null | string;
                      height: number;
                      size: null | string;
                      width: number;
                  };
                  small?: {
                      aspect: null
                      | number;
                      height: number;
                      size: null | string;
                      width: number;
                  };
              };
              mime_type: null
              | string;
              preview_url: string;
              remote_url: null | string;
              type: "video";
              url: string;
          }
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              meta: {
                  duration?: number;
                  focus?: { x: number; y: number };
                  original?: {
                      aspect: null | number;
                      height: number;
                      size: null | string;
                      width: number;
                  };
              };
              mime_type: null
              | string;
              preview_url: string;
              remote_url: null | string;
              type: "gifv";
              url: string;
          }
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              meta: {
                  colors?: {
                      accent?: string;
                      background?: string;
                      duration?: number;
                      foreground?: string;
                  };
                  duration?: number;
                  original?: { bitrate?: number; duration?: number };
              };
              mime_type: null
              | string;
              preview_url: string;
              remote_url: null | string;
              type: "audio";
              url: string;
          }
          | {
              blurhash: null
              | string;
              description: string;
              id: string;
              mime_type: null | string;
              preview_url: string;
              remote_url: null | string;
              type: "unknown";
              url: string;
          },
      >

      Upload media as an attachment Creates a media attachment to be used with a new status. The full sized media will be processed asynchronously in the background for large uploads.

    myAccount: {
        acceptFollowRequest: (
            accountId: string,
        ) => Promise<
            {
                blocked_by: boolean;
                blocking: boolean;
                domain_blocking: boolean;
                endorsed: boolean;
                followed_by: boolean;
                following: boolean;
                id: string;
                muting: boolean;
                muting_notifications: boolean;
                note: string;
                notifying: boolean;
                requested: boolean;
                showing_reblogs: boolean;
            },
        >;
        addBookmarkToFolder: (statusId: string, folderId: string) => Promise<{}>;
        createBookmarkFolder: (
            params: CreateBookmarkFolderParams,
        ) => Promise<
            {
                emoji: null
                | string;
                emoji_url: null | string;
                id: string;
                name: string;
            },
        >;
        deleteBookmarkFolder: (
            bookmarkFolderId: string,
        ) => Promise<
            {
                emoji: null
                | string;
                emoji_url: null | string;
                id: string;
                name: string;
            },
        >;
        dismissSuggestions: (accountId: string) => Promise<{}>;
        featureTag: (
            name: string,
        ) => Promise<
            {
                id: string;
                last_status_at: number;
                name: string;
                statuses_count: number;
                url?: string;
            }[],
        >;
        followTag: (
            tagId: string,
        ) => Promise<
            {
                following?: boolean;
                history: null
                | { accounts: number; day: number; uses: number }[];
                name: string;
                total: null | number;
                url: string;
            },
        >;
        getBookmarkFolders: () => Promise<
            {
                emoji: null
                | string;
                emoji_url: null | string;
                id: string;
                name: string;
            }[],
        >;
        getBookmarks: (
            params?: GetBookmarksParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        getEndorsements: (
            params?: GetEndorsementsParams,
        ) => Promise<PaginatedResponse<Account, true>>;
        getFavourites: (
            params?: PaginationParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        getFeaturedTags: () => Promise<
            {
                id: string;
                last_status_at: number;
                name: string;
                statuses_count: number;
                url?: string;
            }[],
        >;
        getFeaturedTagsSuggestions: () => Promise<
            {
                following?: boolean;
                history: null
                | { accounts: number; day: number; uses: number }[];
                name: string;
                total: null | number;
                url: string;
            }[],
        >;
        getFollowedTags: (
            params?: PaginationParams,
        ) => Promise<
            PaginatedResponse<
                {
                    following?: boolean;
                    history: null
                    | { accounts: number; day: number; uses: number }[];
                    name: string;
                    total: null | number;
                    url: string;
                },
                true,
            >,
        >;
        getFollowRequests: (
            params?: GetFollowRequestsParams,
        ) => Promise<PaginatedResponse<Account, true>>;
        getOutgoingFollowRequests: (
            params?: GetFollowRequestsParams,
        ) => Promise<PaginatedResponse<Account, true>>;
        getSuggestions: (
            limit?: number,
        ) => Promise<
            {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                source: null
                | string;
                sources: string[];
            }[],
        >;
        getTag: (
            tagId: string,
        ) => Promise<
            {
                following?: boolean;
                history: null
                | { accounts: number; day: number; uses: number }[];
                name: string;
                total: null | number;
                url: string;
            },
        >;
        rejectFollowRequest: (
            accountId: string,
        ) => Promise<
            {
                blocked_by: boolean;
                blocking: boolean;
                domain_blocking: boolean;
                endorsed: boolean;
                followed_by: boolean;
                following: boolean;
                id: string;
                muting: boolean;
                muting_notifications: boolean;
                note: string;
                notifying: boolean;
                requested: boolean;
                showing_reblogs: boolean;
            },
        >;
        removeBookmarkFromFolder: (
            statusId: string,
            folderId: string,
        ) => Promise<{}>;
        unfeatureTag: (name: string) => Promise<{}>;
        unfollowTag: (
            tagId: string,
        ) => Promise<
            {
                following?: boolean;
                history: null
                | { accounts: number; day: number; uses: number }[];
                name: string;
                total: null | number;
                url: string;
            },
        >;
        updateBookmarkFolder: (
            bookmarkFolderId: string,
            params: UpdateBookmarkFolderParams,
        ) => Promise<
            {
                emoji: null
                | string;
                emoji_url: null | string;
                id: string;
                name: string;
            },
        >;
    } = ...

    Type declaration

    • acceptFollowRequest: (
          accountId: string,
      ) => Promise<
          {
              blocked_by: boolean;
              blocking: boolean;
              domain_blocking: boolean;
              endorsed: boolean;
              followed_by: boolean;
              following: boolean;
              id: string;
              muting: boolean;
              muting_notifications: boolean;
              note: string;
              notifying: boolean;
              requested: boolean;
              showing_reblogs: boolean;
          },
      >

      Accept follow request

    • addBookmarkToFolder: (statusId: string, folderId: string) => Promise<{}>
    • createBookmarkFolder: (
          params: CreateBookmarkFolderParams,
      ) => Promise<
          {
              emoji: null
              | string;
              emoji_url: null | string;
              id: string;
              name: string;
          },
      >

      Creates a bookmark folder

      Requires featuresFeatures.bookmarkFolders. Specifying folder emoji requires featuresFeatures.bookmarkFolderEmojis.

    • deleteBookmarkFolder: (
          bookmarkFolderId: string,
      ) => Promise<
          {
              emoji: null
              | string;
              emoji_url: null | string;
              id: string;
              name: string;
          },
      >

      Deletes a bookmark folder

      Requires featuresFeatures.bookmarkFolders.

    • dismissSuggestions: (accountId: string) => Promise<{}>

      Remove a suggestion Remove an account from follow suggestions.

      Requires featuresFeatures.suggestionsDismiss.

    • featureTag: (
          name: string,
      ) => Promise<
          {
              id: string;
              last_status_at: number;
              name: string;
              statuses_count: number;
              url?: string;
          }[],
      >

      Feature a tag Promote a hashtag on your profile.

      Requires featuresFeatures.featuredTags.

    • followTag: (
          tagId: string,
      ) => Promise<
          {
              following?: boolean;
              history: null
              | { accounts: number; day: number; uses: number }[];
              name: string;
              total: null | number;
              url: string;
          },
      >

      Follow a hashtag Follow a hashtag. Posts containing a followed hashtag will be inserted into your home timeline.

    • getBookmarkFolders: () => Promise<
          {
              emoji: null
              | string;
              emoji_url: null | string;
              id: string;
              name: string;
          }[],
      >

      Gets user bookmark folders

      Requires featuresFeatures.bookmarkFolders.

    • getBookmarks: (params?: GetBookmarksParams) => Promise<PaginatedResponse<Status, true>>

      View bookmarked statuses Statuses the user has bookmarked.

    • getEndorsements: (params?: GetEndorsementsParams) => Promise<PaginatedResponse<Account, true>>

      View currently featured profiles Accounts that the user is currently featuring on their profile.

    • getFavourites: (params?: PaginationParams) => Promise<PaginatedResponse<Status, true>>

      View favourited statuses Statuses the user has favourited.

    • getFeaturedTags: () => Promise<
          {
              id: string;
              last_status_at: number;
              name: string;
              statuses_count: number;
              url?: string;
          }[],
      >

      View your featured tags List all hashtags featured on your profile.

      Requires featuresFeatures.featuredTags.

    • getFeaturedTagsSuggestions: () => Promise<
          {
              following?: boolean;
              history: null
              | { accounts: number; day: number; uses: number }[];
              name: string;
              total: null | number;
              url: string;
          }[],
      >

      View suggested tags to feature Shows up to 10 recently-used tags.

      Requires featuresFeatures.featuredTags.

    • getFollowedTags: (
          params?: PaginationParams,
      ) => Promise<
          PaginatedResponse<
              {
                  following?: boolean;
                  history: null
                  | { accounts: number; day: number; uses: number }[];
                  name: string;
                  total: null | number;
                  url: string;
              },
              true,
          >,
      >

      View all followed tags List your followed hashtags.

      Requires featuresFeatures.followHashtags.

    • getFollowRequests: (params?: GetFollowRequestsParams) => Promise<PaginatedResponse<Account, true>>

      View pending follow requests

    • getOutgoingFollowRequests: (params?: GetFollowRequestsParams) => Promise<PaginatedResponse<Account, true>>

      View outgoing follow requests

      Requires featuresFeatures.outgoingFollowRequests.

    • getSuggestions: (
          limit?: number,
      ) => Promise<
          {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              source: null
              | string;
              sources: string[];
          }[],
      >

      View follow suggestions Accounts that are promoted by staff, or that the user has had past positive interactions with, but is not yet following.

      Requires featuresFeatures.suggestions.

    • getTag: (
          tagId: string,
      ) => Promise<
          {
              following?: boolean;
              history: null
              | { accounts: number; day: number; uses: number }[];
              name: string;
              total: null | number;
              url: string;
          },
      >

      View information about a single tag Show a hashtag and its associated information

    • rejectFollowRequest: (
          accountId: string,
      ) => Promise<
          {
              blocked_by: boolean;
              blocking: boolean;
              domain_blocking: boolean;
              endorsed: boolean;
              followed_by: boolean;
              following: boolean;
              id: string;
              muting: boolean;
              muting_notifications: boolean;
              note: string;
              notifying: boolean;
              requested: boolean;
              showing_reblogs: boolean;
          },
      >

      Reject follow request

    • removeBookmarkFromFolder: (statusId: string, folderId: string) => Promise<{}>
    • unfeatureTag: (name: string) => Promise<{}>

      Unfeature a tag Stop promoting a hashtag on your profile.

      Requires featuresFeatures.featuredTags.

    • unfollowTag: (
          tagId: string,
      ) => Promise<
          {
              following?: boolean;
              history: null
              | { accounts: number; day: number; uses: number }[];
              name: string;
              total: null | number;
              url: string;
          },
      >

      Unfollow a hashtag Unfollow a hashtag. Posts containing this hashtag will no longer be inserted into your home timeline.

    • updateBookmarkFolder: (
          bookmarkFolderId: string,
          params: UpdateBookmarkFolderParams,
      ) => Promise<
          {
              emoji: null
              | string;
              emoji_url: null | string;
              id: string;
              name: string;
          },
      >

      Updates a bookmark folder

      Requires featuresFeatures.bookmarkFolders. Specifying folder emoji requires featuresFeatures.bookmarkFolderEmojis.

    notifications: {
        acceptMultipleNotificationRequests: (
            notificationRequestIds: string[],
        ) => Promise<{}>;
        acceptNotificationRequest: (notificationRequestId: string) => Promise<{}>;
        checkNotificationRequestsMerged: () => Promise<{ merged: boolean }>;
        dismissMultipleNotificationRequests: (
            notificationRequestIds: string[],
        ) => Promise<{}>;
        dismissMultipleNotifications: (notificationIds: string[]) => Promise<{}>;
        dismissNotification: (notificationId: string) => Promise<{}>;
        dismissNotificationRequest: (notificationRequestId: string) => Promise<{}>;
        dismissNotifications: () => Promise<{}>;
        getNotification: (
            notificationId: string,
        ) => Promise<
            | {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                group_key: string;
                id: string;
                is_muted?: boolean;
                is_seen?: boolean;
                type: "follow"
                | "follow_request"
                | "admin.sign_up";
            }
            | {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                group_key: string;
                id: string;
                is_muted?: boolean;
                is_seen?: boolean;
                status: {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: ...; value: ...; verified_at: ... }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: ...;
                                accepts_chat_messages: ...;
                                acct: ...;
                                ap_id: ...;
                                avatar: ...;
                                avatar_description: ...;
                                avatar_static: ...;
                                background_image: ...;
                                birthday?: ...;
                                bot: ...;
                                created_at: ...;
                                custom_css: ...;
                                deactivated?: ...;
                                discoverable: ...;
                                display_name: ...;
                                domain: ...;
                                emojis: ...;
                                enable_rss: ...;
                                favicon?: ...;
                                fields: ...;
                                followers_count: ...;
                                following_count: ...;
                                fqn: ...;
                                group: ...;
                                header: ...;
                                header_description: ...;
                                header_static: ...;
                                hide_collections?: ...;
                                hide_favorites: ...;
                                hide_followers?: ...;
                                hide_followers_count?: ...;
                                hide_follows?: ...;
                                hide_follows_count?: ...;
                                id: ...;
                                identity_proofs: ...;
                                is_admin?: ...;
                                is_cat: ...;
                                is_moderator?: ...;
                                is_suggested?: ...;
                                last_status_at: ...;
                                limited?: ...;
                                local?: ...;
                                location?: ...;
                                locked: ...;
                                mention_policy: ...;
                                noindex: ...;
                                note: ...;
                                payment_options: ...;
                                permit_followback?: ...;
                                pronouns: ...;
                                relationship?: ...;
                                roles: ...;
                                speak_as_cat: ...;
                                statuses_count: ...;
                                subscribers_count: ...;
                                suspended?: ...;
                                url: ...;
                                username: ...;
                                verified?: ...;
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: ...;
                            href: ...;
                            name: ...;
                            object_id: ...;
                            price: ...;
                            type: ...;
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: ...;
                            blocking: ...;
                            domain_blocking: ...;
                            endorsed: ...;
                            followed_by: ...;
                            following: ...;
                            id: ...;
                            muting: ...;
                            muting_notifications: ...;
                            note: ...;
                            notifying: ...;
                            requested: ...;
                            showing_reblogs: ...;
                        };
                        roles: {
                            color: ...;
                            highlighted: ...;
                            id: ...;
                            name: ...;
                            permissions: ...;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    application: null
                    | { name: string; website: null | string };
                    approval_status: null | "rejected" | "pending" | "approval";
                    bookmark_folder: null | string;
                    bookmarked: boolean;
                    card:
                        | null
                        | {
                            author_name: string;
                            author_url: string;
                            authors: { account: ...; name: ...; url: ... }[];
                            blurhash: null | string;
                            description: string;
                            embed_url: string;
                            height: number;
                            html: string;
                            image: null | string;
                            image_description: string;
                            provider_name: string;
                            provider_url: string;
                            title: string;
                            type: "link" | "video" | "photo" | "rich";
                            url: string;
                            width: number;
                        };
                    content: string;
                    content_map: null
                    | { [key: string]: string };
                    content_type: null | string;
                    conversation_id?: string;
                    created_at: string;
                    direct_conversation_id?: string;
                    disliked: boolean;
                    dislikes_count: number;
                    edited_at: null | string;
                    emoji_reactions: (
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: undefined;
                            url: undefined;
                        }
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: string;
                            url: string;
                        }
                    )[];
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    event: | null
                    | {
                        end_time: null
                        | string;
                        join_mode: null | "free" | "restricted" | "invite" | "external";
                        join_state: null | "pending" | "reject" | "accept";
                        location:
                            | null
                            | {
                                country: ...;
                                latitude: ...;
                                locality: ...;
                                longitude: ...;
                                name: ...;
                                postal_code: ...;
                                region: ...;
                                street: ...;
                                url: ...;
                            };
                        name: string;
                        participants_count: number;
                        start_time: null
                        | string;
                    };
                    expires_at?: string;
                    favourited: boolean;
                    favourites_count: number;
                    filtered: {
                        filter: {
                            context: (...)[];
                            expires_at: (...) | (...);
                            filter_action: (...) | (...) | (...);
                            id: string;
                            title: string;
                        };
                        keyword_matches: null
                        | string;
                        status_matches: null | string;
                    }[];
                    group: | null
                    | {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: ... };
                        relationship:
                            | null
                            | { id: ...; member: ...; requested: ...; role: ... };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    };
                    id: string;
                    in_reply_to_account_acct?: string;
                    in_reply_to_account_id: null
                    | string;
                    in_reply_to_id: null | string;
                    interaction_policy: {
                        can_favourite: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reblog: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reply: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                    };
                    language: null
                    | string;
                    list_id: null | number;
                    local?: boolean;
                    media_attachments: (
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { focus?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "image";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "video";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; focus?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "gifv";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { colors?: ...; duration?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "audio";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "unknown";
                            url: string;
                        }
                    )[];
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    muted: boolean;
                    parent_visible?: boolean;
                    pinned: boolean;
                    pinned_at: null | string;
                    poll:
                        | null
                        | {
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            expired: boolean;
                            expires_at: null
                            | string;
                            id: string;
                            multiple: boolean;
                            non_anonymous: boolean;
                            options: { title: ...; title_map: ...; votes_count: ... }[];
                            own_votes: null | (...)[];
                            voted: boolean;
                            voters_count: number;
                            votes_count: number;
                        };
                    quote_id: null
                    | string;
                    quote_url?: string;
                    quote_visible?: boolean;
                    quotes_count: number;
                    reblogged: boolean;
                    reblogs_count: number;
                    replies_count: number;
                    rss_feed:
                        | null
                        | {
                            description: null
                            | string;
                            id: string;
                            image_url: null | string;
                            title: null | string;
                            url: string;
                        };
                    scheduled_at: null;
                    sensitive: boolean;
                    spoiler_text: string;
                    spoiler_text_map: null
                    | { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | (...)[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    text: null
                    | string;
                    text_map: null | { [key: string]: string };
                    thread_muted?: boolean;
                    translation:
                        | null
                        | false
                        | {
                            content: string;
                            detected_source_language: string;
                            id: null
                            | string;
                            media_attachments: { description: ...; id: ... }[];
                            poll?: { id: ...; options: ... };
                            provider: null | string;
                            spoiler_text: string;
                        };
                    uri: string;
                    url: string;
                    visibility: string;
                } & {
                    quote: | null
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status: null
                        | Status;
                    }
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status_id: null
                        | string;
                    };
                    reblog: null
                    | Status;
                };
                subtype: null
                | "reply";
                type: "mention";
            }
            | {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                group_key: string;
                id: string;
                is_muted?: boolean;
                is_seen?: boolean;
                status: {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: ...; value: ...; verified_at: ... }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: ...;
                                accepts_chat_messages: ...;
                                acct: ...;
                                ap_id: ...;
                                avatar: ...;
                                avatar_description: ...;
                                avatar_static: ...;
                                background_image: ...;
                                birthday?: ...;
                                bot: ...;
                                created_at: ...;
                                custom_css: ...;
                                deactivated?: ...;
                                discoverable: ...;
                                display_name: ...;
                                domain: ...;
                                emojis: ...;
                                enable_rss: ...;
                                favicon?: ...;
                                fields: ...;
                                followers_count: ...;
                                following_count: ...;
                                fqn: ...;
                                group: ...;
                                header: ...;
                                header_description: ...;
                                header_static: ...;
                                hide_collections?: ...;
                                hide_favorites: ...;
                                hide_followers?: ...;
                                hide_followers_count?: ...;
                                hide_follows?: ...;
                                hide_follows_count?: ...;
                                id: ...;
                                identity_proofs: ...;
                                is_admin?: ...;
                                is_cat: ...;
                                is_moderator?: ...;
                                is_suggested?: ...;
                                last_status_at: ...;
                                limited?: ...;
                                local?: ...;
                                location?: ...;
                                locked: ...;
                                mention_policy: ...;
                                noindex: ...;
                                note: ...;
                                payment_options: ...;
                                permit_followback?: ...;
                                pronouns: ...;
                                relationship?: ...;
                                roles: ...;
                                speak_as_cat: ...;
                                statuses_count: ...;
                                subscribers_count: ...;
                                suspended?: ...;
                                url: ...;
                                username: ...;
                                verified?: ...;
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: ...;
                            href: ...;
                            name: ...;
                            object_id: ...;
                            price: ...;
                            type: ...;
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: ...;
                            blocking: ...;
                            domain_blocking: ...;
                            endorsed: ...;
                            followed_by: ...;
                            following: ...;
                            id: ...;
                            muting: ...;
                            muting_notifications: ...;
                            note: ...;
                            notifying: ...;
                            requested: ...;
                            showing_reblogs: ...;
                        };
                        roles: {
                            color: ...;
                            highlighted: ...;
                            id: ...;
                            name: ...;
                            permissions: ...;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    application: null
                    | { name: string; website: null | string };
                    approval_status: null | "rejected" | "pending" | "approval";
                    bookmark_folder: null | string;
                    bookmarked: boolean;
                    card:
                        | null
                        | {
                            author_name: string;
                            author_url: string;
                            authors: { account: ...; name: ...; url: ... }[];
                            blurhash: null | string;
                            description: string;
                            embed_url: string;
                            height: number;
                            html: string;
                            image: null | string;
                            image_description: string;
                            provider_name: string;
                            provider_url: string;
                            title: string;
                            type: "link" | "video" | "photo" | "rich";
                            url: string;
                            width: number;
                        };
                    content: string;
                    content_map: null
                    | { [key: string]: string };
                    content_type: null | string;
                    conversation_id?: string;
                    created_at: string;
                    direct_conversation_id?: string;
                    disliked: boolean;
                    dislikes_count: number;
                    edited_at: null | string;
                    emoji_reactions: (
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: undefined;
                            url: undefined;
                        }
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: string;
                            url: string;
                        }
                    )[];
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    event: | null
                    | {
                        end_time: null
                        | string;
                        join_mode: null | "free" | "restricted" | "invite" | "external";
                        join_state: null | "pending" | "reject" | "accept";
                        location:
                            | null
                            | {
                                country: ...;
                                latitude: ...;
                                locality: ...;
                                longitude: ...;
                                name: ...;
                                postal_code: ...;
                                region: ...;
                                street: ...;
                                url: ...;
                            };
                        name: string;
                        participants_count: number;
                        start_time: null
                        | string;
                    };
                    expires_at?: string;
                    favourited: boolean;
                    favourites_count: number;
                    filtered: {
                        filter: {
                            context: (...)[];
                            expires_at: (...) | (...);
                            filter_action: (...) | (...) | (...);
                            id: string;
                            title: string;
                        };
                        keyword_matches: null
                        | string;
                        status_matches: null | string;
                    }[];
                    group: | null
                    | {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: ... };
                        relationship:
                            | null
                            | { id: ...; member: ...; requested: ...; role: ... };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    };
                    id: string;
                    in_reply_to_account_acct?: string;
                    in_reply_to_account_id: null
                    | string;
                    in_reply_to_id: null | string;
                    interaction_policy: {
                        can_favourite: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reblog: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reply: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                    };
                    language: null
                    | string;
                    list_id: null | number;
                    local?: boolean;
                    media_attachments: (
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { focus?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "image";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "video";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; focus?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "gifv";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { colors?: ...; duration?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "audio";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "unknown";
                            url: string;
                        }
                    )[];
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    muted: boolean;
                    parent_visible?: boolean;
                    pinned: boolean;
                    pinned_at: null | string;
                    poll:
                        | null
                        | {
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            expired: boolean;
                            expires_at: null
                            | string;
                            id: string;
                            multiple: boolean;
                            non_anonymous: boolean;
                            options: { title: ...; title_map: ...; votes_count: ... }[];
                            own_votes: null | (...)[];
                            voted: boolean;
                            voters_count: number;
                            votes_count: number;
                        };
                    quote_id: null
                    | string;
                    quote_url?: string;
                    quote_visible?: boolean;
                    quotes_count: number;
                    reblogged: boolean;
                    reblogs_count: number;
                    replies_count: number;
                    rss_feed:
                        | null
                        | {
                            description: null
                            | string;
                            id: string;
                            image_url: null | string;
                            title: null | string;
                            url: string;
                        };
                    scheduled_at: null;
                    sensitive: boolean;
                    spoiler_text: string;
                    spoiler_text_map: null
                    | { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | (...)[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    text: null
                    | string;
                    text_map: null | { [key: string]: string };
                    thread_muted?: boolean;
                    translation:
                        | null
                        | false
                        | {
                            content: string;
                            detected_source_language: string;
                            id: null
                            | string;
                            media_attachments: { description: ...; id: ... }[];
                            poll?: { id: ...; options: ... };
                            provider: null | string;
                            spoiler_text: string;
                        };
                    uri: string;
                    url: string;
                    visibility: string;
                } & {
                    quote: | null
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status: null
                        | Status;
                    }
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status_id: null
                        | string;
                    };
                    reblog: null
                    | Status;
                };
                type: | "status"
                | "poll"
                | "reblog"
                | "favourite"
                | "update"
                | "event_reminder";
            }
            | {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                group_key: string;
                id: string;
                is_muted?: boolean;
                is_seen?: boolean;
                report: {
                    action_taken?: boolean;
                    action_taken_at: null
                    | string;
                    category?: string;
                    comment?: string;
                    created_at?: string;
                    forwarded?: boolean;
                    id: string;
                    rule_ids: null | string;
                    status_ids: null | string;
                    target_account: null | Account;
                };
                type: "admin.report";
            }
            | {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                event: {
                    created_at: string;
                    id: string;
                    purged: string;
                    relationships_count?: number;
                    type: "domain_block"
                    | "user_domain_block"
                    | "account_suspension";
                };
                group_key: string;
                id: string;
                is_muted?: boolean;
                is_seen?: boolean;
                type: "severed_relationships";
            }
            | {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                group_key: string;
                id: string;
                is_muted?: boolean;
                is_seen?: boolean;
                moderation_warning: {
                    action: | "none"
                    | "sensitive"
                    | "disable"
                    | "mark_statuses_as_sensitive"
                    | "delete_statuses"
                    | "silence"
                    | "suspend";
                    appeal: | null
                    | { state: "approved"
                    | "rejected"
                    | "pending"; text: string };
                    created_at: string;
                    id: string;
                    status_ids: string[];
                    target_account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    text: string;
                };
                type: "moderation_warning";
            }
            | {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                group_key: string;
                id: string;
                is_muted?: boolean;
                is_seen?: boolean;
                target: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                type: "move";
            }
            | {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                emoji: string;
                emoji_url: null
                | string;
                group_key: string;
                id: string;
                is_muted?: boolean;
                is_seen?: boolean;
                status: {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: ...; value: ...; verified_at: ... }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: ...;
                                accepts_chat_messages: ...;
                                acct: ...;
                                ap_id: ...;
                                avatar: ...;
                                avatar_description: ...;
                                avatar_static: ...;
                                background_image: ...;
                                birthday?: ...;
                                bot: ...;
                                created_at: ...;
                                custom_css: ...;
                                deactivated?: ...;
                                discoverable: ...;
                                display_name: ...;
                                domain: ...;
                                emojis: ...;
                                enable_rss: ...;
                                favicon?: ...;
                                fields: ...;
                                followers_count: ...;
                                following_count: ...;
                                fqn: ...;
                                group: ...;
                                header: ...;
                                header_description: ...;
                                header_static: ...;
                                hide_collections?: ...;
                                hide_favorites: ...;
                                hide_followers?: ...;
                                hide_followers_count?: ...;
                                hide_follows?: ...;
                                hide_follows_count?: ...;
                                id: ...;
                                identity_proofs: ...;
                                is_admin?: ...;
                                is_cat: ...;
                                is_moderator?: ...;
                                is_suggested?: ...;
                                last_status_at: ...;
                                limited?: ...;
                                local?: ...;
                                location?: ...;
                                locked: ...;
                                mention_policy: ...;
                                noindex: ...;
                                note: ...;
                                payment_options: ...;
                                permit_followback?: ...;
                                pronouns: ...;
                                relationship?: ...;
                                roles: ...;
                                speak_as_cat: ...;
                                statuses_count: ...;
                                subscribers_count: ...;
                                suspended?: ...;
                                url: ...;
                                username: ...;
                                verified?: ...;
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: ...;
                            href: ...;
                            name: ...;
                            object_id: ...;
                            price: ...;
                            type: ...;
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: ...;
                            blocking: ...;
                            domain_blocking: ...;
                            endorsed: ...;
                            followed_by: ...;
                            following: ...;
                            id: ...;
                            muting: ...;
                            muting_notifications: ...;
                            note: ...;
                            notifying: ...;
                            requested: ...;
                            showing_reblogs: ...;
                        };
                        roles: {
                            color: ...;
                            highlighted: ...;
                            id: ...;
                            name: ...;
                            permissions: ...;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    application: null
                    | { name: string; website: null | string };
                    approval_status: null | "rejected" | "pending" | "approval";
                    bookmark_folder: null | string;
                    bookmarked: boolean;
                    card:
                        | null
                        | {
                            author_name: string;
                            author_url: string;
                            authors: { account: ...; name: ...; url: ... }[];
                            blurhash: null | string;
                            description: string;
                            embed_url: string;
                            height: number;
                            html: string;
                            image: null | string;
                            image_description: string;
                            provider_name: string;
                            provider_url: string;
                            title: string;
                            type: "link" | "video" | "photo" | "rich";
                            url: string;
                            width: number;
                        };
                    content: string;
                    content_map: null
                    | { [key: string]: string };
                    content_type: null | string;
                    conversation_id?: string;
                    created_at: string;
                    direct_conversation_id?: string;
                    disliked: boolean;
                    dislikes_count: number;
                    edited_at: null | string;
                    emoji_reactions: (
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: undefined;
                            url: undefined;
                        }
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: string;
                            url: string;
                        }
                    )[];
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    event: | null
                    | {
                        end_time: null
                        | string;
                        join_mode: null | "free" | "restricted" | "invite" | "external";
                        join_state: null | "pending" | "reject" | "accept";
                        location:
                            | null
                            | {
                                country: ...;
                                latitude: ...;
                                locality: ...;
                                longitude: ...;
                                name: ...;
                                postal_code: ...;
                                region: ...;
                                street: ...;
                                url: ...;
                            };
                        name: string;
                        participants_count: number;
                        start_time: null
                        | string;
                    };
                    expires_at?: string;
                    favourited: boolean;
                    favourites_count: number;
                    filtered: {
                        filter: {
                            context: (...)[];
                            expires_at: (...) | (...);
                            filter_action: (...) | (...) | (...);
                            id: string;
                            title: string;
                        };
                        keyword_matches: null
                        | string;
                        status_matches: null | string;
                    }[];
                    group: | null
                    | {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: ... };
                        relationship:
                            | null
                            | { id: ...; member: ...; requested: ...; role: ... };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    };
                    id: string;
                    in_reply_to_account_acct?: string;
                    in_reply_to_account_id: null
                    | string;
                    in_reply_to_id: null | string;
                    interaction_policy: {
                        can_favourite: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reblog: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reply: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                    };
                    language: null
                    | string;
                    list_id: null | number;
                    local?: boolean;
                    media_attachments: (
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { focus?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "image";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "video";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; focus?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "gifv";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { colors?: ...; duration?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "audio";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "unknown";
                            url: string;
                        }
                    )[];
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    muted: boolean;
                    parent_visible?: boolean;
                    pinned: boolean;
                    pinned_at: null | string;
                    poll:
                        | null
                        | {
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            expired: boolean;
                            expires_at: null
                            | string;
                            id: string;
                            multiple: boolean;
                            non_anonymous: boolean;
                            options: { title: ...; title_map: ...; votes_count: ... }[];
                            own_votes: null | (...)[];
                            voted: boolean;
                            voters_count: number;
                            votes_count: number;
                        };
                    quote_id: null
                    | string;
                    quote_url?: string;
                    quote_visible?: boolean;
                    quotes_count: number;
                    reblogged: boolean;
                    reblogs_count: number;
                    replies_count: number;
                    rss_feed:
                        | null
                        | {
                            description: null
                            | string;
                            id: string;
                            image_url: null | string;
                            title: null | string;
                            url: string;
                        };
                    scheduled_at: null;
                    sensitive: boolean;
                    spoiler_text: string;
                    spoiler_text_map: null
                    | { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | (...)[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    text: null
                    | string;
                    text_map: null | { [key: string]: string };
                    thread_muted?: boolean;
                    translation:
                        | null
                        | false
                        | {
                            content: string;
                            detected_source_language: string;
                            id: null
                            | string;
                            media_attachments: { description: ...; id: ... }[];
                            poll?: { id: ...; options: ... };
                            provider: null | string;
                            spoiler_text: string;
                        };
                    uri: string;
                    url: string;
                    visibility: string;
                } & {
                    quote: | null
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status: null
                        | Status;
                    }
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status_id: null
                        | string;
                    };
                    reblog: null
                    | Status;
                };
                type: "emoji_reaction";
            }
            | {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                chat_message: {
                    account_id: string;
                    attachment: | null
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "image";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            original?: {
                                aspect: ...;
                                duration: ...;
                                frame_rate: ...;
                                height: ...;
                                size: ...;
                                width: ...;
                            };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "video";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "gifv";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            colors?: {
                                accent?: ...;
                                background?: ...;
                                duration?: ...;
                                foreground?: ...;
                            };
                            duration?: number;
                            original?: { bitrate?: ...; duration?: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "audio";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        mime_type: null | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "unknown";
                        url: string;
                    };
                    card: | null
                    | {
                        author_name: string;
                        author_url: string;
                        authors: { account: (...)
                        | (...); name: string; url: string }[];
                        blurhash: null | string;
                        description: string;
                        embed_url: string;
                        height: number;
                        html: string;
                        image: null | string;
                        image_description: string;
                        provider_name: string;
                        provider_url: string;
                        title: string;
                        type: "link" | "video" | "photo" | "rich";
                        url: string;
                        width: number;
                    };
                    chat_id: string;
                    content: string;
                    created_at: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    id: string;
                    unread: boolean;
                };
                created_at: string;
                group_key: string;
                id: string;
                is_muted?: boolean;
                is_seen?: boolean;
                type: "chat_mention";
            }
            | {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                group_key: string;
                id: string;
                is_muted?: boolean;
                is_seen?: boolean;
                participation_message: null
                | string;
                status: {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: ...; value: ...; verified_at: ... }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: ...;
                                accepts_chat_messages: ...;
                                acct: ...;
                                ap_id: ...;
                                avatar: ...;
                                avatar_description: ...;
                                avatar_static: ...;
                                background_image: ...;
                                birthday?: ...;
                                bot: ...;
                                created_at: ...;
                                custom_css: ...;
                                deactivated?: ...;
                                discoverable: ...;
                                display_name: ...;
                                domain: ...;
                                emojis: ...;
                                enable_rss: ...;
                                favicon?: ...;
                                fields: ...;
                                followers_count: ...;
                                following_count: ...;
                                fqn: ...;
                                group: ...;
                                header: ...;
                                header_description: ...;
                                header_static: ...;
                                hide_collections?: ...;
                                hide_favorites: ...;
                                hide_followers?: ...;
                                hide_followers_count?: ...;
                                hide_follows?: ...;
                                hide_follows_count?: ...;
                                id: ...;
                                identity_proofs: ...;
                                is_admin?: ...;
                                is_cat: ...;
                                is_moderator?: ...;
                                is_suggested?: ...;
                                last_status_at: ...;
                                limited?: ...;
                                local?: ...;
                                location?: ...;
                                locked: ...;
                                mention_policy: ...;
                                noindex: ...;
                                note: ...;
                                payment_options: ...;
                                permit_followback?: ...;
                                pronouns: ...;
                                relationship?: ...;
                                roles: ...;
                                speak_as_cat: ...;
                                statuses_count: ...;
                                subscribers_count: ...;
                                suspended?: ...;
                                url: ...;
                                username: ...;
                                verified?: ...;
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: ...;
                            href: ...;
                            name: ...;
                            object_id: ...;
                            price: ...;
                            type: ...;
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: ...;
                            blocking: ...;
                            domain_blocking: ...;
                            endorsed: ...;
                            followed_by: ...;
                            following: ...;
                            id: ...;
                            muting: ...;
                            muting_notifications: ...;
                            note: ...;
                            notifying: ...;
                            requested: ...;
                            showing_reblogs: ...;
                        };
                        roles: {
                            color: ...;
                            highlighted: ...;
                            id: ...;
                            name: ...;
                            permissions: ...;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    application: null
                    | { name: string; website: null | string };
                    approval_status: null | "rejected" | "pending" | "approval";
                    bookmark_folder: null | string;
                    bookmarked: boolean;
                    card:
                        | null
                        | {
                            author_name: string;
                            author_url: string;
                            authors: { account: ...; name: ...; url: ... }[];
                            blurhash: null | string;
                            description: string;
                            embed_url: string;
                            height: number;
                            html: string;
                            image: null | string;
                            image_description: string;
                            provider_name: string;
                            provider_url: string;
                            title: string;
                            type: "link" | "video" | "photo" | "rich";
                            url: string;
                            width: number;
                        };
                    content: string;
                    content_map: null
                    | { [key: string]: string };
                    content_type: null | string;
                    conversation_id?: string;
                    created_at: string;
                    direct_conversation_id?: string;
                    disliked: boolean;
                    dislikes_count: number;
                    edited_at: null | string;
                    emoji_reactions: (
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: undefined;
                            url: undefined;
                        }
                        | {
                            account_ids: (...)[];
                            accounts: (...)[];
                            count: (...) | (...);
                            me: boolean;
                            name: string;
                            static_url: string;
                            url: string;
                        }
                    )[];
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    event: | null
                    | {
                        end_time: null
                        | string;
                        join_mode: null | "free" | "restricted" | "invite" | "external";
                        join_state: null | "pending" | "reject" | "accept";
                        location:
                            | null
                            | {
                                country: ...;
                                latitude: ...;
                                locality: ...;
                                longitude: ...;
                                name: ...;
                                postal_code: ...;
                                region: ...;
                                street: ...;
                                url: ...;
                            };
                        name: string;
                        participants_count: number;
                        start_time: null
                        | string;
                    };
                    expires_at?: string;
                    favourited: boolean;
                    favourites_count: number;
                    filtered: {
                        filter: {
                            context: (...)[];
                            expires_at: (...) | (...);
                            filter_action: (...) | (...) | (...);
                            id: string;
                            title: string;
                        };
                        keyword_matches: null
                        | string;
                        status_matches: null | string;
                    }[];
                    group: | null
                    | {
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        created_at: string;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: ...;
                            shortcode: ...;
                            static_url: ...;
                            url: ...;
                            visible_in_picker: ...;
                        }[];
                        header: string;
                        header_description: string;
                        header_static: string;
                        id: string;
                        locked: boolean;
                        members_count: number;
                        membership_required: boolean;
                        note: string;
                        owner: null
                        | { id: ... };
                        relationship:
                            | null
                            | { id: ...; member: ...; requested: ...; role: ... };
                        statuses_visibility: string;
                        uri: string;
                        url: string;
                    };
                    id: string;
                    in_reply_to_account_acct?: string;
                    in_reply_to_account_id: null
                    | string;
                    in_reply_to_id: null | string;
                    interaction_policy: {
                        can_favourite: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reblog: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                        can_reply: {
                            always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                            with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                        };
                    };
                    language: null
                    | string;
                    list_id: null | number;
                    local?: boolean;
                    media_attachments: (
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { focus?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "image";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; original?: ...; small?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "video";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { duration?: ...; focus?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "gifv";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            meta: { colors?: ...; duration?: ...; original?: ... };
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "audio";
                            url: string;
                        }
                        | {
                            blurhash: (...)
                            | (...);
                            description: string;
                            id: string;
                            mime_type: (...) | (...);
                            preview_url: string;
                            remote_url: (...) | (...);
                            type: "unknown";
                            url: string;
                        }
                    )[];
                    mentions: { acct: string; id: string; url: string; username: string }[];
                    muted: boolean;
                    parent_visible?: boolean;
                    pinned: boolean;
                    pinned_at: null | string;
                    poll:
                        | null
                        | {
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            expired: boolean;
                            expires_at: null
                            | string;
                            id: string;
                            multiple: boolean;
                            non_anonymous: boolean;
                            options: { title: ...; title_map: ...; votes_count: ... }[];
                            own_votes: null | (...)[];
                            voted: boolean;
                            voters_count: number;
                            votes_count: number;
                        };
                    quote_id: null
                    | string;
                    quote_url?: string;
                    quote_visible?: boolean;
                    quotes_count: number;
                    reblogged: boolean;
                    reblogs_count: number;
                    replies_count: number;
                    rss_feed:
                        | null
                        | {
                            description: null
                            | string;
                            id: string;
                            image_url: null | string;
                            title: null | string;
                            url: string;
                        };
                    scheduled_at: null;
                    sensitive: boolean;
                    spoiler_text: string;
                    spoiler_text_map: null
                    | { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: null | (...)[];
                        name: string;
                        total: null | number;
                        url: string;
                    }[];
                    text: null
                    | string;
                    text_map: null | { [key: string]: string };
                    thread_muted?: boolean;
                    translation:
                        | null
                        | false
                        | {
                            content: string;
                            detected_source_language: string;
                            id: null
                            | string;
                            media_attachments: { description: ...; id: ... }[];
                            poll?: { id: ...; options: ... };
                            provider: null | string;
                            spoiler_text: string;
                        };
                    uri: string;
                    url: string;
                    visibility: string;
                } & {
                    quote: | null
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status: null
                        | Status;
                    }
                    | {
                        state: | "rejected"
                        | "pending"
                        | "accepted"
                        | "revoked"
                        | "deleted"
                        | "unauthorized";
                        status_id: null
                        | string;
                    };
                    reblog: null
                    | Status;
                };
                type: "participation_accepted"
                | "participation_request";
            }
            | {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                group_key: string;
                id: string;
                is_muted?: boolean;
                is_seen?: boolean;
                status: null
                | Status;
                type: "bite";
            },
        >;
        getNotificationPolicy: () => Promise<
            {
                for_limited_accounts: "filter"
                | "accept"
                | "drop";
                for_new_accounts: "filter" | "accept" | "drop";
                for_not_followers: "filter" | "accept" | "drop";
                for_not_following: "filter" | "accept" | "drop";
                for_private_mentions: "filter" | "accept" | "drop";
                summary: {
                    pending_notifications_count: number;
                    pending_requests_count: number;
                };
            },
        >;
        getNotificationRequest: (
            notificationRequestId: string,
        ) => Promise<
            {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: (...) | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: string; value: string; verified_at: (...)
                            | (...) }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: string; value: string; verified_at: string }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: (...) | (...);
                                href: (...) | (...);
                                name: (...) | (...);
                                object_id: (...) | (...);
                                price: (...) | (...);
                                type: (...) | (...);
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: boolean;
                                blocking: boolean;
                                domain_blocking: boolean;
                                endorsed: boolean;
                                followed_by: boolean;
                                following: boolean;
                                id: string;
                                muting: boolean;
                                muting_notifications: boolean;
                                note: string;
                                notifying: boolean;
                                requested: boolean;
                                showing_reblogs: boolean;
                            };
                            roles: {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                created_at: string;
                id: string;
                last_status?: Status;
                notifications_count: string;
                updated_at: string;
            },
        >;
        getNotificationRequests: (
            params?: PaginationParams,
        ) => Promise<
            PaginatedResponse<
                {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: null | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: null
                        | string }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: any; source?: any };
                                accepts_chat_messages: null | boolean;
                                acct: string;
                                ap_id: null | string;
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: null | string;
                                birthday?: string;
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: boolean;
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                enable_rss: boolean;
                                favicon?: string;
                                fields: { name: ...; value: ...; verified_at: ... }[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: boolean;
                                hide_favorites: boolean;
                                hide_followers?: boolean;
                                hide_followers_count?: boolean;
                                hide_follows?: boolean;
                                hide_follows_count?: boolean;
                                id: string;
                                identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                                is_admin?: boolean;
                                is_cat: boolean;
                                is_moderator?: boolean;
                                is_suggested?: boolean;
                                last_status_at: null | string;
                                limited?: boolean;
                                local?: boolean;
                                location?: string;
                                locked: boolean;
                                mention_policy: "none" | "only_known" | "only_followers";
                                noindex: null | boolean;
                                note: string;
                                payment_options: {
                                    chain_id: ...;
                                    href: ...;
                                    name: ...;
                                    object_id: ...;
                                    price: ...;
                                    type: ...;
                                }[];
                                permit_followback?: boolean;
                                pronouns: string[];
                                relationship?: {
                                    blocked_by: ...;
                                    blocking: ...;
                                    domain_blocking: ...;
                                    endorsed: ...;
                                    followed_by: ...;
                                    following: ...;
                                    id: ...;
                                    muting: ...;
                                    muting_notifications: ...;
                                    note: ...;
                                    notifying: ...;
                                    requested: ...;
                                    showing_reblogs: ...;
                                };
                                roles: {
                                    color: ...;
                                    highlighted: ...;
                                    id: ...;
                                    name: ...;
                                    permissions: ...;
                                }[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: boolean;
                                url: string;
                                username: string;
                                verified?: boolean;
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: null | string;
                            href: null | string;
                            name: null | string;
                            object_id: null | string;
                            price: null | string;
                            type: "link" | "monero-subscription";
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    created_at: string;
                    id: string;
                    last_status?: Status;
                    notifications_count: string;
                    updated_at: string;
                },
                true,
            >,
        >;
        getNotifications: (
            params?: GetNotificationParams,
            meta?: RequestMeta,
        ) => Promise<
            PaginatedResponse<
                | {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    created_at: string;
                    group_key: string;
                    id: string;
                    is_muted?: boolean;
                    is_seen?: boolean;
                    type: "follow"
                    | "follow_request"
                    | "admin.sign_up";
                }
                | {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    created_at: string;
                    group_key: string;
                    id: string;
                    is_muted?: boolean;
                    is_seen?: boolean;
                    status: {
                        account: {
                            __meta: { pleroma?: ...; source?: ... };
                            accepts_chat_messages: (...) | (...) | (...);
                            acct: string;
                            ap_id: (...) | (...);
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: (...) | (...);
                            birthday?: (...) | (...);
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: (...) | (...) | (...);
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: (...)[];
                            enable_rss: boolean;
                            favicon?: (...) | (...);
                            fields: (...)[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: (...) | (...) | (...);
                            hide_favorites: boolean;
                            hide_followers?: (...) | (...) | (...);
                            hide_followers_count?: (...) | (...) | (...);
                            hide_follows?: (...) | (...) | (...);
                            hide_follows_count?: (...) | (...) | (...);
                            id: string;
                            identity_proofs: (...)[];
                            is_admin?: (...) | (...) | (...);
                            is_cat: boolean;
                            is_moderator?: (...) | (...) | (...);
                            is_suggested?: (...) | (...) | (...);
                            last_status_at: (...) | (...);
                            limited?: (...) | (...) | (...);
                            local?: (...) | (...) | (...);
                            location?: (...) | (...);
                            locked: boolean;
                            mention_policy: (...) | (...) | (...);
                            moved: (...) | (...);
                            noindex: (...) | (...) | (...);
                            note: string;
                            payment_options: (...)[];
                            permit_followback?: (...) | (...) | (...);
                            pronouns: (...)[];
                            relationship?: (...) | (...);
                            roles: (...)[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: (...) | (...) | (...);
                            url: string;
                            username: string;
                            verified?: (...) | (...) | (...);
                        } & WithMoved;
                        application: null
                        | { name: string; website: (...) | (...) };
                        approval_status: null | "rejected" | "pending" | "approval";
                        bookmark_folder: null | string;
                        bookmarked: boolean;
                        card:
                            | null
                            | {
                                author_name: string;
                                author_url: string;
                                authors: (...)[];
                                blurhash: (...) | (...);
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: (...) | (...);
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: (...) | (...) | (...) | (...);
                                url: string;
                                width: number;
                            };
                        content: string;
                        content_map: null
                        | { [key: string]: string };
                        content_type: null | string;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: null | string;
                        emoji_reactions: (
                            | {
                                account_ids: ...;
                                accounts: ...;
                                count: ...;
                                me: ...;
                                name: ...;
                                static_url: ...;
                                url: ...;
                            }
                            | {
                                account_ids: ...;
                                accounts: ...;
                                count: ...;
                                me: ...;
                                name: ...;
                                static_url: ...;
                                url: ...;
                            }
                        )[];
                        emojis: {
                            category: (...)
                            | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | null
                        | {
                            end_time: (...)
                            | (...);
                            join_mode: (...) | (...) | (...) | (...) | (...);
                            join_state: (...) | (...) | (...) | (...);
                            location: (...) | (...);
                            name: string;
                            participants_count: number;
                            start_time: (...) | (...);
                        };
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: ...;
                                expires_at: ...;
                                filter_action: ...;
                                id: ...;
                                title: ...;
                            };
                            keyword_matches: (...)
                            | (...);
                            status_matches: (...) | (...);
                        }[];
                        group: | null
                        | {
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            created_at: string;
                            display_name: string;
                            domain: string;
                            emojis: (...)[];
                            header: string;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: (...) | (...);
                            relationship: (...) | (...);
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        };
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: null
                        | string;
                        in_reply_to_id: null | string;
                        interaction_policy: {
                            can_favourite: { always: (...)[]; with_approval: (...)[] };
                            can_reblog: { always: (...)[]; with_approval: (...)[] };
                            can_reply: { always: (...)[]; with_approval: (...)[] };
                        };
                        language: null
                        | string;
                        list_id: null | number;
                        local?: boolean;
                        media_attachments: (
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                        )[];
                        mentions: { acct: string; id: string; url: string; username: string }[];
                        muted: boolean;
                        parent_visible?: boolean;
                        pinned: boolean;
                        pinned_at: null | string;
                        poll:
                            | null
                            | {
                                emojis: (...)[];
                                expired: boolean;
                                expires_at: (...) | (...);
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: (...)[];
                                own_votes: (...) | (...);
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            };
                        quote_id: null
                        | string;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | null
                            | {
                                description: (...)
                                | (...);
                                id: string;
                                image_url: (...) | (...);
                                title: (...) | (...);
                                url: string;
                            };
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: null
                        | { [key: string]: string };
                        tags: {
                            following?: (...) | (...) | (...);
                            history: (...) | (...);
                            name: string;
                            total: (...) | (...);
                            url: string;
                        }[];
                        text: null
                        | string;
                        text_map: null | { [key: string]: string };
                        thread_muted?: boolean;
                        translation:
                            | null
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: (...)
                                | (...);
                                media_attachments: (...)[];
                                poll?: (...) | (...);
                                provider: (...) | (...);
                                spoiler_text: string;
                            };
                        uri: string;
                        url: string;
                        visibility: string;
                    } & {
                        quote: | null
                        | {
                            state: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            status: (...) | (...);
                        }
                        | {
                            state: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            status_id: (...) | (...);
                        };
                        reblog: null
                        | Status;
                    };
                    subtype: null
                    | "reply";
                    type: "mention";
                }
                | {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    created_at: string;
                    group_key: string;
                    id: string;
                    is_muted?: boolean;
                    is_seen?: boolean;
                    status: {
                        account: {
                            __meta: { pleroma?: ...; source?: ... };
                            accepts_chat_messages: (...) | (...) | (...);
                            acct: string;
                            ap_id: (...) | (...);
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: (...) | (...);
                            birthday?: (...) | (...);
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: (...) | (...) | (...);
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: (...)[];
                            enable_rss: boolean;
                            favicon?: (...) | (...);
                            fields: (...)[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: (...) | (...) | (...);
                            hide_favorites: boolean;
                            hide_followers?: (...) | (...) | (...);
                            hide_followers_count?: (...) | (...) | (...);
                            hide_follows?: (...) | (...) | (...);
                            hide_follows_count?: (...) | (...) | (...);
                            id: string;
                            identity_proofs: (...)[];
                            is_admin?: (...) | (...) | (...);
                            is_cat: boolean;
                            is_moderator?: (...) | (...) | (...);
                            is_suggested?: (...) | (...) | (...);
                            last_status_at: (...) | (...);
                            limited?: (...) | (...) | (...);
                            local?: (...) | (...) | (...);
                            location?: (...) | (...);
                            locked: boolean;
                            mention_policy: (...) | (...) | (...);
                            moved: (...) | (...);
                            noindex: (...) | (...) | (...);
                            note: string;
                            payment_options: (...)[];
                            permit_followback?: (...) | (...) | (...);
                            pronouns: (...)[];
                            relationship?: (...) | (...);
                            roles: (...)[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: (...) | (...) | (...);
                            url: string;
                            username: string;
                            verified?: (...) | (...) | (...);
                        } & WithMoved;
                        application: null
                        | { name: string; website: (...) | (...) };
                        approval_status: null | "rejected" | "pending" | "approval";
                        bookmark_folder: null | string;
                        bookmarked: boolean;
                        card:
                            | null
                            | {
                                author_name: string;
                                author_url: string;
                                authors: (...)[];
                                blurhash: (...) | (...);
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: (...) | (...);
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: (...) | (...) | (...) | (...);
                                url: string;
                                width: number;
                            };
                        content: string;
                        content_map: null
                        | { [key: string]: string };
                        content_type: null | string;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: null | string;
                        emoji_reactions: (
                            | {
                                account_ids: ...;
                                accounts: ...;
                                count: ...;
                                me: ...;
                                name: ...;
                                static_url: ...;
                                url: ...;
                            }
                            | {
                                account_ids: ...;
                                accounts: ...;
                                count: ...;
                                me: ...;
                                name: ...;
                                static_url: ...;
                                url: ...;
                            }
                        )[];
                        emojis: {
                            category: (...)
                            | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | null
                        | {
                            end_time: (...)
                            | (...);
                            join_mode: (...) | (...) | (...) | (...) | (...);
                            join_state: (...) | (...) | (...) | (...);
                            location: (...) | (...);
                            name: string;
                            participants_count: number;
                            start_time: (...) | (...);
                        };
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: ...;
                                expires_at: ...;
                                filter_action: ...;
                                id: ...;
                                title: ...;
                            };
                            keyword_matches: (...)
                            | (...);
                            status_matches: (...) | (...);
                        }[];
                        group: | null
                        | {
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            created_at: string;
                            display_name: string;
                            domain: string;
                            emojis: (...)[];
                            header: string;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: (...) | (...);
                            relationship: (...) | (...);
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        };
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: null
                        | string;
                        in_reply_to_id: null | string;
                        interaction_policy: {
                            can_favourite: { always: (...)[]; with_approval: (...)[] };
                            can_reblog: { always: (...)[]; with_approval: (...)[] };
                            can_reply: { always: (...)[]; with_approval: (...)[] };
                        };
                        language: null
                        | string;
                        list_id: null | number;
                        local?: boolean;
                        media_attachments: (
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                        )[];
                        mentions: { acct: string; id: string; url: string; username: string }[];
                        muted: boolean;
                        parent_visible?: boolean;
                        pinned: boolean;
                        pinned_at: null | string;
                        poll:
                            | null
                            | {
                                emojis: (...)[];
                                expired: boolean;
                                expires_at: (...) | (...);
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: (...)[];
                                own_votes: (...) | (...);
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            };
                        quote_id: null
                        | string;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | null
                            | {
                                description: (...)
                                | (...);
                                id: string;
                                image_url: (...) | (...);
                                title: (...) | (...);
                                url: string;
                            };
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: null
                        | { [key: string]: string };
                        tags: {
                            following?: (...) | (...) | (...);
                            history: (...) | (...);
                            name: string;
                            total: (...) | (...);
                            url: string;
                        }[];
                        text: null
                        | string;
                        text_map: null | { [key: string]: string };
                        thread_muted?: boolean;
                        translation:
                            | null
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: (...)
                                | (...);
                                media_attachments: (...)[];
                                poll?: (...) | (...);
                                provider: (...) | (...);
                                spoiler_text: string;
                            };
                        uri: string;
                        url: string;
                        visibility: string;
                    } & {
                        quote: | null
                        | {
                            state: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            status: (...) | (...);
                        }
                        | {
                            state: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            status_id: (...) | (...);
                        };
                        reblog: null
                        | Status;
                    };
                    type: | "status"
                    | "poll"
                    | "reblog"
                    | "favourite"
                    | "update"
                    | "event_reminder";
                }
                | {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    created_at: string;
                    group_key: string;
                    id: string;
                    is_muted?: boolean;
                    is_seen?: boolean;
                    report: {
                        action_taken?: boolean;
                        action_taken_at: null
                        | string;
                        category?: string;
                        comment?: string;
                        created_at?: string;
                        forwarded?: boolean;
                        id: string;
                        rule_ids: null | string;
                        status_ids: null | string;
                        target_account: null | Account;
                    };
                    type: "admin.report";
                }
                | {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    created_at: string;
                    event: {
                        created_at: string;
                        id: string;
                        purged: string;
                        relationships_count?: number;
                        type: "domain_block"
                        | "user_domain_block"
                        | "account_suspension";
                    };
                    group_key: string;
                    id: string;
                    is_muted?: boolean;
                    is_seen?: boolean;
                    type: "severed_relationships";
                }
                | {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    created_at: string;
                    group_key: string;
                    id: string;
                    is_muted?: boolean;
                    is_seen?: boolean;
                    moderation_warning: {
                        action: | "none"
                        | "sensitive"
                        | "disable"
                        | "mark_statuses_as_sensitive"
                        | "delete_statuses"
                        | "silence"
                        | "suspend";
                        appeal: | null
                        | { state: "approved"
                        | "rejected"
                        | "pending"; text: string };
                        created_at: string;
                        id: string;
                        status_ids: string[];
                        target_account: {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            moved:
                                | null
                                | {
                                    __meta: ...;
                                    accepts_chat_messages: ...;
                                    acct: ...;
                                    ap_id: ...;
                                    avatar: ...;
                                    avatar_description: ...;
                                    avatar_static: ...;
                                    background_image: ...;
                                    birthday?: ...;
                                    bot: ...;
                                    created_at: ...;
                                    custom_css: ...;
                                    deactivated?: ...;
                                    discoverable: ...;
                                    display_name: ...;
                                    domain: ...;
                                    emojis: ...;
                                    enable_rss: ...;
                                    favicon?: ...;
                                    fields: ...;
                                    followers_count: ...;
                                    following_count: ...;
                                    fqn: ...;
                                    group: ...;
                                    header: ...;
                                    header_description: ...;
                                    header_static: ...;
                                    hide_collections?: ...;
                                    hide_favorites: ...;
                                    hide_followers?: ...;
                                    hide_followers_count?: ...;
                                    hide_follows?: ...;
                                    hide_follows_count?: ...;
                                    id: ...;
                                    identity_proofs: ...;
                                    is_admin?: ...;
                                    is_cat: ...;
                                    is_moderator?: ...;
                                    is_suggested?: ...;
                                    last_status_at: ...;
                                    limited?: ...;
                                    local?: ...;
                                    location?: ...;
                                    locked: ...;
                                    mention_policy: ...;
                                    noindex: ...;
                                    note: ...;
                                    payment_options: ...;
                                    permit_followback?: ...;
                                    pronouns: ...;
                                    relationship?: ...;
                                    roles: ...;
                                    speak_as_cat: ...;
                                    statuses_count: ...;
                                    subscribers_count: ...;
                                    suspended?: ...;
                                    url: ...;
                                    username: ...;
                                    verified?: ...;
                                };
                            noindex: null
                            | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        } & WithMoved;
                        text: string;
                    };
                    type: "moderation_warning";
                }
                | {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    created_at: string;
                    group_key: string;
                    id: string;
                    is_muted?: boolean;
                    is_seen?: boolean;
                    target: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    type: "move";
                }
                | {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    created_at: string;
                    emoji: string;
                    emoji_url: null
                    | string;
                    group_key: string;
                    id: string;
                    is_muted?: boolean;
                    is_seen?: boolean;
                    status: {
                        account: {
                            __meta: { pleroma?: ...; source?: ... };
                            accepts_chat_messages: (...) | (...) | (...);
                            acct: string;
                            ap_id: (...) | (...);
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: (...) | (...);
                            birthday?: (...) | (...);
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: (...) | (...) | (...);
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: (...)[];
                            enable_rss: boolean;
                            favicon?: (...) | (...);
                            fields: (...)[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: (...) | (...) | (...);
                            hide_favorites: boolean;
                            hide_followers?: (...) | (...) | (...);
                            hide_followers_count?: (...) | (...) | (...);
                            hide_follows?: (...) | (...) | (...);
                            hide_follows_count?: (...) | (...) | (...);
                            id: string;
                            identity_proofs: (...)[];
                            is_admin?: (...) | (...) | (...);
                            is_cat: boolean;
                            is_moderator?: (...) | (...) | (...);
                            is_suggested?: (...) | (...) | (...);
                            last_status_at: (...) | (...);
                            limited?: (...) | (...) | (...);
                            local?: (...) | (...) | (...);
                            location?: (...) | (...);
                            locked: boolean;
                            mention_policy: (...) | (...) | (...);
                            moved: (...) | (...);
                            noindex: (...) | (...) | (...);
                            note: string;
                            payment_options: (...)[];
                            permit_followback?: (...) | (...) | (...);
                            pronouns: (...)[];
                            relationship?: (...) | (...);
                            roles: (...)[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: (...) | (...) | (...);
                            url: string;
                            username: string;
                            verified?: (...) | (...) | (...);
                        } & WithMoved;
                        application: null
                        | { name: string; website: (...) | (...) };
                        approval_status: null | "rejected" | "pending" | "approval";
                        bookmark_folder: null | string;
                        bookmarked: boolean;
                        card:
                            | null
                            | {
                                author_name: string;
                                author_url: string;
                                authors: (...)[];
                                blurhash: (...) | (...);
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: (...) | (...);
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: (...) | (...) | (...) | (...);
                                url: string;
                                width: number;
                            };
                        content: string;
                        content_map: null
                        | { [key: string]: string };
                        content_type: null | string;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: null | string;
                        emoji_reactions: (
                            | {
                                account_ids: ...;
                                accounts: ...;
                                count: ...;
                                me: ...;
                                name: ...;
                                static_url: ...;
                                url: ...;
                            }
                            | {
                                account_ids: ...;
                                accounts: ...;
                                count: ...;
                                me: ...;
                                name: ...;
                                static_url: ...;
                                url: ...;
                            }
                        )[];
                        emojis: {
                            category: (...)
                            | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | null
                        | {
                            end_time: (...)
                            | (...);
                            join_mode: (...) | (...) | (...) | (...) | (...);
                            join_state: (...) | (...) | (...) | (...);
                            location: (...) | (...);
                            name: string;
                            participants_count: number;
                            start_time: (...) | (...);
                        };
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: ...;
                                expires_at: ...;
                                filter_action: ...;
                                id: ...;
                                title: ...;
                            };
                            keyword_matches: (...)
                            | (...);
                            status_matches: (...) | (...);
                        }[];
                        group: | null
                        | {
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            created_at: string;
                            display_name: string;
                            domain: string;
                            emojis: (...)[];
                            header: string;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: (...) | (...);
                            relationship: (...) | (...);
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        };
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: null
                        | string;
                        in_reply_to_id: null | string;
                        interaction_policy: {
                            can_favourite: { always: (...)[]; with_approval: (...)[] };
                            can_reblog: { always: (...)[]; with_approval: (...)[] };
                            can_reply: { always: (...)[]; with_approval: (...)[] };
                        };
                        language: null
                        | string;
                        list_id: null | number;
                        local?: boolean;
                        media_attachments: (
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                        )[];
                        mentions: { acct: string; id: string; url: string; username: string }[];
                        muted: boolean;
                        parent_visible?: boolean;
                        pinned: boolean;
                        pinned_at: null | string;
                        poll:
                            | null
                            | {
                                emojis: (...)[];
                                expired: boolean;
                                expires_at: (...) | (...);
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: (...)[];
                                own_votes: (...) | (...);
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            };
                        quote_id: null
                        | string;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | null
                            | {
                                description: (...)
                                | (...);
                                id: string;
                                image_url: (...) | (...);
                                title: (...) | (...);
                                url: string;
                            };
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: null
                        | { [key: string]: string };
                        tags: {
                            following?: (...) | (...) | (...);
                            history: (...) | (...);
                            name: string;
                            total: (...) | (...);
                            url: string;
                        }[];
                        text: null
                        | string;
                        text_map: null | { [key: string]: string };
                        thread_muted?: boolean;
                        translation:
                            | null
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: (...)
                                | (...);
                                media_attachments: (...)[];
                                poll?: (...) | (...);
                                provider: (...) | (...);
                                spoiler_text: string;
                            };
                        uri: string;
                        url: string;
                        visibility: string;
                    } & {
                        quote: | null
                        | {
                            state: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            status: (...) | (...);
                        }
                        | {
                            state: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            status_id: (...) | (...);
                        };
                        reblog: null
                        | Status;
                    };
                    type: "emoji_reaction";
                }
                | {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    chat_message: {
                        account_id: string;
                        attachment: | null
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            meta: {
                                focus?: (...) | (...);
                                original?: (...) | (...);
                                small?: (...) | (...);
                            };
                            mime_type: null
                            | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "image";
                            url: string;
                        }
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            meta: {
                                duration?: (...) | (...);
                                original?: (...) | (...);
                                small?: (...) | (...);
                            };
                            mime_type: null
                            | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "video";
                            url: string;
                        }
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            meta: {
                                duration?: (...) | (...);
                                focus?: (...) | (...);
                                original?: (...) | (...);
                            };
                            mime_type: null
                            | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "gifv";
                            url: string;
                        }
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            meta: {
                                colors?: (...) | (...);
                                duration?: (...) | (...);
                                original?: (...) | (...);
                            };
                            mime_type: null
                            | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "audio";
                            url: string;
                        }
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            mime_type: null | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "unknown";
                            url: string;
                        };
                        card: | null
                        | {
                            author_name: string;
                            author_url: string;
                            authors: { account: ...; name: ...; url: ... }[];
                            blurhash: null | string;
                            description: string;
                            embed_url: string;
                            height: number;
                            html: string;
                            image: null | string;
                            image_description: string;
                            provider_name: string;
                            provider_url: string;
                            title: string;
                            type: "link" | "video" | "photo" | "rich";
                            url: string;
                            width: number;
                        };
                        chat_id: string;
                        content: string;
                        created_at: string;
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        id: string;
                        unread: boolean;
                    };
                    created_at: string;
                    group_key: string;
                    id: string;
                    is_muted?: boolean;
                    is_seen?: boolean;
                    type: "chat_mention";
                }
                | {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    created_at: string;
                    group_key: string;
                    id: string;
                    is_muted?: boolean;
                    is_seen?: boolean;
                    participation_message: null
                    | string;
                    status: {
                        account: {
                            __meta: { pleroma?: ...; source?: ... };
                            accepts_chat_messages: (...) | (...) | (...);
                            acct: string;
                            ap_id: (...) | (...);
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: (...) | (...);
                            birthday?: (...) | (...);
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: (...) | (...) | (...);
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: (...)[];
                            enable_rss: boolean;
                            favicon?: (...) | (...);
                            fields: (...)[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: (...) | (...) | (...);
                            hide_favorites: boolean;
                            hide_followers?: (...) | (...) | (...);
                            hide_followers_count?: (...) | (...) | (...);
                            hide_follows?: (...) | (...) | (...);
                            hide_follows_count?: (...) | (...) | (...);
                            id: string;
                            identity_proofs: (...)[];
                            is_admin?: (...) | (...) | (...);
                            is_cat: boolean;
                            is_moderator?: (...) | (...) | (...);
                            is_suggested?: (...) | (...) | (...);
                            last_status_at: (...) | (...);
                            limited?: (...) | (...) | (...);
                            local?: (...) | (...) | (...);
                            location?: (...) | (...);
                            locked: boolean;
                            mention_policy: (...) | (...) | (...);
                            moved: (...) | (...);
                            noindex: (...) | (...) | (...);
                            note: string;
                            payment_options: (...)[];
                            permit_followback?: (...) | (...) | (...);
                            pronouns: (...)[];
                            relationship?: (...) | (...);
                            roles: (...)[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: (...) | (...) | (...);
                            url: string;
                            username: string;
                            verified?: (...) | (...) | (...);
                        } & WithMoved;
                        application: null
                        | { name: string; website: (...) | (...) };
                        approval_status: null | "rejected" | "pending" | "approval";
                        bookmark_folder: null | string;
                        bookmarked: boolean;
                        card:
                            | null
                            | {
                                author_name: string;
                                author_url: string;
                                authors: (...)[];
                                blurhash: (...) | (...);
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: (...) | (...);
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: (...) | (...) | (...) | (...);
                                url: string;
                                width: number;
                            };
                        content: string;
                        content_map: null
                        | { [key: string]: string };
                        content_type: null | string;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: null | string;
                        emoji_reactions: (
                            | {
                                account_ids: ...;
                                accounts: ...;
                                count: ...;
                                me: ...;
                                name: ...;
                                static_url: ...;
                                url: ...;
                            }
                            | {
                                account_ids: ...;
                                accounts: ...;
                                count: ...;
                                me: ...;
                                name: ...;
                                static_url: ...;
                                url: ...;
                            }
                        )[];
                        emojis: {
                            category: (...)
                            | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | null
                        | {
                            end_time: (...)
                            | (...);
                            join_mode: (...) | (...) | (...) | (...) | (...);
                            join_state: (...) | (...) | (...) | (...);
                            location: (...) | (...);
                            name: string;
                            participants_count: number;
                            start_time: (...) | (...);
                        };
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: ...;
                                expires_at: ...;
                                filter_action: ...;
                                id: ...;
                                title: ...;
                            };
                            keyword_matches: (...)
                            | (...);
                            status_matches: (...) | (...);
                        }[];
                        group: | null
                        | {
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            created_at: string;
                            display_name: string;
                            domain: string;
                            emojis: (...)[];
                            header: string;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: (...) | (...);
                            relationship: (...) | (...);
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        };
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: null
                        | string;
                        in_reply_to_id: null | string;
                        interaction_policy: {
                            can_favourite: { always: (...)[]; with_approval: (...)[] };
                            can_reblog: { always: (...)[]; with_approval: (...)[] };
                            can_reply: { always: (...)[]; with_approval: (...)[] };
                        };
                        language: null
                        | string;
                        list_id: null | number;
                        local?: boolean;
                        media_attachments: (
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                meta: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                            | {
                                blurhash: ...;
                                description: ...;
                                id: ...;
                                mime_type: ...;
                                preview_url: ...;
                                remote_url: ...;
                                type: ...;
                                url: ...;
                            }
                        )[];
                        mentions: { acct: string; id: string; url: string; username: string }[];
                        muted: boolean;
                        parent_visible?: boolean;
                        pinned: boolean;
                        pinned_at: null | string;
                        poll:
                            | null
                            | {
                                emojis: (...)[];
                                expired: boolean;
                                expires_at: (...) | (...);
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: (...)[];
                                own_votes: (...) | (...);
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            };
                        quote_id: null
                        | string;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | null
                            | {
                                description: (...)
                                | (...);
                                id: string;
                                image_url: (...) | (...);
                                title: (...) | (...);
                                url: string;
                            };
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: null
                        | { [key: string]: string };
                        tags: {
                            following?: (...) | (...) | (...);
                            history: (...) | (...);
                            name: string;
                            total: (...) | (...);
                            url: string;
                        }[];
                        text: null
                        | string;
                        text_map: null | { [key: string]: string };
                        thread_muted?: boolean;
                        translation:
                            | null
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: (...)
                                | (...);
                                media_attachments: (...)[];
                                poll?: (...) | (...);
                                provider: (...) | (...);
                                spoiler_text: string;
                            };
                        uri: string;
                        url: string;
                        visibility: string;
                    } & {
                        quote: | null
                        | {
                            state: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            status: (...) | (...);
                        }
                        | {
                            state: (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                            status_id: (...) | (...);
                        };
                        reblog: null
                        | Status;
                    };
                    type: "participation_accepted"
                    | "participation_request";
                }
                | {
                    account: {
                        __meta: { pleroma?: any; source?: any };
                        accepts_chat_messages: null | boolean;
                        acct: string;
                        ap_id: null | string;
                        avatar: string;
                        avatar_description: string;
                        avatar_static: string;
                        background_image: null | string;
                        birthday?: string;
                        bot: boolean;
                        created_at: string;
                        custom_css: string;
                        deactivated?: boolean;
                        discoverable: boolean;
                        display_name: string;
                        domain: string;
                        emojis: {
                            category: (...) | (...);
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        enable_rss: boolean;
                        favicon?: string;
                        fields: { name: string; value: string; verified_at: (...)
                        | (...) }[];
                        followers_count: number;
                        following_count: number;
                        fqn: string;
                        group: boolean;
                        header: string;
                        header_description: string;
                        header_static: string;
                        hide_collections?: boolean;
                        hide_favorites: boolean;
                        hide_followers?: boolean;
                        hide_followers_count?: boolean;
                        hide_follows?: boolean;
                        hide_follows_count?: boolean;
                        id: string;
                        identity_proofs: { name: string; value: string; verified_at: string }[];
                        is_admin?: boolean;
                        is_cat: boolean;
                        is_moderator?: boolean;
                        is_suggested?: boolean;
                        last_status_at: null | string;
                        limited?: boolean;
                        local?: boolean;
                        location?: string;
                        locked: boolean;
                        mention_policy: "none" | "only_known" | "only_followers";
                        moved:
                            | null
                            | {
                                __meta: { pleroma?: ...; source?: ... };
                                accepts_chat_messages: (...) | (...) | (...);
                                acct: string;
                                ap_id: (...) | (...);
                                avatar: string;
                                avatar_description: string;
                                avatar_static: string;
                                background_image: (...) | (...);
                                birthday?: (...) | (...);
                                bot: boolean;
                                created_at: string;
                                custom_css: string;
                                deactivated?: (...) | (...) | (...);
                                discoverable: boolean;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                enable_rss: boolean;
                                favicon?: (...) | (...);
                                fields: (...)[];
                                followers_count: number;
                                following_count: number;
                                fqn: string;
                                group: boolean;
                                header: string;
                                header_description: string;
                                header_static: string;
                                hide_collections?: (...) | (...) | (...);
                                hide_favorites: boolean;
                                hide_followers?: (...) | (...) | (...);
                                hide_followers_count?: (...) | (...) | (...);
                                hide_follows?: (...) | (...) | (...);
                                hide_follows_count?: (...) | (...) | (...);
                                id: string;
                                identity_proofs: (...)[];
                                is_admin?: (...) | (...) | (...);
                                is_cat: boolean;
                                is_moderator?: (...) | (...) | (...);
                                is_suggested?: (...) | (...) | (...);
                                last_status_at: (...) | (...);
                                limited?: (...) | (...) | (...);
                                local?: (...) | (...) | (...);
                                location?: (...) | (...);
                                locked: boolean;
                                mention_policy: (...) | (...) | (...);
                                noindex: (...) | (...) | (...);
                                note: string;
                                payment_options: (...)[];
                                permit_followback?: (...) | (...) | (...);
                                pronouns: (...)[];
                                relationship?: (...) | (...);
                                roles: (...)[];
                                speak_as_cat: boolean;
                                statuses_count: number;
                                subscribers_count: number;
                                suspended?: (...) | (...) | (...);
                                url: string;
                                username: string;
                                verified?: (...) | (...) | (...);
                            };
                        noindex: null
                        | boolean;
                        note: string;
                        payment_options: {
                            chain_id: (...) | (...);
                            href: (...) | (...);
                            name: (...) | (...);
                            object_id: (...) | (...);
                            price: (...) | (...);
                            type: (...) | (...);
                        }[];
                        permit_followback?: boolean;
                        pronouns: string[];
                        relationship?: {
                            blocked_by: boolean;
                            blocking: boolean;
                            domain_blocking: boolean;
                            endorsed: boolean;
                            followed_by: boolean;
                            following: boolean;
                            id: string;
                            muting: boolean;
                            muting_notifications: boolean;
                            note: string;
                            notifying: boolean;
                            requested: boolean;
                            showing_reblogs: boolean;
                        };
                        roles: {
                            color: string;
                            highlighted: boolean;
                            id: string;
                            name: string;
                            permissions: string;
                        }[];
                        speak_as_cat: boolean;
                        statuses_count: number;
                        subscribers_count: number;
                        suspended?: boolean;
                        url: string;
                        username: string;
                        verified?: boolean;
                    } & WithMoved;
                    created_at: string;
                    group_key: string;
                    id: string;
                    is_muted?: boolean;
                    is_seen?: boolean;
                    status: null
                    | Status;
                    type: "bite";
                },
                true,
            >,
        >;
        getUnreadNotificationCount: (
            params?: GetUnreadNotificationCountParams,
        ) => Promise<{ count: number }>;
        updateNotificationPolicy: (
            params: UpdateNotificationPolicyRequest,
        ) => Promise<
            {
                for_limited_accounts: "filter"
                | "accept"
                | "drop";
                for_new_accounts: "filter" | "accept" | "drop";
                for_not_followers: "filter" | "accept" | "drop";
                for_not_following: "filter" | "accept" | "drop";
                for_private_mentions: "filter" | "accept" | "drop";
                summary: {
                    pending_notifications_count: number;
                    pending_requests_count: number;
                };
            },
        >;
    } = ...

    Type declaration

    • acceptMultipleNotificationRequests: (notificationRequestIds: string[]) => Promise<{}>

      Accept multiple notification requests Accepts multiple notification requests, which merges the filtered notifications from those users back into the main notifications and accepts any future notification from them.

    • acceptNotificationRequest: (notificationRequestId: string) => Promise<{}>

      Accept a single notification request Accept a notification request, which merges the filtered notifications from that user back into the main notification and accepts any future notification from them.

    • checkNotificationRequestsMerged: () => Promise<{ merged: boolean }>

      Check if accepted notification requests have been merged Check whether accepted notification requests have been merged. Accepting notification requests schedules a background job to merge the filtered notifications back into the normal notification list. When that process has finished, the client should refresh the notifications list at its earliest convenience. This is communicated by the notifications_merged streaming event but can also be polled using this endpoint.

    • dismissMultipleNotificationRequests: (notificationRequestIds: string[]) => Promise<{}>

      Dismiss multiple notification requests Dismiss multiple notification requests, which hides them and prevent them from contributing to the pending notification requests count.

    • dismissMultipleNotifications: (notificationIds: string[]) => Promise<{}>

      An endpoint to delete multiple statuses by IDs.

      Requires featuresFeatures.notificationsDismissMultiple.

    • dismissNotification: (notificationId: string) => Promise<{}>

      Dismiss a single notification Dismiss a single notification from the server.

    • dismissNotificationRequest: (notificationRequestId: string) => Promise<{}>

      Dismiss a single notification request Dismiss a notification request, which hides it and prevent it from contributing to the pending notification requests count.

    • dismissNotifications: () => Promise<{}>

      Dismiss all notifications Clear all notifications from the server.

    • getNotification: (
          notificationId: string,
      ) => Promise<
          | {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              group_key: string;
              id: string;
              is_muted?: boolean;
              is_seen?: boolean;
              type: "follow"
              | "follow_request"
              | "admin.sign_up";
          }
          | {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              group_key: string;
              id: string;
              is_muted?: boolean;
              is_seen?: boolean;
              status: {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: ...;
                          shortcode: ...;
                          static_url: ...;
                          url: ...;
                          visible_in_picker: ...;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: ...; value: ...; verified_at: ... }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: ...;
                              accepts_chat_messages: ...;
                              acct: ...;
                              ap_id: ...;
                              avatar: ...;
                              avatar_description: ...;
                              avatar_static: ...;
                              background_image: ...;
                              birthday?: ...;
                              bot: ...;
                              created_at: ...;
                              custom_css: ...;
                              deactivated?: ...;
                              discoverable: ...;
                              display_name: ...;
                              domain: ...;
                              emojis: ...;
                              enable_rss: ...;
                              favicon?: ...;
                              fields: ...;
                              followers_count: ...;
                              following_count: ...;
                              fqn: ...;
                              group: ...;
                              header: ...;
                              header_description: ...;
                              header_static: ...;
                              hide_collections?: ...;
                              hide_favorites: ...;
                              hide_followers?: ...;
                              hide_followers_count?: ...;
                              hide_follows?: ...;
                              hide_follows_count?: ...;
                              id: ...;
                              identity_proofs: ...;
                              is_admin?: ...;
                              is_cat: ...;
                              is_moderator?: ...;
                              is_suggested?: ...;
                              last_status_at: ...;
                              limited?: ...;
                              local?: ...;
                              location?: ...;
                              locked: ...;
                              mention_policy: ...;
                              noindex: ...;
                              note: ...;
                              payment_options: ...;
                              permit_followback?: ...;
                              pronouns: ...;
                              relationship?: ...;
                              roles: ...;
                              speak_as_cat: ...;
                              statuses_count: ...;
                              subscribers_count: ...;
                              suspended?: ...;
                              url: ...;
                              username: ...;
                              verified?: ...;
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: ...;
                          href: ...;
                          name: ...;
                          object_id: ...;
                          price: ...;
                          type: ...;
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: ...;
                          blocking: ...;
                          domain_blocking: ...;
                          endorsed: ...;
                          followed_by: ...;
                          following: ...;
                          id: ...;
                          muting: ...;
                          muting_notifications: ...;
                          note: ...;
                          notifying: ...;
                          requested: ...;
                          showing_reblogs: ...;
                      };
                      roles: {
                          color: ...;
                          highlighted: ...;
                          id: ...;
                          name: ...;
                          permissions: ...;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  application: null
                  | { name: string; website: null | string };
                  approval_status: null | "rejected" | "pending" | "approval";
                  bookmark_folder: null | string;
                  bookmarked: boolean;
                  card:
                      | null
                      | {
                          author_name: string;
                          author_url: string;
                          authors: { account: ...; name: ...; url: ... }[];
                          blurhash: null | string;
                          description: string;
                          embed_url: string;
                          height: number;
                          html: string;
                          image: null | string;
                          image_description: string;
                          provider_name: string;
                          provider_url: string;
                          title: string;
                          type: "link" | "video" | "photo" | "rich";
                          url: string;
                          width: number;
                      };
                  content: string;
                  content_map: null
                  | { [key: string]: string };
                  content_type: null | string;
                  conversation_id?: string;
                  created_at: string;
                  direct_conversation_id?: string;
                  disliked: boolean;
                  dislikes_count: number;
                  edited_at: null | string;
                  emoji_reactions: (
                      | {
                          account_ids: (...)[];
                          accounts: (...)[];
                          count: (...) | (...);
                          me: boolean;
                          name: string;
                          static_url: undefined;
                          url: undefined;
                      }
                      | {
                          account_ids: (...)[];
                          accounts: (...)[];
                          count: (...) | (...);
                          me: boolean;
                          name: string;
                          static_url: string;
                          url: string;
                      }
                  )[];
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  event: | null
                  | {
                      end_time: null
                      | string;
                      join_mode: null | "free" | "restricted" | "invite" | "external";
                      join_state: null | "pending" | "reject" | "accept";
                      location:
                          | null
                          | {
                              country: ...;
                              latitude: ...;
                              locality: ...;
                              longitude: ...;
                              name: ...;
                              postal_code: ...;
                              region: ...;
                              street: ...;
                              url: ...;
                          };
                      name: string;
                      participants_count: number;
                      start_time: null
                      | string;
                  };
                  expires_at?: string;
                  favourited: boolean;
                  favourites_count: number;
                  filtered: {
                      filter: {
                          context: (...)[];
                          expires_at: (...) | (...);
                          filter_action: (...) | (...) | (...);
                          id: string;
                          title: string;
                      };
                      keyword_matches: null
                      | string;
                      status_matches: null | string;
                  }[];
                  group: | null
                  | {
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      created_at: string;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: ...;
                          shortcode: ...;
                          static_url: ...;
                          url: ...;
                          visible_in_picker: ...;
                      }[];
                      header: string;
                      header_description: string;
                      header_static: string;
                      id: string;
                      locked: boolean;
                      members_count: number;
                      membership_required: boolean;
                      note: string;
                      owner: null
                      | { id: ... };
                      relationship: null | { id: ...; member: ...; requested: ...; role: ... };
                      statuses_visibility: string;
                      uri: string;
                      url: string;
                  };
                  id: string;
                  in_reply_to_account_acct?: string;
                  in_reply_to_account_id: null
                  | string;
                  in_reply_to_id: null | string;
                  interaction_policy: {
                      can_favourite: {
                          always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                      };
                      can_reblog: {
                          always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                      };
                      can_reply: {
                          always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                      };
                  };
                  language: null
                  | string;
                  list_id: null | number;
                  local?: boolean;
                  media_attachments: (
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { focus?: ...; original?: ...; small?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "image";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { duration?: ...; original?: ...; small?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "video";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { duration?: ...; focus?: ...; original?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "gifv";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { colors?: ...; duration?: ...; original?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "audio";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "unknown";
                          url: string;
                      }
                  )[];
                  mentions: { acct: string; id: string; url: string; username: string }[];
                  muted: boolean;
                  parent_visible?: boolean;
                  pinned: boolean;
                  pinned_at: null | string;
                  poll:
                      | null
                      | {
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          expired: boolean;
                          expires_at: null
                          | string;
                          id: string;
                          multiple: boolean;
                          non_anonymous: boolean;
                          options: { title: ...; title_map: ...; votes_count: ... }[];
                          own_votes: null | (...)[];
                          voted: boolean;
                          voters_count: number;
                          votes_count: number;
                      };
                  quote_id: null
                  | string;
                  quote_url?: string;
                  quote_visible?: boolean;
                  quotes_count: number;
                  reblogged: boolean;
                  reblogs_count: number;
                  replies_count: number;
                  rss_feed:
                      | null
                      | {
                          description: null
                          | string;
                          id: string;
                          image_url: null | string;
                          title: null | string;
                          url: string;
                      };
                  scheduled_at: null;
                  sensitive: boolean;
                  spoiler_text: string;
                  spoiler_text_map: null
                  | { [key: string]: string };
                  tags: {
                      following?: boolean;
                      history: null | (...)[];
                      name: string;
                      total: null | number;
                      url: string;
                  }[];
                  text: null
                  | string;
                  text_map: null | { [key: string]: string };
                  thread_muted?: boolean;
                  translation:
                      | null
                      | false
                      | {
                          content: string;
                          detected_source_language: string;
                          id: null
                          | string;
                          media_attachments: { description: ...; id: ... }[];
                          poll?: { id: ...; options: ... };
                          provider: null | string;
                          spoiler_text: string;
                      };
                  uri: string;
                  url: string;
                  visibility: string;
              } & {
                  quote: | null
                  | {
                      state: | "rejected"
                      | "pending"
                      | "accepted"
                      | "revoked"
                      | "deleted"
                      | "unauthorized";
                      status: null
                      | Status;
                  }
                  | {
                      state: | "rejected"
                      | "pending"
                      | "accepted"
                      | "revoked"
                      | "deleted"
                      | "unauthorized";
                      status_id: null
                      | string;
                  };
                  reblog: null
                  | Status;
              };
              subtype: null
              | "reply";
              type: "mention";
          }
          | {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              group_key: string;
              id: string;
              is_muted?: boolean;
              is_seen?: boolean;
              status: {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: ...;
                          shortcode: ...;
                          static_url: ...;
                          url: ...;
                          visible_in_picker: ...;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: ...; value: ...; verified_at: ... }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: ...;
                              accepts_chat_messages: ...;
                              acct: ...;
                              ap_id: ...;
                              avatar: ...;
                              avatar_description: ...;
                              avatar_static: ...;
                              background_image: ...;
                              birthday?: ...;
                              bot: ...;
                              created_at: ...;
                              custom_css: ...;
                              deactivated?: ...;
                              discoverable: ...;
                              display_name: ...;
                              domain: ...;
                              emojis: ...;
                              enable_rss: ...;
                              favicon?: ...;
                              fields: ...;
                              followers_count: ...;
                              following_count: ...;
                              fqn: ...;
                              group: ...;
                              header: ...;
                              header_description: ...;
                              header_static: ...;
                              hide_collections?: ...;
                              hide_favorites: ...;
                              hide_followers?: ...;
                              hide_followers_count?: ...;
                              hide_follows?: ...;
                              hide_follows_count?: ...;
                              id: ...;
                              identity_proofs: ...;
                              is_admin?: ...;
                              is_cat: ...;
                              is_moderator?: ...;
                              is_suggested?: ...;
                              last_status_at: ...;
                              limited?: ...;
                              local?: ...;
                              location?: ...;
                              locked: ...;
                              mention_policy: ...;
                              noindex: ...;
                              note: ...;
                              payment_options: ...;
                              permit_followback?: ...;
                              pronouns: ...;
                              relationship?: ...;
                              roles: ...;
                              speak_as_cat: ...;
                              statuses_count: ...;
                              subscribers_count: ...;
                              suspended?: ...;
                              url: ...;
                              username: ...;
                              verified?: ...;
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: ...;
                          href: ...;
                          name: ...;
                          object_id: ...;
                          price: ...;
                          type: ...;
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: ...;
                          blocking: ...;
                          domain_blocking: ...;
                          endorsed: ...;
                          followed_by: ...;
                          following: ...;
                          id: ...;
                          muting: ...;
                          muting_notifications: ...;
                          note: ...;
                          notifying: ...;
                          requested: ...;
                          showing_reblogs: ...;
                      };
                      roles: {
                          color: ...;
                          highlighted: ...;
                          id: ...;
                          name: ...;
                          permissions: ...;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  application: null
                  | { name: string; website: null | string };
                  approval_status: null | "rejected" | "pending" | "approval";
                  bookmark_folder: null | string;
                  bookmarked: boolean;
                  card:
                      | null
                      | {
                          author_name: string;
                          author_url: string;
                          authors: { account: ...; name: ...; url: ... }[];
                          blurhash: null | string;
                          description: string;
                          embed_url: string;
                          height: number;
                          html: string;
                          image: null | string;
                          image_description: string;
                          provider_name: string;
                          provider_url: string;
                          title: string;
                          type: "link" | "video" | "photo" | "rich";
                          url: string;
                          width: number;
                      };
                  content: string;
                  content_map: null
                  | { [key: string]: string };
                  content_type: null | string;
                  conversation_id?: string;
                  created_at: string;
                  direct_conversation_id?: string;
                  disliked: boolean;
                  dislikes_count: number;
                  edited_at: null | string;
                  emoji_reactions: (
                      | {
                          account_ids: (...)[];
                          accounts: (...)[];
                          count: (...) | (...);
                          me: boolean;
                          name: string;
                          static_url: undefined;
                          url: undefined;
                      }
                      | {
                          account_ids: (...)[];
                          accounts: (...)[];
                          count: (...) | (...);
                          me: boolean;
                          name: string;
                          static_url: string;
                          url: string;
                      }
                  )[];
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  event: | null
                  | {
                      end_time: null
                      | string;
                      join_mode: null | "free" | "restricted" | "invite" | "external";
                      join_state: null | "pending" | "reject" | "accept";
                      location:
                          | null
                          | {
                              country: ...;
                              latitude: ...;
                              locality: ...;
                              longitude: ...;
                              name: ...;
                              postal_code: ...;
                              region: ...;
                              street: ...;
                              url: ...;
                          };
                      name: string;
                      participants_count: number;
                      start_time: null
                      | string;
                  };
                  expires_at?: string;
                  favourited: boolean;
                  favourites_count: number;
                  filtered: {
                      filter: {
                          context: (...)[];
                          expires_at: (...) | (...);
                          filter_action: (...) | (...) | (...);
                          id: string;
                          title: string;
                      };
                      keyword_matches: null
                      | string;
                      status_matches: null | string;
                  }[];
                  group: | null
                  | {
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      created_at: string;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: ...;
                          shortcode: ...;
                          static_url: ...;
                          url: ...;
                          visible_in_picker: ...;
                      }[];
                      header: string;
                      header_description: string;
                      header_static: string;
                      id: string;
                      locked: boolean;
                      members_count: number;
                      membership_required: boolean;
                      note: string;
                      owner: null
                      | { id: ... };
                      relationship: null | { id: ...; member: ...; requested: ...; role: ... };
                      statuses_visibility: string;
                      uri: string;
                      url: string;
                  };
                  id: string;
                  in_reply_to_account_acct?: string;
                  in_reply_to_account_id: null
                  | string;
                  in_reply_to_id: null | string;
                  interaction_policy: {
                      can_favourite: {
                          always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                      };
                      can_reblog: {
                          always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                      };
                      can_reply: {
                          always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                      };
                  };
                  language: null
                  | string;
                  list_id: null | number;
                  local?: boolean;
                  media_attachments: (
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { focus?: ...; original?: ...; small?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "image";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { duration?: ...; original?: ...; small?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "video";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { duration?: ...; focus?: ...; original?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "gifv";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { colors?: ...; duration?: ...; original?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "audio";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "unknown";
                          url: string;
                      }
                  )[];
                  mentions: { acct: string; id: string; url: string; username: string }[];
                  muted: boolean;
                  parent_visible?: boolean;
                  pinned: boolean;
                  pinned_at: null | string;
                  poll:
                      | null
                      | {
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          expired: boolean;
                          expires_at: null
                          | string;
                          id: string;
                          multiple: boolean;
                          non_anonymous: boolean;
                          options: { title: ...; title_map: ...; votes_count: ... }[];
                          own_votes: null | (...)[];
                          voted: boolean;
                          voters_count: number;
                          votes_count: number;
                      };
                  quote_id: null
                  | string;
                  quote_url?: string;
                  quote_visible?: boolean;
                  quotes_count: number;
                  reblogged: boolean;
                  reblogs_count: number;
                  replies_count: number;
                  rss_feed:
                      | null
                      | {
                          description: null
                          | string;
                          id: string;
                          image_url: null | string;
                          title: null | string;
                          url: string;
                      };
                  scheduled_at: null;
                  sensitive: boolean;
                  spoiler_text: string;
                  spoiler_text_map: null
                  | { [key: string]: string };
                  tags: {
                      following?: boolean;
                      history: null | (...)[];
                      name: string;
                      total: null | number;
                      url: string;
                  }[];
                  text: null
                  | string;
                  text_map: null | { [key: string]: string };
                  thread_muted?: boolean;
                  translation:
                      | null
                      | false
                      | {
                          content: string;
                          detected_source_language: string;
                          id: null
                          | string;
                          media_attachments: { description: ...; id: ... }[];
                          poll?: { id: ...; options: ... };
                          provider: null | string;
                          spoiler_text: string;
                      };
                  uri: string;
                  url: string;
                  visibility: string;
              } & {
                  quote: | null
                  | {
                      state: | "rejected"
                      | "pending"
                      | "accepted"
                      | "revoked"
                      | "deleted"
                      | "unauthorized";
                      status: null
                      | Status;
                  }
                  | {
                      state: | "rejected"
                      | "pending"
                      | "accepted"
                      | "revoked"
                      | "deleted"
                      | "unauthorized";
                      status_id: null
                      | string;
                  };
                  reblog: null
                  | Status;
              };
              type: | "status"
              | "poll"
              | "reblog"
              | "favourite"
              | "update"
              | "event_reminder";
          }
          | {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              group_key: string;
              id: string;
              is_muted?: boolean;
              is_seen?: boolean;
              report: {
                  action_taken?: boolean;
                  action_taken_at: null
                  | string;
                  category?: string;
                  comment?: string;
                  created_at?: string;
                  forwarded?: boolean;
                  id: string;
                  rule_ids: null | string;
                  status_ids: null | string;
                  target_account: null | Account;
              };
              type: "admin.report";
          }
          | {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              event: {
                  created_at: string;
                  id: string;
                  purged: string;
                  relationships_count?: number;
                  type: "domain_block"
                  | "user_domain_block"
                  | "account_suspension";
              };
              group_key: string;
              id: string;
              is_muted?: boolean;
              is_seen?: boolean;
              type: "severed_relationships";
          }
          | {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              group_key: string;
              id: string;
              is_muted?: boolean;
              is_seen?: boolean;
              moderation_warning: {
                  action: | "none"
                  | "sensitive"
                  | "disable"
                  | "mark_statuses_as_sensitive"
                  | "delete_statuses"
                  | "silence"
                  | "suspend";
                  appeal: | null
                  | { state: "approved"
                  | "rejected"
                  | "pending"; text: string };
                  created_at: string;
                  id: string;
                  status_ids: string[];
                  target_account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  text: string;
              };
              type: "moderation_warning";
          }
          | {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              group_key: string;
              id: string;
              is_muted?: boolean;
              is_seen?: boolean;
              target: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              type: "move";
          }
          | {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              emoji: string;
              emoji_url: null
              | string;
              group_key: string;
              id: string;
              is_muted?: boolean;
              is_seen?: boolean;
              status: {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: ...;
                          shortcode: ...;
                          static_url: ...;
                          url: ...;
                          visible_in_picker: ...;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: ...; value: ...; verified_at: ... }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: ...;
                              accepts_chat_messages: ...;
                              acct: ...;
                              ap_id: ...;
                              avatar: ...;
                              avatar_description: ...;
                              avatar_static: ...;
                              background_image: ...;
                              birthday?: ...;
                              bot: ...;
                              created_at: ...;
                              custom_css: ...;
                              deactivated?: ...;
                              discoverable: ...;
                              display_name: ...;
                              domain: ...;
                              emojis: ...;
                              enable_rss: ...;
                              favicon?: ...;
                              fields: ...;
                              followers_count: ...;
                              following_count: ...;
                              fqn: ...;
                              group: ...;
                              header: ...;
                              header_description: ...;
                              header_static: ...;
                              hide_collections?: ...;
                              hide_favorites: ...;
                              hide_followers?: ...;
                              hide_followers_count?: ...;
                              hide_follows?: ...;
                              hide_follows_count?: ...;
                              id: ...;
                              identity_proofs: ...;
                              is_admin?: ...;
                              is_cat: ...;
                              is_moderator?: ...;
                              is_suggested?: ...;
                              last_status_at: ...;
                              limited?: ...;
                              local?: ...;
                              location?: ...;
                              locked: ...;
                              mention_policy: ...;
                              noindex: ...;
                              note: ...;
                              payment_options: ...;
                              permit_followback?: ...;
                              pronouns: ...;
                              relationship?: ...;
                              roles: ...;
                              speak_as_cat: ...;
                              statuses_count: ...;
                              subscribers_count: ...;
                              suspended?: ...;
                              url: ...;
                              username: ...;
                              verified?: ...;
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: ...;
                          href: ...;
                          name: ...;
                          object_id: ...;
                          price: ...;
                          type: ...;
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: ...;
                          blocking: ...;
                          domain_blocking: ...;
                          endorsed: ...;
                          followed_by: ...;
                          following: ...;
                          id: ...;
                          muting: ...;
                          muting_notifications: ...;
                          note: ...;
                          notifying: ...;
                          requested: ...;
                          showing_reblogs: ...;
                      };
                      roles: {
                          color: ...;
                          highlighted: ...;
                          id: ...;
                          name: ...;
                          permissions: ...;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  application: null
                  | { name: string; website: null | string };
                  approval_status: null | "rejected" | "pending" | "approval";
                  bookmark_folder: null | string;
                  bookmarked: boolean;
                  card:
                      | null
                      | {
                          author_name: string;
                          author_url: string;
                          authors: { account: ...; name: ...; url: ... }[];
                          blurhash: null | string;
                          description: string;
                          embed_url: string;
                          height: number;
                          html: string;
                          image: null | string;
                          image_description: string;
                          provider_name: string;
                          provider_url: string;
                          title: string;
                          type: "link" | "video" | "photo" | "rich";
                          url: string;
                          width: number;
                      };
                  content: string;
                  content_map: null
                  | { [key: string]: string };
                  content_type: null | string;
                  conversation_id?: string;
                  created_at: string;
                  direct_conversation_id?: string;
                  disliked: boolean;
                  dislikes_count: number;
                  edited_at: null | string;
                  emoji_reactions: (
                      | {
                          account_ids: (...)[];
                          accounts: (...)[];
                          count: (...) | (...);
                          me: boolean;
                          name: string;
                          static_url: undefined;
                          url: undefined;
                      }
                      | {
                          account_ids: (...)[];
                          accounts: (...)[];
                          count: (...) | (...);
                          me: boolean;
                          name: string;
                          static_url: string;
                          url: string;
                      }
                  )[];
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  event: | null
                  | {
                      end_time: null
                      | string;
                      join_mode: null | "free" | "restricted" | "invite" | "external";
                      join_state: null | "pending" | "reject" | "accept";
                      location:
                          | null
                          | {
                              country: ...;
                              latitude: ...;
                              locality: ...;
                              longitude: ...;
                              name: ...;
                              postal_code: ...;
                              region: ...;
                              street: ...;
                              url: ...;
                          };
                      name: string;
                      participants_count: number;
                      start_time: null
                      | string;
                  };
                  expires_at?: string;
                  favourited: boolean;
                  favourites_count: number;
                  filtered: {
                      filter: {
                          context: (...)[];
                          expires_at: (...) | (...);
                          filter_action: (...) | (...) | (...);
                          id: string;
                          title: string;
                      };
                      keyword_matches: null
                      | string;
                      status_matches: null | string;
                  }[];
                  group: | null
                  | {
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      created_at: string;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: ...;
                          shortcode: ...;
                          static_url: ...;
                          url: ...;
                          visible_in_picker: ...;
                      }[];
                      header: string;
                      header_description: string;
                      header_static: string;
                      id: string;
                      locked: boolean;
                      members_count: number;
                      membership_required: boolean;
                      note: string;
                      owner: null
                      | { id: ... };
                      relationship: null | { id: ...; member: ...; requested: ...; role: ... };
                      statuses_visibility: string;
                      uri: string;
                      url: string;
                  };
                  id: string;
                  in_reply_to_account_acct?: string;
                  in_reply_to_account_id: null
                  | string;
                  in_reply_to_id: null | string;
                  interaction_policy: {
                      can_favourite: {
                          always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                      };
                      can_reblog: {
                          always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                      };
                      can_reply: {
                          always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                      };
                  };
                  language: null
                  | string;
                  list_id: null | number;
                  local?: boolean;
                  media_attachments: (
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { focus?: ...; original?: ...; small?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "image";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { duration?: ...; original?: ...; small?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "video";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { duration?: ...; focus?: ...; original?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "gifv";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { colors?: ...; duration?: ...; original?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "audio";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "unknown";
                          url: string;
                      }
                  )[];
                  mentions: { acct: string; id: string; url: string; username: string }[];
                  muted: boolean;
                  parent_visible?: boolean;
                  pinned: boolean;
                  pinned_at: null | string;
                  poll:
                      | null
                      | {
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          expired: boolean;
                          expires_at: null
                          | string;
                          id: string;
                          multiple: boolean;
                          non_anonymous: boolean;
                          options: { title: ...; title_map: ...; votes_count: ... }[];
                          own_votes: null | (...)[];
                          voted: boolean;
                          voters_count: number;
                          votes_count: number;
                      };
                  quote_id: null
                  | string;
                  quote_url?: string;
                  quote_visible?: boolean;
                  quotes_count: number;
                  reblogged: boolean;
                  reblogs_count: number;
                  replies_count: number;
                  rss_feed:
                      | null
                      | {
                          description: null
                          | string;
                          id: string;
                          image_url: null | string;
                          title: null | string;
                          url: string;
                      };
                  scheduled_at: null;
                  sensitive: boolean;
                  spoiler_text: string;
                  spoiler_text_map: null
                  | { [key: string]: string };
                  tags: {
                      following?: boolean;
                      history: null | (...)[];
                      name: string;
                      total: null | number;
                      url: string;
                  }[];
                  text: null
                  | string;
                  text_map: null | { [key: string]: string };
                  thread_muted?: boolean;
                  translation:
                      | null
                      | false
                      | {
                          content: string;
                          detected_source_language: string;
                          id: null
                          | string;
                          media_attachments: { description: ...; id: ... }[];
                          poll?: { id: ...; options: ... };
                          provider: null | string;
                          spoiler_text: string;
                      };
                  uri: string;
                  url: string;
                  visibility: string;
              } & {
                  quote: | null
                  | {
                      state: | "rejected"
                      | "pending"
                      | "accepted"
                      | "revoked"
                      | "deleted"
                      | "unauthorized";
                      status: null
                      | Status;
                  }
                  | {
                      state: | "rejected"
                      | "pending"
                      | "accepted"
                      | "revoked"
                      | "deleted"
                      | "unauthorized";
                      status_id: null
                      | string;
                  };
                  reblog: null
                  | Status;
              };
              type: "emoji_reaction";
          }
          | {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              chat_message: {
                  account_id: string;
                  attachment: | null
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "image";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          original?: {
                              aspect: ...;
                              duration: ...;
                              frame_rate: ...;
                              height: ...;
                              size: ...;
                              width: ...;
                          };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "video";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "gifv";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          colors?: {
                              accent?: ...;
                              background?: ...;
                              duration?: ...;
                              foreground?: ...;
                          };
                          duration?: number;
                          original?: { bitrate?: ...; duration?: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "audio";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      mime_type: null | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "unknown";
                      url: string;
                  };
                  card: | null
                  | {
                      author_name: string;
                      author_url: string;
                      authors: { account: (...)
                      | (...); name: string; url: string }[];
                      blurhash: null | string;
                      description: string;
                      embed_url: string;
                      height: number;
                      html: string;
                      image: null | string;
                      image_description: string;
                      provider_name: string;
                      provider_url: string;
                      title: string;
                      type: "link" | "video" | "photo" | "rich";
                      url: string;
                      width: number;
                  };
                  chat_id: string;
                  content: string;
                  created_at: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  id: string;
                  unread: boolean;
              };
              created_at: string;
              group_key: string;
              id: string;
              is_muted?: boolean;
              is_seen?: boolean;
              type: "chat_mention";
          }
          | {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              group_key: string;
              id: string;
              is_muted?: boolean;
              is_seen?: boolean;
              participation_message: null
              | string;
              status: {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: ...;
                          shortcode: ...;
                          static_url: ...;
                          url: ...;
                          visible_in_picker: ...;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: ...; value: ...; verified_at: ... }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: ...;
                              accepts_chat_messages: ...;
                              acct: ...;
                              ap_id: ...;
                              avatar: ...;
                              avatar_description: ...;
                              avatar_static: ...;
                              background_image: ...;
                              birthday?: ...;
                              bot: ...;
                              created_at: ...;
                              custom_css: ...;
                              deactivated?: ...;
                              discoverable: ...;
                              display_name: ...;
                              domain: ...;
                              emojis: ...;
                              enable_rss: ...;
                              favicon?: ...;
                              fields: ...;
                              followers_count: ...;
                              following_count: ...;
                              fqn: ...;
                              group: ...;
                              header: ...;
                              header_description: ...;
                              header_static: ...;
                              hide_collections?: ...;
                              hide_favorites: ...;
                              hide_followers?: ...;
                              hide_followers_count?: ...;
                              hide_follows?: ...;
                              hide_follows_count?: ...;
                              id: ...;
                              identity_proofs: ...;
                              is_admin?: ...;
                              is_cat: ...;
                              is_moderator?: ...;
                              is_suggested?: ...;
                              last_status_at: ...;
                              limited?: ...;
                              local?: ...;
                              location?: ...;
                              locked: ...;
                              mention_policy: ...;
                              noindex: ...;
                              note: ...;
                              payment_options: ...;
                              permit_followback?: ...;
                              pronouns: ...;
                              relationship?: ...;
                              roles: ...;
                              speak_as_cat: ...;
                              statuses_count: ...;
                              subscribers_count: ...;
                              suspended?: ...;
                              url: ...;
                              username: ...;
                              verified?: ...;
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: ...;
                          href: ...;
                          name: ...;
                          object_id: ...;
                          price: ...;
                          type: ...;
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: ...;
                          blocking: ...;
                          domain_blocking: ...;
                          endorsed: ...;
                          followed_by: ...;
                          following: ...;
                          id: ...;
                          muting: ...;
                          muting_notifications: ...;
                          note: ...;
                          notifying: ...;
                          requested: ...;
                          showing_reblogs: ...;
                      };
                      roles: {
                          color: ...;
                          highlighted: ...;
                          id: ...;
                          name: ...;
                          permissions: ...;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  application: null
                  | { name: string; website: null | string };
                  approval_status: null | "rejected" | "pending" | "approval";
                  bookmark_folder: null | string;
                  bookmarked: boolean;
                  card:
                      | null
                      | {
                          author_name: string;
                          author_url: string;
                          authors: { account: ...; name: ...; url: ... }[];
                          blurhash: null | string;
                          description: string;
                          embed_url: string;
                          height: number;
                          html: string;
                          image: null | string;
                          image_description: string;
                          provider_name: string;
                          provider_url: string;
                          title: string;
                          type: "link" | "video" | "photo" | "rich";
                          url: string;
                          width: number;
                      };
                  content: string;
                  content_map: null
                  | { [key: string]: string };
                  content_type: null | string;
                  conversation_id?: string;
                  created_at: string;
                  direct_conversation_id?: string;
                  disliked: boolean;
                  dislikes_count: number;
                  edited_at: null | string;
                  emoji_reactions: (
                      | {
                          account_ids: (...)[];
                          accounts: (...)[];
                          count: (...) | (...);
                          me: boolean;
                          name: string;
                          static_url: undefined;
                          url: undefined;
                      }
                      | {
                          account_ids: (...)[];
                          accounts: (...)[];
                          count: (...) | (...);
                          me: boolean;
                          name: string;
                          static_url: string;
                          url: string;
                      }
                  )[];
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  event: | null
                  | {
                      end_time: null
                      | string;
                      join_mode: null | "free" | "restricted" | "invite" | "external";
                      join_state: null | "pending" | "reject" | "accept";
                      location:
                          | null
                          | {
                              country: ...;
                              latitude: ...;
                              locality: ...;
                              longitude: ...;
                              name: ...;
                              postal_code: ...;
                              region: ...;
                              street: ...;
                              url: ...;
                          };
                      name: string;
                      participants_count: number;
                      start_time: null
                      | string;
                  };
                  expires_at?: string;
                  favourited: boolean;
                  favourites_count: number;
                  filtered: {
                      filter: {
                          context: (...)[];
                          expires_at: (...) | (...);
                          filter_action: (...) | (...) | (...);
                          id: string;
                          title: string;
                      };
                      keyword_matches: null
                      | string;
                      status_matches: null | string;
                  }[];
                  group: | null
                  | {
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      created_at: string;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: ...;
                          shortcode: ...;
                          static_url: ...;
                          url: ...;
                          visible_in_picker: ...;
                      }[];
                      header: string;
                      header_description: string;
                      header_static: string;
                      id: string;
                      locked: boolean;
                      members_count: number;
                      membership_required: boolean;
                      note: string;
                      owner: null
                      | { id: ... };
                      relationship: null | { id: ...; member: ...; requested: ...; role: ... };
                      statuses_visibility: string;
                      uri: string;
                      url: string;
                  };
                  id: string;
                  in_reply_to_account_acct?: string;
                  in_reply_to_account_id: null
                  | string;
                  in_reply_to_id: null | string;
                  interaction_policy: {
                      can_favourite: {
                          always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                      };
                      can_reblog: {
                          always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                      };
                      can_reply: {
                          always: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                          with_approval: ((...) | (...) | (...) | (...) | (...) | (...) | (...))[];
                      };
                  };
                  language: null
                  | string;
                  list_id: null | number;
                  local?: boolean;
                  media_attachments: (
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { focus?: ...; original?: ...; small?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "image";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { duration?: ...; original?: ...; small?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "video";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { duration?: ...; focus?: ...; original?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "gifv";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          meta: { colors?: ...; duration?: ...; original?: ... };
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "audio";
                          url: string;
                      }
                      | {
                          blurhash: (...)
                          | (...);
                          description: string;
                          id: string;
                          mime_type: (...) | (...);
                          preview_url: string;
                          remote_url: (...) | (...);
                          type: "unknown";
                          url: string;
                      }
                  )[];
                  mentions: { acct: string; id: string; url: string; username: string }[];
                  muted: boolean;
                  parent_visible?: boolean;
                  pinned: boolean;
                  pinned_at: null | string;
                  poll:
                      | null
                      | {
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          expired: boolean;
                          expires_at: null
                          | string;
                          id: string;
                          multiple: boolean;
                          non_anonymous: boolean;
                          options: { title: ...; title_map: ...; votes_count: ... }[];
                          own_votes: null | (...)[];
                          voted: boolean;
                          voters_count: number;
                          votes_count: number;
                      };
                  quote_id: null
                  | string;
                  quote_url?: string;
                  quote_visible?: boolean;
                  quotes_count: number;
                  reblogged: boolean;
                  reblogs_count: number;
                  replies_count: number;
                  rss_feed:
                      | null
                      | {
                          description: null
                          | string;
                          id: string;
                          image_url: null | string;
                          title: null | string;
                          url: string;
                      };
                  scheduled_at: null;
                  sensitive: boolean;
                  spoiler_text: string;
                  spoiler_text_map: null
                  | { [key: string]: string };
                  tags: {
                      following?: boolean;
                      history: null | (...)[];
                      name: string;
                      total: null | number;
                      url: string;
                  }[];
                  text: null
                  | string;
                  text_map: null | { [key: string]: string };
                  thread_muted?: boolean;
                  translation:
                      | null
                      | false
                      | {
                          content: string;
                          detected_source_language: string;
                          id: null
                          | string;
                          media_attachments: { description: ...; id: ... }[];
                          poll?: { id: ...; options: ... };
                          provider: null | string;
                          spoiler_text: string;
                      };
                  uri: string;
                  url: string;
                  visibility: string;
              } & {
                  quote: | null
                  | {
                      state: | "rejected"
                      | "pending"
                      | "accepted"
                      | "revoked"
                      | "deleted"
                      | "unauthorized";
                      status: null
                      | Status;
                  }
                  | {
                      state: | "rejected"
                      | "pending"
                      | "accepted"
                      | "revoked"
                      | "deleted"
                      | "unauthorized";
                      status_id: null
                      | string;
                  };
                  reblog: null
                  | Status;
              };
              type: "participation_accepted"
              | "participation_request";
          }
          | {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              group_key: string;
              id: string;
              is_muted?: boolean;
              is_seen?: boolean;
              status: null
              | Status;
              type: "bite";
          },
      >

      Get a single notification View information about a notification with a given ID.

    • getNotificationPolicy: () => Promise<
          {
              for_limited_accounts: "filter"
              | "accept"
              | "drop";
              for_new_accounts: "filter" | "accept" | "drop";
              for_not_followers: "filter" | "accept" | "drop";
              for_not_following: "filter" | "accept" | "drop";
              for_private_mentions: "filter" | "accept" | "drop";
              summary: {
                  pending_notifications_count: number;
                  pending_requests_count: number;
              };
          },
      >

      Get the filtering policy for notifications Notifications filtering policy for the user.

      Requires featuresFeatures.notificationsPolicy.

    • getNotificationRequest: (
          notificationRequestId: string,
      ) => Promise<
          {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: (...) | (...);
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: string; value: string; verified_at: (...)
                          | (...) }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: string; value: string; verified_at: string }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: (...) | (...);
                              href: (...) | (...);
                              name: (...) | (...);
                              object_id: (...) | (...);
                              price: (...) | (...);
                              type: (...) | (...);
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: boolean;
                              blocking: boolean;
                              domain_blocking: boolean;
                              endorsed: boolean;
                              followed_by: boolean;
                              following: boolean;
                              id: string;
                              muting: boolean;
                              muting_notifications: boolean;
                              note: string;
                              notifying: boolean;
                              requested: boolean;
                              showing_reblogs: boolean;
                          };
                          roles: {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              created_at: string;
              id: string;
              last_status?: Status;
              notifications_count: string;
              updated_at: string;
          },
      >

      Get a single notification request View information about a notification request with a given ID.

    • getNotificationRequests: (
          params?: PaginationParams,
      ) => Promise<
          PaginatedResponse<
              {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: null | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: null
                      | string }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: any; source?: any };
                              accepts_chat_messages: null | boolean;
                              acct: string;
                              ap_id: null | string;
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: null | string;
                              birthday?: string;
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: boolean;
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              enable_rss: boolean;
                              favicon?: string;
                              fields: { name: ...; value: ...; verified_at: ... }[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: boolean;
                              hide_favorites: boolean;
                              hide_followers?: boolean;
                              hide_followers_count?: boolean;
                              hide_follows?: boolean;
                              hide_follows_count?: boolean;
                              id: string;
                              identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                              is_admin?: boolean;
                              is_cat: boolean;
                              is_moderator?: boolean;
                              is_suggested?: boolean;
                              last_status_at: null | string;
                              limited?: boolean;
                              local?: boolean;
                              location?: string;
                              locked: boolean;
                              mention_policy: "none" | "only_known" | "only_followers";
                              noindex: null | boolean;
                              note: string;
                              payment_options: {
                                  chain_id: ...;
                                  href: ...;
                                  name: ...;
                                  object_id: ...;
                                  price: ...;
                                  type: ...;
                              }[];
                              permit_followback?: boolean;
                              pronouns: string[];
                              relationship?: {
                                  blocked_by: ...;
                                  blocking: ...;
                                  domain_blocking: ...;
                                  endorsed: ...;
                                  followed_by: ...;
                                  following: ...;
                                  id: ...;
                                  muting: ...;
                                  muting_notifications: ...;
                                  note: ...;
                                  notifying: ...;
                                  requested: ...;
                                  showing_reblogs: ...;
                              };
                              roles: {
                                  color: ...;
                                  highlighted: ...;
                                  id: ...;
                                  name: ...;
                                  permissions: ...;
                              }[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: boolean;
                              url: string;
                              username: string;
                              verified?: boolean;
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: null | string;
                          href: null | string;
                          name: null | string;
                          object_id: null | string;
                          price: null | string;
                          type: "link" | "monero-subscription";
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  created_at: string;
                  id: string;
                  last_status?: Status;
                  notifications_count: string;
                  updated_at: string;
              },
              true,
          >,
      >

      Get all notification requests Notification requests for notifications filtered by the user’s policy. This API returns Link headers containing links to the next/previous page.

    • getNotifications: (
          params?: GetNotificationParams,
          meta?: RequestMeta,
      ) => Promise<
          PaginatedResponse<
              | {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  created_at: string;
                  group_key: string;
                  id: string;
                  is_muted?: boolean;
                  is_seen?: boolean;
                  type: "follow"
                  | "follow_request"
                  | "admin.sign_up";
              }
              | {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  created_at: string;
                  group_key: string;
                  id: string;
                  is_muted?: boolean;
                  is_seen?: boolean;
                  status: {
                      account: {
                          __meta: { pleroma?: ...; source?: ... };
                          accepts_chat_messages: (...) | (...) | (...);
                          acct: string;
                          ap_id: (...) | (...);
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: (...) | (...);
                          birthday?: (...) | (...);
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: (...) | (...) | (...);
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: (...)[];
                          enable_rss: boolean;
                          favicon?: (...) | (...);
                          fields: (...)[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: (...) | (...) | (...);
                          hide_favorites: boolean;
                          hide_followers?: (...) | (...) | (...);
                          hide_followers_count?: (...) | (...) | (...);
                          hide_follows?: (...) | (...) | (...);
                          hide_follows_count?: (...) | (...) | (...);
                          id: string;
                          identity_proofs: (...)[];
                          is_admin?: (...) | (...) | (...);
                          is_cat: boolean;
                          is_moderator?: (...) | (...) | (...);
                          is_suggested?: (...) | (...) | (...);
                          last_status_at: (...) | (...);
                          limited?: (...) | (...) | (...);
                          local?: (...) | (...) | (...);
                          location?: (...) | (...);
                          locked: boolean;
                          mention_policy: (...) | (...) | (...);
                          moved: (...) | (...);
                          noindex: (...) | (...) | (...);
                          note: string;
                          payment_options: (...)[];
                          permit_followback?: (...) | (...) | (...);
                          pronouns: (...)[];
                          relationship?: (...) | (...);
                          roles: (...)[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: (...) | (...) | (...);
                          url: string;
                          username: string;
                          verified?: (...) | (...) | (...);
                      } & WithMoved;
                      application: null
                      | { name: string; website: (...) | (...) };
                      approval_status: null | "rejected" | "pending" | "approval";
                      bookmark_folder: null | string;
                      bookmarked: boolean;
                      card:
                          | null
                          | {
                              author_name: string;
                              author_url: string;
                              authors: (...)[];
                              blurhash: (...) | (...);
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: (...) | (...);
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: (...) | (...) | (...) | (...);
                              url: string;
                              width: number;
                          };
                      content: string;
                      content_map: null
                      | { [key: string]: string };
                      content_type: null | string;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: null | string;
                      emoji_reactions: (
                          | {
                              account_ids: ...;
                              accounts: ...;
                              count: ...;
                              me: ...;
                              name: ...;
                              static_url: ...;
                              url: ...;
                          }
                          | {
                              account_ids: ...;
                              accounts: ...;
                              count: ...;
                              me: ...;
                              name: ...;
                              static_url: ...;
                              url: ...;
                          }
                      )[];
                      emojis: {
                          category: (...)
                          | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | null
                      | {
                          end_time: (...)
                          | (...);
                          join_mode: (...) | (...) | (...) | (...) | (...);
                          join_state: (...) | (...) | (...) | (...);
                          location: (...) | (...);
                          name: string;
                          participants_count: number;
                          start_time: (...) | (...);
                      };
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: ...;
                              expires_at: ...;
                              filter_action: ...;
                              id: ...;
                              title: ...;
                          };
                          keyword_matches: (...)
                          | (...);
                          status_matches: (...) | (...);
                      }[];
                      group: | null
                      | {
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          created_at: string;
                          display_name: string;
                          domain: string;
                          emojis: (...)[];
                          header: string;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: (...) | (...);
                          relationship: (...) | (...);
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      };
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: null
                      | string;
                      in_reply_to_id: null | string;
                      interaction_policy: {
                          can_favourite: { always: (...)[]; with_approval: (...)[] };
                          can_reblog: { always: (...)[]; with_approval: (...)[] };
                          can_reply: { always: (...)[]; with_approval: (...)[] };
                      };
                      language: null
                      | string;
                      list_id: null | number;
                      local?: boolean;
                      media_attachments: (
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                      )[];
                      mentions: { acct: string; id: string; url: string; username: string }[];
                      muted: boolean;
                      parent_visible?: boolean;
                      pinned: boolean;
                      pinned_at: null | string;
                      poll:
                          | null
                          | {
                              emojis: (...)[];
                              expired: boolean;
                              expires_at: (...) | (...);
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: (...)[];
                              own_votes: (...) | (...);
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          };
                      quote_id: null
                      | string;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | null
                          | {
                              description: (...)
                              | (...);
                              id: string;
                              image_url: (...) | (...);
                              title: (...) | (...);
                              url: string;
                          };
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: null
                      | { [key: string]: string };
                      tags: {
                          following?: (...) | (...) | (...);
                          history: (...) | (...);
                          name: string;
                          total: (...) | (...);
                          url: string;
                      }[];
                      text: null
                      | string;
                      text_map: null | { [key: string]: string };
                      thread_muted?: boolean;
                      translation:
                          | null
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: (...)
                              | (...);
                              media_attachments: (...)[];
                              poll?: (...) | (...);
                              provider: (...) | (...);
                              spoiler_text: string;
                          };
                      uri: string;
                      url: string;
                      visibility: string;
                  } & {
                      quote: | null
                      | {
                          state: (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...);
                          status: (...) | (...);
                      }
                      | {
                          state: (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...);
                          status_id: (...) | (...);
                      };
                      reblog: null
                      | Status;
                  };
                  subtype: null
                  | "reply";
                  type: "mention";
              }
              | {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  created_at: string;
                  group_key: string;
                  id: string;
                  is_muted?: boolean;
                  is_seen?: boolean;
                  status: {
                      account: {
                          __meta: { pleroma?: ...; source?: ... };
                          accepts_chat_messages: (...) | (...) | (...);
                          acct: string;
                          ap_id: (...) | (...);
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: (...) | (...);
                          birthday?: (...) | (...);
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: (...) | (...) | (...);
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: (...)[];
                          enable_rss: boolean;
                          favicon?: (...) | (...);
                          fields: (...)[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: (...) | (...) | (...);
                          hide_favorites: boolean;
                          hide_followers?: (...) | (...) | (...);
                          hide_followers_count?: (...) | (...) | (...);
                          hide_follows?: (...) | (...) | (...);
                          hide_follows_count?: (...) | (...) | (...);
                          id: string;
                          identity_proofs: (...)[];
                          is_admin?: (...) | (...) | (...);
                          is_cat: boolean;
                          is_moderator?: (...) | (...) | (...);
                          is_suggested?: (...) | (...) | (...);
                          last_status_at: (...) | (...);
                          limited?: (...) | (...) | (...);
                          local?: (...) | (...) | (...);
                          location?: (...) | (...);
                          locked: boolean;
                          mention_policy: (...) | (...) | (...);
                          moved: (...) | (...);
                          noindex: (...) | (...) | (...);
                          note: string;
                          payment_options: (...)[];
                          permit_followback?: (...) | (...) | (...);
                          pronouns: (...)[];
                          relationship?: (...) | (...);
                          roles: (...)[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: (...) | (...) | (...);
                          url: string;
                          username: string;
                          verified?: (...) | (...) | (...);
                      } & WithMoved;
                      application: null
                      | { name: string; website: (...) | (...) };
                      approval_status: null | "rejected" | "pending" | "approval";
                      bookmark_folder: null | string;
                      bookmarked: boolean;
                      card:
                          | null
                          | {
                              author_name: string;
                              author_url: string;
                              authors: (...)[];
                              blurhash: (...) | (...);
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: (...) | (...);
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: (...) | (...) | (...) | (...);
                              url: string;
                              width: number;
                          };
                      content: string;
                      content_map: null
                      | { [key: string]: string };
                      content_type: null | string;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: null | string;
                      emoji_reactions: (
                          | {
                              account_ids: ...;
                              accounts: ...;
                              count: ...;
                              me: ...;
                              name: ...;
                              static_url: ...;
                              url: ...;
                          }
                          | {
                              account_ids: ...;
                              accounts: ...;
                              count: ...;
                              me: ...;
                              name: ...;
                              static_url: ...;
                              url: ...;
                          }
                      )[];
                      emojis: {
                          category: (...)
                          | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | null
                      | {
                          end_time: (...)
                          | (...);
                          join_mode: (...) | (...) | (...) | (...) | (...);
                          join_state: (...) | (...) | (...) | (...);
                          location: (...) | (...);
                          name: string;
                          participants_count: number;
                          start_time: (...) | (...);
                      };
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: ...;
                              expires_at: ...;
                              filter_action: ...;
                              id: ...;
                              title: ...;
                          };
                          keyword_matches: (...)
                          | (...);
                          status_matches: (...) | (...);
                      }[];
                      group: | null
                      | {
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          created_at: string;
                          display_name: string;
                          domain: string;
                          emojis: (...)[];
                          header: string;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: (...) | (...);
                          relationship: (...) | (...);
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      };
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: null
                      | string;
                      in_reply_to_id: null | string;
                      interaction_policy: {
                          can_favourite: { always: (...)[]; with_approval: (...)[] };
                          can_reblog: { always: (...)[]; with_approval: (...)[] };
                          can_reply: { always: (...)[]; with_approval: (...)[] };
                      };
                      language: null
                      | string;
                      list_id: null | number;
                      local?: boolean;
                      media_attachments: (
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                      )[];
                      mentions: { acct: string; id: string; url: string; username: string }[];
                      muted: boolean;
                      parent_visible?: boolean;
                      pinned: boolean;
                      pinned_at: null | string;
                      poll:
                          | null
                          | {
                              emojis: (...)[];
                              expired: boolean;
                              expires_at: (...) | (...);
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: (...)[];
                              own_votes: (...) | (...);
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          };
                      quote_id: null
                      | string;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | null
                          | {
                              description: (...)
                              | (...);
                              id: string;
                              image_url: (...) | (...);
                              title: (...) | (...);
                              url: string;
                          };
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: null
                      | { [key: string]: string };
                      tags: {
                          following?: (...) | (...) | (...);
                          history: (...) | (...);
                          name: string;
                          total: (...) | (...);
                          url: string;
                      }[];
                      text: null
                      | string;
                      text_map: null | { [key: string]: string };
                      thread_muted?: boolean;
                      translation:
                          | null
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: (...)
                              | (...);
                              media_attachments: (...)[];
                              poll?: (...) | (...);
                              provider: (...) | (...);
                              spoiler_text: string;
                          };
                      uri: string;
                      url: string;
                      visibility: string;
                  } & {
                      quote: | null
                      | {
                          state: (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...);
                          status: (...) | (...);
                      }
                      | {
                          state: (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...);
                          status_id: (...) | (...);
                      };
                      reblog: null
                      | Status;
                  };
                  type: | "status"
                  | "poll"
                  | "reblog"
                  | "favourite"
                  | "update"
                  | "event_reminder";
              }
              | {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  created_at: string;
                  group_key: string;
                  id: string;
                  is_muted?: boolean;
                  is_seen?: boolean;
                  report: {
                      action_taken?: boolean;
                      action_taken_at: null
                      | string;
                      category?: string;
                      comment?: string;
                      created_at?: string;
                      forwarded?: boolean;
                      id: string;
                      rule_ids: null | string;
                      status_ids: null | string;
                      target_account: null | Account;
                  };
                  type: "admin.report";
              }
              | {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  created_at: string;
                  event: {
                      created_at: string;
                      id: string;
                      purged: string;
                      relationships_count?: number;
                      type: "domain_block"
                      | "user_domain_block"
                      | "account_suspension";
                  };
                  group_key: string;
                  id: string;
                  is_muted?: boolean;
                  is_seen?: boolean;
                  type: "severed_relationships";
              }
              | {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  created_at: string;
                  group_key: string;
                  id: string;
                  is_muted?: boolean;
                  is_seen?: boolean;
                  moderation_warning: {
                      action: | "none"
                      | "sensitive"
                      | "disable"
                      | "mark_statuses_as_sensitive"
                      | "delete_statuses"
                      | "silence"
                      | "suspend";
                      appeal: | null
                      | { state: "approved"
                      | "rejected"
                      | "pending"; text: string };
                      created_at: string;
                      id: string;
                      status_ids: string[];
                      target_account: {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          moved:
                              | null
                              | {
                                  __meta: ...;
                                  accepts_chat_messages: ...;
                                  acct: ...;
                                  ap_id: ...;
                                  avatar: ...;
                                  avatar_description: ...;
                                  avatar_static: ...;
                                  background_image: ...;
                                  birthday?: ...;
                                  bot: ...;
                                  created_at: ...;
                                  custom_css: ...;
                                  deactivated?: ...;
                                  discoverable: ...;
                                  display_name: ...;
                                  domain: ...;
                                  emojis: ...;
                                  enable_rss: ...;
                                  favicon?: ...;
                                  fields: ...;
                                  followers_count: ...;
                                  following_count: ...;
                                  fqn: ...;
                                  group: ...;
                                  header: ...;
                                  header_description: ...;
                                  header_static: ...;
                                  hide_collections?: ...;
                                  hide_favorites: ...;
                                  hide_followers?: ...;
                                  hide_followers_count?: ...;
                                  hide_follows?: ...;
                                  hide_follows_count?: ...;
                                  id: ...;
                                  identity_proofs: ...;
                                  is_admin?: ...;
                                  is_cat: ...;
                                  is_moderator?: ...;
                                  is_suggested?: ...;
                                  last_status_at: ...;
                                  limited?: ...;
                                  local?: ...;
                                  location?: ...;
                                  locked: ...;
                                  mention_policy: ...;
                                  noindex: ...;
                                  note: ...;
                                  payment_options: ...;
                                  permit_followback?: ...;
                                  pronouns: ...;
                                  relationship?: ...;
                                  roles: ...;
                                  speak_as_cat: ...;
                                  statuses_count: ...;
                                  subscribers_count: ...;
                                  suspended?: ...;
                                  url: ...;
                                  username: ...;
                                  verified?: ...;
                              };
                          noindex: null
                          | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      } & WithMoved;
                      text: string;
                  };
                  type: "moderation_warning";
              }
              | {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  created_at: string;
                  group_key: string;
                  id: string;
                  is_muted?: boolean;
                  is_seen?: boolean;
                  target: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  type: "move";
              }
              | {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  created_at: string;
                  emoji: string;
                  emoji_url: null
                  | string;
                  group_key: string;
                  id: string;
                  is_muted?: boolean;
                  is_seen?: boolean;
                  status: {
                      account: {
                          __meta: { pleroma?: ...; source?: ... };
                          accepts_chat_messages: (...) | (...) | (...);
                          acct: string;
                          ap_id: (...) | (...);
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: (...) | (...);
                          birthday?: (...) | (...);
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: (...) | (...) | (...);
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: (...)[];
                          enable_rss: boolean;
                          favicon?: (...) | (...);
                          fields: (...)[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: (...) | (...) | (...);
                          hide_favorites: boolean;
                          hide_followers?: (...) | (...) | (...);
                          hide_followers_count?: (...) | (...) | (...);
                          hide_follows?: (...) | (...) | (...);
                          hide_follows_count?: (...) | (...) | (...);
                          id: string;
                          identity_proofs: (...)[];
                          is_admin?: (...) | (...) | (...);
                          is_cat: boolean;
                          is_moderator?: (...) | (...) | (...);
                          is_suggested?: (...) | (...) | (...);
                          last_status_at: (...) | (...);
                          limited?: (...) | (...) | (...);
                          local?: (...) | (...) | (...);
                          location?: (...) | (...);
                          locked: boolean;
                          mention_policy: (...) | (...) | (...);
                          moved: (...) | (...);
                          noindex: (...) | (...) | (...);
                          note: string;
                          payment_options: (...)[];
                          permit_followback?: (...) | (...) | (...);
                          pronouns: (...)[];
                          relationship?: (...) | (...);
                          roles: (...)[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: (...) | (...) | (...);
                          url: string;
                          username: string;
                          verified?: (...) | (...) | (...);
                      } & WithMoved;
                      application: null
                      | { name: string; website: (...) | (...) };
                      approval_status: null | "rejected" | "pending" | "approval";
                      bookmark_folder: null | string;
                      bookmarked: boolean;
                      card:
                          | null
                          | {
                              author_name: string;
                              author_url: string;
                              authors: (...)[];
                              blurhash: (...) | (...);
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: (...) | (...);
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: (...) | (...) | (...) | (...);
                              url: string;
                              width: number;
                          };
                      content: string;
                      content_map: null
                      | { [key: string]: string };
                      content_type: null | string;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: null | string;
                      emoji_reactions: (
                          | {
                              account_ids: ...;
                              accounts: ...;
                              count: ...;
                              me: ...;
                              name: ...;
                              static_url: ...;
                              url: ...;
                          }
                          | {
                              account_ids: ...;
                              accounts: ...;
                              count: ...;
                              me: ...;
                              name: ...;
                              static_url: ...;
                              url: ...;
                          }
                      )[];
                      emojis: {
                          category: (...)
                          | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | null
                      | {
                          end_time: (...)
                          | (...);
                          join_mode: (...) | (...) | (...) | (...) | (...);
                          join_state: (...) | (...) | (...) | (...);
                          location: (...) | (...);
                          name: string;
                          participants_count: number;
                          start_time: (...) | (...);
                      };
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: ...;
                              expires_at: ...;
                              filter_action: ...;
                              id: ...;
                              title: ...;
                          };
                          keyword_matches: (...)
                          | (...);
                          status_matches: (...) | (...);
                      }[];
                      group: | null
                      | {
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          created_at: string;
                          display_name: string;
                          domain: string;
                          emojis: (...)[];
                          header: string;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: (...) | (...);
                          relationship: (...) | (...);
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      };
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: null
                      | string;
                      in_reply_to_id: null | string;
                      interaction_policy: {
                          can_favourite: { always: (...)[]; with_approval: (...)[] };
                          can_reblog: { always: (...)[]; with_approval: (...)[] };
                          can_reply: { always: (...)[]; with_approval: (...)[] };
                      };
                      language: null
                      | string;
                      list_id: null | number;
                      local?: boolean;
                      media_attachments: (
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                      )[];
                      mentions: { acct: string; id: string; url: string; username: string }[];
                      muted: boolean;
                      parent_visible?: boolean;
                      pinned: boolean;
                      pinned_at: null | string;
                      poll:
                          | null
                          | {
                              emojis: (...)[];
                              expired: boolean;
                              expires_at: (...) | (...);
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: (...)[];
                              own_votes: (...) | (...);
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          };
                      quote_id: null
                      | string;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | null
                          | {
                              description: (...)
                              | (...);
                              id: string;
                              image_url: (...) | (...);
                              title: (...) | (...);
                              url: string;
                          };
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: null
                      | { [key: string]: string };
                      tags: {
                          following?: (...) | (...) | (...);
                          history: (...) | (...);
                          name: string;
                          total: (...) | (...);
                          url: string;
                      }[];
                      text: null
                      | string;
                      text_map: null | { [key: string]: string };
                      thread_muted?: boolean;
                      translation:
                          | null
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: (...)
                              | (...);
                              media_attachments: (...)[];
                              poll?: (...) | (...);
                              provider: (...) | (...);
                              spoiler_text: string;
                          };
                      uri: string;
                      url: string;
                      visibility: string;
                  } & {
                      quote: | null
                      | {
                          state: (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...);
                          status: (...) | (...);
                      }
                      | {
                          state: (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...);
                          status_id: (...) | (...);
                      };
                      reblog: null
                      | Status;
                  };
                  type: "emoji_reaction";
              }
              | {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  chat_message: {
                      account_id: string;
                      attachment: | null
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          meta: {
                              focus?: (...) | (...);
                              original?: (...) | (...);
                              small?: (...) | (...);
                          };
                          mime_type: null
                          | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "image";
                          url: string;
                      }
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          meta: {
                              duration?: (...) | (...);
                              original?: (...) | (...);
                              small?: (...) | (...);
                          };
                          mime_type: null
                          | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "video";
                          url: string;
                      }
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          meta: {
                              duration?: (...) | (...);
                              focus?: (...) | (...);
                              original?: (...) | (...);
                          };
                          mime_type: null
                          | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "gifv";
                          url: string;
                      }
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          meta: {
                              colors?: (...) | (...);
                              duration?: (...) | (...);
                              original?: (...) | (...);
                          };
                          mime_type: null
                          | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "audio";
                          url: string;
                      }
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          mime_type: null | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "unknown";
                          url: string;
                      };
                      card: | null
                      | {
                          author_name: string;
                          author_url: string;
                          authors: { account: ...; name: ...; url: ... }[];
                          blurhash: null | string;
                          description: string;
                          embed_url: string;
                          height: number;
                          html: string;
                          image: null | string;
                          image_description: string;
                          provider_name: string;
                          provider_url: string;
                          title: string;
                          type: "link" | "video" | "photo" | "rich";
                          url: string;
                          width: number;
                      };
                      chat_id: string;
                      content: string;
                      created_at: string;
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      id: string;
                      unread: boolean;
                  };
                  created_at: string;
                  group_key: string;
                  id: string;
                  is_muted?: boolean;
                  is_seen?: boolean;
                  type: "chat_mention";
              }
              | {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  created_at: string;
                  group_key: string;
                  id: string;
                  is_muted?: boolean;
                  is_seen?: boolean;
                  participation_message: null
                  | string;
                  status: {
                      account: {
                          __meta: { pleroma?: ...; source?: ... };
                          accepts_chat_messages: (...) | (...) | (...);
                          acct: string;
                          ap_id: (...) | (...);
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: (...) | (...);
                          birthday?: (...) | (...);
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: (...) | (...) | (...);
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: (...)[];
                          enable_rss: boolean;
                          favicon?: (...) | (...);
                          fields: (...)[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: (...) | (...) | (...);
                          hide_favorites: boolean;
                          hide_followers?: (...) | (...) | (...);
                          hide_followers_count?: (...) | (...) | (...);
                          hide_follows?: (...) | (...) | (...);
                          hide_follows_count?: (...) | (...) | (...);
                          id: string;
                          identity_proofs: (...)[];
                          is_admin?: (...) | (...) | (...);
                          is_cat: boolean;
                          is_moderator?: (...) | (...) | (...);
                          is_suggested?: (...) | (...) | (...);
                          last_status_at: (...) | (...);
                          limited?: (...) | (...) | (...);
                          local?: (...) | (...) | (...);
                          location?: (...) | (...);
                          locked: boolean;
                          mention_policy: (...) | (...) | (...);
                          moved: (...) | (...);
                          noindex: (...) | (...) | (...);
                          note: string;
                          payment_options: (...)[];
                          permit_followback?: (...) | (...) | (...);
                          pronouns: (...)[];
                          relationship?: (...) | (...);
                          roles: (...)[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: (...) | (...) | (...);
                          url: string;
                          username: string;
                          verified?: (...) | (...) | (...);
                      } & WithMoved;
                      application: null
                      | { name: string; website: (...) | (...) };
                      approval_status: null | "rejected" | "pending" | "approval";
                      bookmark_folder: null | string;
                      bookmarked: boolean;
                      card:
                          | null
                          | {
                              author_name: string;
                              author_url: string;
                              authors: (...)[];
                              blurhash: (...) | (...);
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: (...) | (...);
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: (...) | (...) | (...) | (...);
                              url: string;
                              width: number;
                          };
                      content: string;
                      content_map: null
                      | { [key: string]: string };
                      content_type: null | string;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: null | string;
                      emoji_reactions: (
                          | {
                              account_ids: ...;
                              accounts: ...;
                              count: ...;
                              me: ...;
                              name: ...;
                              static_url: ...;
                              url: ...;
                          }
                          | {
                              account_ids: ...;
                              accounts: ...;
                              count: ...;
                              me: ...;
                              name: ...;
                              static_url: ...;
                              url: ...;
                          }
                      )[];
                      emojis: {
                          category: (...)
                          | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | null
                      | {
                          end_time: (...)
                          | (...);
                          join_mode: (...) | (...) | (...) | (...) | (...);
                          join_state: (...) | (...) | (...) | (...);
                          location: (...) | (...);
                          name: string;
                          participants_count: number;
                          start_time: (...) | (...);
                      };
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: ...;
                              expires_at: ...;
                              filter_action: ...;
                              id: ...;
                              title: ...;
                          };
                          keyword_matches: (...)
                          | (...);
                          status_matches: (...) | (...);
                      }[];
                      group: | null
                      | {
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          created_at: string;
                          display_name: string;
                          domain: string;
                          emojis: (...)[];
                          header: string;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: (...) | (...);
                          relationship: (...) | (...);
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      };
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: null
                      | string;
                      in_reply_to_id: null | string;
                      interaction_policy: {
                          can_favourite: { always: (...)[]; with_approval: (...)[] };
                          can_reblog: { always: (...)[]; with_approval: (...)[] };
                          can_reply: { always: (...)[]; with_approval: (...)[] };
                      };
                      language: null
                      | string;
                      list_id: null | number;
                      local?: boolean;
                      media_attachments: (
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              meta: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                          | {
                              blurhash: ...;
                              description: ...;
                              id: ...;
                              mime_type: ...;
                              preview_url: ...;
                              remote_url: ...;
                              type: ...;
                              url: ...;
                          }
                      )[];
                      mentions: { acct: string; id: string; url: string; username: string }[];
                      muted: boolean;
                      parent_visible?: boolean;
                      pinned: boolean;
                      pinned_at: null | string;
                      poll:
                          | null
                          | {
                              emojis: (...)[];
                              expired: boolean;
                              expires_at: (...) | (...);
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: (...)[];
                              own_votes: (...) | (...);
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          };
                      quote_id: null
                      | string;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | null
                          | {
                              description: (...)
                              | (...);
                              id: string;
                              image_url: (...) | (...);
                              title: (...) | (...);
                              url: string;
                          };
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: null
                      | { [key: string]: string };
                      tags: {
                          following?: (...) | (...) | (...);
                          history: (...) | (...);
                          name: string;
                          total: (...) | (...);
                          url: string;
                      }[];
                      text: null
                      | string;
                      text_map: null | { [key: string]: string };
                      thread_muted?: boolean;
                      translation:
                          | null
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: (...)
                              | (...);
                              media_attachments: (...)[];
                              poll?: (...) | (...);
                              provider: (...) | (...);
                              spoiler_text: string;
                          };
                      uri: string;
                      url: string;
                      visibility: string;
                  } & {
                      quote: | null
                      | {
                          state: (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...);
                          status: (...) | (...);
                      }
                      | {
                          state: (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...)
                          | (...);
                          status_id: (...) | (...);
                      };
                      reblog: null
                      | Status;
                  };
                  type: "participation_accepted"
                  | "participation_request";
              }
              | {
                  account: {
                      __meta: { pleroma?: any; source?: any };
                      accepts_chat_messages: null | boolean;
                      acct: string;
                      ap_id: null | string;
                      avatar: string;
                      avatar_description: string;
                      avatar_static: string;
                      background_image: null | string;
                      birthday?: string;
                      bot: boolean;
                      created_at: string;
                      custom_css: string;
                      deactivated?: boolean;
                      discoverable: boolean;
                      display_name: string;
                      domain: string;
                      emojis: {
                          category: (...) | (...);
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      enable_rss: boolean;
                      favicon?: string;
                      fields: { name: string; value: string; verified_at: (...)
                      | (...) }[];
                      followers_count: number;
                      following_count: number;
                      fqn: string;
                      group: boolean;
                      header: string;
                      header_description: string;
                      header_static: string;
                      hide_collections?: boolean;
                      hide_favorites: boolean;
                      hide_followers?: boolean;
                      hide_followers_count?: boolean;
                      hide_follows?: boolean;
                      hide_follows_count?: boolean;
                      id: string;
                      identity_proofs: { name: string; value: string; verified_at: string }[];
                      is_admin?: boolean;
                      is_cat: boolean;
                      is_moderator?: boolean;
                      is_suggested?: boolean;
                      last_status_at: null | string;
                      limited?: boolean;
                      local?: boolean;
                      location?: string;
                      locked: boolean;
                      mention_policy: "none" | "only_known" | "only_followers";
                      moved:
                          | null
                          | {
                              __meta: { pleroma?: ...; source?: ... };
                              accepts_chat_messages: (...) | (...) | (...);
                              acct: string;
                              ap_id: (...) | (...);
                              avatar: string;
                              avatar_description: string;
                              avatar_static: string;
                              background_image: (...) | (...);
                              birthday?: (...) | (...);
                              bot: boolean;
                              created_at: string;
                              custom_css: string;
                              deactivated?: (...) | (...) | (...);
                              discoverable: boolean;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              enable_rss: boolean;
                              favicon?: (...) | (...);
                              fields: (...)[];
                              followers_count: number;
                              following_count: number;
                              fqn: string;
                              group: boolean;
                              header: string;
                              header_description: string;
                              header_static: string;
                              hide_collections?: (...) | (...) | (...);
                              hide_favorites: boolean;
                              hide_followers?: (...) | (...) | (...);
                              hide_followers_count?: (...) | (...) | (...);
                              hide_follows?: (...) | (...) | (...);
                              hide_follows_count?: (...) | (...) | (...);
                              id: string;
                              identity_proofs: (...)[];
                              is_admin?: (...) | (...) | (...);
                              is_cat: boolean;
                              is_moderator?: (...) | (...) | (...);
                              is_suggested?: (...) | (...) | (...);
                              last_status_at: (...) | (...);
                              limited?: (...) | (...) | (...);
                              local?: (...) | (...) | (...);
                              location?: (...) | (...);
                              locked: boolean;
                              mention_policy: (...) | (...) | (...);
                              noindex: (...) | (...) | (...);
                              note: string;
                              payment_options: (...)[];
                              permit_followback?: (...) | (...) | (...);
                              pronouns: (...)[];
                              relationship?: (...) | (...);
                              roles: (...)[];
                              speak_as_cat: boolean;
                              statuses_count: number;
                              subscribers_count: number;
                              suspended?: (...) | (...) | (...);
                              url: string;
                              username: string;
                              verified?: (...) | (...) | (...);
                          };
                      noindex: null
                      | boolean;
                      note: string;
                      payment_options: {
                          chain_id: (...) | (...);
                          href: (...) | (...);
                          name: (...) | (...);
                          object_id: (...) | (...);
                          price: (...) | (...);
                          type: (...) | (...);
                      }[];
                      permit_followback?: boolean;
                      pronouns: string[];
                      relationship?: {
                          blocked_by: boolean;
                          blocking: boolean;
                          domain_blocking: boolean;
                          endorsed: boolean;
                          followed_by: boolean;
                          following: boolean;
                          id: string;
                          muting: boolean;
                          muting_notifications: boolean;
                          note: string;
                          notifying: boolean;
                          requested: boolean;
                          showing_reblogs: boolean;
                      };
                      roles: {
                          color: string;
                          highlighted: boolean;
                          id: string;
                          name: string;
                          permissions: string;
                      }[];
                      speak_as_cat: boolean;
                      statuses_count: number;
                      subscribers_count: number;
                      suspended?: boolean;
                      url: string;
                      username: string;
                      verified?: boolean;
                  } & WithMoved;
                  created_at: string;
                  group_key: string;
                  id: string;
                  is_muted?: boolean;
                  is_seen?: boolean;
                  status: null
                  | Status;
                  type: "bite";
              },
              true,
          >,
      >

      Get all notifications Notifications concerning the user. This API returns Link headers containing links to the next/previous page. However, the links can also be constructed dynamically using query params and id values.

    • getUnreadNotificationCount: (params?: GetUnreadNotificationCountParams) => Promise<{ count: number }>

      Get the number of unread notification Get the (capped) number of unread notifications for the current user.

      Requires featuresFeatures.notificationsGetUnreadCount.

    • updateNotificationPolicy: (
          params: UpdateNotificationPolicyRequest,
      ) => Promise<
          {
              for_limited_accounts: "filter"
              | "accept"
              | "drop";
              for_new_accounts: "filter" | "accept" | "drop";
              for_not_followers: "filter" | "accept" | "drop";
              for_not_following: "filter" | "accept" | "drop";
              for_private_mentions: "filter" | "accept" | "drop";
              summary: {
                  pending_notifications_count: number;
                  pending_requests_count: number;
              };
          },
      >

      Update the filtering policy for notifications Update the user’s notifications filtering policy.

      Requires featuresFeatures.notificationsPolicy.

    oauth: {
        authorize: (params: OauthAuthorizeParams) => Promise<string>;
        getCaptcha: () => Promise<{ type: string } & { [key: string]: any }>;
        getToken: (
            params: GetTokenParams,
        ) => Promise<
            {
                access_token: string;
                created_at?: number;
                expires_in?: number;
                id?: string;
                me?: string;
                refresh_token?: string;
                scope: string;
                token_type: string;
            },
        >;
        mfaChallenge: (
            params: MfaChallengeParams,
        ) => Promise<
            {
                access_token: string;
                created_at?: number;
                expires_in?: number;
                id?: string;
                me?: string;
                refresh_token?: string;
                scope: string;
                token_type: string;
            },
        >;
        revokeToken: (params: RevokeTokenParams) => Promise<{}>;
    } = ...

    Type declaration

    • authorize: (params: OauthAuthorizeParams) => Promise<string>

      Authorize a user Displays an authorization form to the user. If approved, it will create and return an authorization code, then redirect to the desired redirect_uri, or show the authorization code if urn:ietf:wg:oauth:2.0:oob was requested. The authorization code can be used while requesting a token to obtain access to user-level methods.

    • getCaptcha: () => Promise<{ type: string } & { [key: string]: any }>

      Get a new captcha

    • getToken: (
          params: GetTokenParams,
      ) => Promise<
          {
              access_token: string;
              created_at?: number;
              expires_in?: number;
              id?: string;
              me?: string;
              refresh_token?: string;
              scope: string;
              token_type: string;
          },
      >

      Obtain a token Obtain an access token, to be used during API calls that are not public.

    • mfaChallenge: (
          params: MfaChallengeParams,
      ) => Promise<
          {
              access_token: string;
              created_at?: number;
              expires_in?: number;
              id?: string;
              me?: string;
              refresh_token?: string;
              scope: string;
              token_type: string;
          },
      >
    • revokeToken: (params: RevokeTokenParams) => Promise<{}>

      Revoke a token Revoke an access token to make it no longer valid for use.

    oembed: {
        getOembed: (
            url: string,
            maxwidth?: number,
            maxheight?: number,
        ) => Promise<
            {
                author_name: string;
                author_url: string;
                cache_age: number;
                height: null
                | number;
                html: string;
                provider_name: string;
                provider_url: string;
                type: string;
                version: string;
                width: null | number;
            },
        >;
    } = ...

    Type declaration

    • getOembed: (
          url: string,
          maxwidth?: number,
          maxheight?: number,
      ) => Promise<
          {
              author_name: string;
              author_url: string;
              cache_age: number;
              height: null
              | number;
              html: string;
              provider_name: string;
              provider_url: string;
              type: string;
              version: string;
              width: null | number;
          },
      >

      Get OEmbed info as JSON

    polls: {
        getPoll: (
            pollId: string,
        ) => Promise<
            {
                emojis: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                expired: boolean;
                expires_at: null
                | string;
                id: string;
                multiple: boolean;
                non_anonymous: boolean;
                options: {
                    title: string;
                    title_map: null | { [key: string]: string };
                    votes_count: number;
                }[];
                own_votes: null
                | number[];
                voted: boolean;
                voters_count: number;
                votes_count: number;
            },
        >;
        vote: (
            pollId: string,
            choices: number[],
        ) => Promise<
            {
                emojis: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                expired: boolean;
                expires_at: null
                | string;
                id: string;
                multiple: boolean;
                non_anonymous: boolean;
                options: {
                    title: string;
                    title_map: null | { [key: string]: string };
                    votes_count: number;
                }[];
                own_votes: null
                | number[];
                voted: boolean;
                voters_count: number;
                votes_count: number;
            },
        >;
    } = ...

    Type declaration

    • getPoll: (
          pollId: string,
      ) => Promise<
          {
              emojis: {
                  category: null
                  | string;
                  shortcode: string;
                  static_url: string;
                  url: string;
                  visible_in_picker: boolean;
              }[];
              expired: boolean;
              expires_at: null
              | string;
              id: string;
              multiple: boolean;
              non_anonymous: boolean;
              options: {
                  title: string;
                  title_map: null | { [key: string]: string };
                  votes_count: number;
              }[];
              own_votes: null
              | number[];
              voted: boolean;
              voters_count: number;
              votes_count: number;
          },
      >

      View a poll View a poll attached to a status.

    • vote: (
          pollId: string,
          choices: number[],
      ) => Promise<
          {
              emojis: {
                  category: null
                  | string;
                  shortcode: string;
                  static_url: string;
                  url: string;
                  visible_in_picker: boolean;
              }[];
              expired: boolean;
              expires_at: null
              | string;
              id: string;
              multiple: boolean;
              non_anonymous: boolean;
              options: {
                  title: string;
                  title_map: null | { [key: string]: string };
                  votes_count: number;
              }[];
              own_votes: null
              | number[];
              voted: boolean;
              voters_count: number;
              votes_count: number;
          },
      >

      Vote on a poll Vote on a poll attached to a status.

    pushNotifications: {
        createSubscription: (
            params: CreatePushNotificationsSubscriptionParams,
        ) => Promise<
            {
                alerts: { [key: string]: boolean };
                endpoint: string;
                id: string;
                server_key: string;
                standard: boolean;
            },
        >;
        deleteSubscription: () => Promise<{}>;
        getSubscription: () => Promise<
            {
                alerts: { [key: string]: boolean };
                endpoint: string;
                id: string;
                server_key: string;
                standard: boolean;
            },
        >;
        updateSubscription: (
            params: UpdatePushNotificationsSubscriptionParams,
        ) => Promise<
            {
                alerts: { [key: string]: boolean };
                endpoint: string;
                id: string;
                server_key: string;
                standard: boolean;
            },
        >;
    } = ...

    Type declaration

    • createSubscription: (
          params: CreatePushNotificationsSubscriptionParams,
      ) => Promise<
          {
              alerts: { [key: string]: boolean };
              endpoint: string;
              id: string;
              server_key: string;
              standard: boolean;
          },
      >

      Subscribe to push notifications Add a Web Push API subscription to receive notifications. Each access token can have one push subscription. If you create a new subscription, the old subscription is deleted.

    • deleteSubscription: () => Promise<{}>

      Remove current subscription Removes the current Web Push API subscription.

    • getSubscription: () => Promise<
          {
              alerts: { [key: string]: boolean };
              endpoint: string;
              id: string;
              server_key: string;
              standard: boolean;
          },
      >

      Get current subscription View the PushSubscription currently associated with this access token.

    • updateSubscription: (
          params: UpdatePushNotificationsSubscriptionParams,
      ) => Promise<
          {
              alerts: { [key: string]: boolean };
              endpoint: string;
              id: string;
              server_key: string;
              standard: boolean;
          },
      >

      Change types of notifications Updates the current push subscription. Only the data part can be updated. To change fundamentals, a new subscription must be created instead.

    request: <T = any>(
        this: Pick<
            PlApiClient,
            "accessToken"
            | "iceshrimpAccessToken"
            | "baseURL",
        >,
        input: URL | RequestInfo,
        __namedParameters?: RequestBody,
    ) => Promise<PlApiResponse<T>> = ...
    rssFeedSubscriptions: {
        createRssFeedSubscription: (
            url: string,
        ) => Promise<
            {
                description: null
                | string;
                id: string;
                image_url: null | string;
                title: null | string;
                url: string;
            },
        >;
        deleteRssFeedSubscription: (url: string) => Promise<{}>;
        fetchRssFeedSubscriptions: () => Promise<
            {
                description: null
                | string;
                id: string;
                image_url: null | string;
                title: null | string;
                url: string;
            }[],
        >;
    } = ...

    Type declaration

    • createRssFeedSubscription: (
          url: string,
      ) => Promise<
          {
              description: null
              | string;
              id: string;
              image_url: null | string;
              title: null | string;
              url: string;
          },
      >
    • deleteRssFeedSubscription: (url: string) => Promise<{}>
    • fetchRssFeedSubscriptions: () => Promise<
          {
              description: null
              | string;
              id: string;
              image_url: null | string;
              title: null | string;
              url: string;
          }[],
      >
    scheduledStatuses: {
        cancelScheduledStatus: (scheduledStatusId: string) => Promise<{}>;
        getScheduledStatus: (
            scheduledStatusId: string,
        ) => Promise<
            {
                id: string;
                media_attachments: (
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            focus?: { x: number; y: number };
                            original?: {
                                aspect: (...) | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                            small?: {
                                aspect: (...)
                                | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "image";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            original?: {
                                aspect: (...) | (...);
                                duration: (...) | (...);
                                frame_rate: (...) | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                            small?: {
                                aspect: (...)
                                | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "video";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            focus?: { x: number; y: number };
                            original?: {
                                aspect: (...) | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "gifv";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            colors?: {
                                accent?: (...) | (...);
                                background?: (...) | (...);
                                duration?: (...) | (...);
                                foreground?: (...) | (...);
                            };
                            duration?: number;
                            original?: { bitrate?: (...)
                            | (...); duration?: (...) | (...) };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "audio";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        mime_type: null | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "unknown";
                        url: string;
                    }
                )[];
                params: {
                    application_id: null
                    | number;
                    expires_in: null | number;
                    idempotency: null | string;
                    in_reply_to_id: null | string;
                    language: null | string;
                    media_ids: null | string;
                    poll:
                        | null
                        | {
                            expires_in: string;
                            hide_totals?: boolean;
                            multiple?: boolean;
                            options: string[];
                        };
                    scheduled_at: null
                    | string;
                    sensitive: null | boolean;
                    spoiler_text: null | string;
                    text: null | string;
                    visibility: string;
                    with_rate_limit: boolean;
                };
                scheduled_at: string;
            },
        >;
        getScheduledStatuses: (
            params?: PaginationParams,
        ) => Promise<
            PaginatedResponse<
                {
                    id: string;
                    media_attachments: (
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            meta: {
                                focus?: { x: ...; y: ... };
                                original?: { aspect: ...; height: ...; size: ...; width: ... };
                                small?: { aspect: ...; height: ...; size: ...; width: ... };
                            };
                            mime_type: null
                            | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "image";
                            url: string;
                        }
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            meta: {
                                duration?: number;
                                original?: {
                                    aspect: ...;
                                    duration: ...;
                                    frame_rate: ...;
                                    height: ...;
                                    size: ...;
                                    width: ...;
                                };
                                small?: { aspect: ...; height: ...; size: ...; width: ... };
                            };
                            mime_type: null
                            | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "video";
                            url: string;
                        }
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            meta: {
                                duration?: number;
                                focus?: { x: ...; y: ... };
                                original?: { aspect: ...; height: ...; size: ...; width: ... };
                            };
                            mime_type: null
                            | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "gifv";
                            url: string;
                        }
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            meta: {
                                colors?: {
                                    accent?: ...;
                                    background?: ...;
                                    duration?: ...;
                                    foreground?: ...;
                                };
                                duration?: number;
                                original?: { bitrate?: ...; duration?: ... };
                            };
                            mime_type: null
                            | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "audio";
                            url: string;
                        }
                        | {
                            blurhash: null
                            | string;
                            description: string;
                            id: string;
                            mime_type: null | string;
                            preview_url: string;
                            remote_url: null | string;
                            type: "unknown";
                            url: string;
                        }
                    )[];
                    params: {
                        application_id: null
                        | number;
                        expires_in: null | number;
                        idempotency: null | string;
                        in_reply_to_id: null | string;
                        language: null | string;
                        media_ids: null | string;
                        poll:
                            | null
                            | {
                                expires_in: string;
                                hide_totals?: boolean;
                                multiple?: boolean;
                                options: string[];
                            };
                        scheduled_at: null
                        | string;
                        sensitive: null | boolean;
                        spoiler_text: null | string;
                        text: null | string;
                        visibility: string;
                        with_rate_limit: boolean;
                    };
                    scheduled_at: string;
                },
                true,
            >,
        >;
        updateScheduledStatus: (
            scheduledStatusId: string,
            scheduled_at: string,
        ) => Promise<
            {
                id: string;
                media_attachments: (
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            focus?: { x: number; y: number };
                            original?: {
                                aspect: (...) | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                            small?: {
                                aspect: (...)
                                | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "image";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            original?: {
                                aspect: (...) | (...);
                                duration: (...) | (...);
                                frame_rate: (...) | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                            small?: {
                                aspect: (...)
                                | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "video";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            focus?: { x: number; y: number };
                            original?: {
                                aspect: (...) | (...);
                                height: number;
                                size: (...) | (...);
                                width: number;
                            };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "gifv";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            colors?: {
                                accent?: (...) | (...);
                                background?: (...) | (...);
                                duration?: (...) | (...);
                                foreground?: (...) | (...);
                            };
                            duration?: number;
                            original?: { bitrate?: (...)
                            | (...); duration?: (...) | (...) };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "audio";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        mime_type: null | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "unknown";
                        url: string;
                    }
                )[];
                params: {
                    application_id: null
                    | number;
                    expires_in: null | number;
                    idempotency: null | string;
                    in_reply_to_id: null | string;
                    language: null | string;
                    media_ids: null | string;
                    poll:
                        | null
                        | {
                            expires_in: string;
                            hide_totals?: boolean;
                            multiple?: boolean;
                            options: string[];
                        };
                    scheduled_at: null
                    | string;
                    sensitive: null | boolean;
                    spoiler_text: null | string;
                    text: null | string;
                    visibility: string;
                    with_rate_limit: boolean;
                };
                scheduled_at: string;
            },
        >;
    } = ...

    Type declaration

    • cancelScheduledStatus: (scheduledStatusId: string) => Promise<{}>

      Cancel a scheduled status

    • getScheduledStatus: (
          scheduledStatusId: string,
      ) => Promise<
          {
              id: string;
              media_attachments: (
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          focus?: { x: number; y: number };
                          original?: {
                              aspect: (...) | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                          small?: {
                              aspect: (...)
                              | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "image";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          original?: {
                              aspect: (...) | (...);
                              duration: (...) | (...);
                              frame_rate: (...) | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                          small?: {
                              aspect: (...)
                              | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "video";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          focus?: { x: number; y: number };
                          original?: {
                              aspect: (...) | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "gifv";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          colors?: {
                              accent?: (...) | (...);
                              background?: (...) | (...);
                              duration?: (...) | (...);
                              foreground?: (...) | (...);
                          };
                          duration?: number;
                          original?: { bitrate?: (...)
                          | (...); duration?: (...) | (...) };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "audio";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      mime_type: null | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "unknown";
                      url: string;
                  }
              )[];
              params: {
                  application_id: null
                  | number;
                  expires_in: null | number;
                  idempotency: null | string;
                  in_reply_to_id: null | string;
                  language: null | string;
                  media_ids: null | string;
                  poll:
                      | null
                      | {
                          expires_in: string;
                          hide_totals?: boolean;
                          multiple?: boolean;
                          options: string[];
                      };
                  scheduled_at: null
                  | string;
                  sensitive: null | boolean;
                  spoiler_text: null | string;
                  text: null | string;
                  visibility: string;
                  with_rate_limit: boolean;
              };
              scheduled_at: string;
          },
      >

      View a single scheduled status

    • getScheduledStatuses: (
          params?: PaginationParams,
      ) => Promise<
          PaginatedResponse<
              {
                  id: string;
                  media_attachments: (
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          meta: {
                              focus?: { x: ...; y: ... };
                              original?: { aspect: ...; height: ...; size: ...; width: ... };
                              small?: { aspect: ...; height: ...; size: ...; width: ... };
                          };
                          mime_type: null
                          | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "image";
                          url: string;
                      }
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          meta: {
                              duration?: number;
                              original?: {
                                  aspect: ...;
                                  duration: ...;
                                  frame_rate: ...;
                                  height: ...;
                                  size: ...;
                                  width: ...;
                              };
                              small?: { aspect: ...; height: ...; size: ...; width: ... };
                          };
                          mime_type: null
                          | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "video";
                          url: string;
                      }
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          meta: {
                              duration?: number;
                              focus?: { x: ...; y: ... };
                              original?: { aspect: ...; height: ...; size: ...; width: ... };
                          };
                          mime_type: null
                          | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "gifv";
                          url: string;
                      }
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          meta: {
                              colors?: {
                                  accent?: ...;
                                  background?: ...;
                                  duration?: ...;
                                  foreground?: ...;
                              };
                              duration?: number;
                              original?: { bitrate?: ...; duration?: ... };
                          };
                          mime_type: null
                          | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "audio";
                          url: string;
                      }
                      | {
                          blurhash: null
                          | string;
                          description: string;
                          id: string;
                          mime_type: null | string;
                          preview_url: string;
                          remote_url: null | string;
                          type: "unknown";
                          url: string;
                      }
                  )[];
                  params: {
                      application_id: null
                      | number;
                      expires_in: null | number;
                      idempotency: null | string;
                      in_reply_to_id: null | string;
                      language: null | string;
                      media_ids: null | string;
                      poll:
                          | null
                          | {
                              expires_in: string;
                              hide_totals?: boolean;
                              multiple?: boolean;
                              options: string[];
                          };
                      scheduled_at: null
                      | string;
                      sensitive: null | boolean;
                      spoiler_text: null | string;
                      text: null | string;
                      visibility: string;
                      with_rate_limit: boolean;
                  };
                  scheduled_at: string;
              },
              true,
          >,
      >

      View scheduled statuses

    • updateScheduledStatus: (
          scheduledStatusId: string,
          scheduled_at: string,
      ) => Promise<
          {
              id: string;
              media_attachments: (
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          focus?: { x: number; y: number };
                          original?: {
                              aspect: (...) | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                          small?: {
                              aspect: (...)
                              | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "image";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          original?: {
                              aspect: (...) | (...);
                              duration: (...) | (...);
                              frame_rate: (...) | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                          small?: {
                              aspect: (...)
                              | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "video";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          focus?: { x: number; y: number };
                          original?: {
                              aspect: (...) | (...);
                              height: number;
                              size: (...) | (...);
                              width: number;
                          };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "gifv";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          colors?: {
                              accent?: (...) | (...);
                              background?: (...) | (...);
                              duration?: (...) | (...);
                              foreground?: (...) | (...);
                          };
                          duration?: number;
                          original?: { bitrate?: (...)
                          | (...); duration?: (...) | (...) };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "audio";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      mime_type: null | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "unknown";
                      url: string;
                  }
              )[];
              params: {
                  application_id: null
                  | number;
                  expires_in: null | number;
                  idempotency: null | string;
                  in_reply_to_id: null | string;
                  language: null | string;
                  media_ids: null | string;
                  poll:
                      | null
                      | {
                          expires_in: string;
                          hide_totals?: boolean;
                          multiple?: boolean;
                          options: string[];
                      };
                  scheduled_at: null
                  | string;
                  sensitive: null | boolean;
                  spoiler_text: null | string;
                  text: null | string;
                  visibility: string;
                  with_rate_limit: boolean;
              };
              scheduled_at: string;
          },
      >

      Update a scheduled status’s publishing date

    search: {
        search: (
            q: string,
            params?: SearchParams,
            meta?: RequestMeta,
        ) => Promise<
            {
                accounts: Account[];
                groups: {
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    created_at: string;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    header: string;
                    header_description: string;
                    header_static: string;
                    id: string;
                    locked: boolean;
                    members_count: number;
                    membership_required: boolean;
                    note: string;
                    owner: null
                    | { id: string };
                    relationship:
                        | null
                        | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                    statuses_visibility: string;
                    uri: string;
                    url: string;
                }[];
                hashtags: {
                    following?: boolean;
                    history: null
                    | { accounts: number; day: number; uses: number }[];
                    name: string;
                    total: null | number;
                    url: string;
                }[];
                statuses: Status[];
            },
        >;
        searchLocation: (
            q: string,
            meta?: RequestMeta,
        ) => Promise<
            {
                country: string;
                description: string;
                geom: null
                | { coordinates: null | [number, number]; srid: string };
                locality: string;
                origin_id: string;
                origin_provider: string;
                postal_code: string;
                region: string;
                street: string;
                timezone: string;
                type: string;
                url: string;
            }[],
        >;
    } = ...

    Type declaration

    • search: (
          q: string,
          params?: SearchParams,
          meta?: RequestMeta,
      ) => Promise<
          {
              accounts: Account[];
              groups: {
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  created_at: string;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  header: string;
                  header_description: string;
                  header_static: string;
                  id: string;
                  locked: boolean;
                  members_count: number;
                  membership_required: boolean;
                  note: string;
                  owner: null
                  | { id: string };
                  relationship:
                      | null
                      | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                  statuses_visibility: string;
                  uri: string;
                  url: string;
              }[];
              hashtags: {
                  following?: boolean;
                  history: null
                  | { accounts: number; day: number; uses: number }[];
                  name: string;
                  total: null | number;
                  url: string;
              }[];
              statuses: Status[];
          },
      >

      Perform a search

    • searchLocation: (
          q: string,
          meta?: RequestMeta,
      ) => Promise<
          {
              country: string;
              description: string;
              geom: null
              | { coordinates: null | [number, number]; srid: string };
              locality: string;
              origin_id: string;
              origin_provider: string;
              postal_code: string;
              region: string;
              street: string;
              timezone: string;
              type: string;
              url: string;
          }[],
      >

      Searches for locations

      Requires featuresFeatures.events.

    settings: {
        addAccountAlias: (alias: string) => Promise<{ status: "success" }>;
        authorizeIceshrimp: () => Promise<string>;
        changeEmail: (email: string, password: string) => Promise<{}>;
        changePassword: (
            current_password: string,
            new_password: string,
        ) => Promise<{}>;
        createAccount: (
            params: CreateAccountParams,
        ) => Promise<
            {
                access_token: string;
                created_at?: number;
                expires_in?: number;
                id?: string;
                me?: string;
                refresh_token?: string;
                scope: string;
                token_type: string;
            },
        >;
        createBackup: () => Promise<
            {
                content_type: string;
                file_size: number;
                id: string;
                inserted_at: string;
                processed: boolean;
                url: string;
            },
        >;
        deleteAccount: (password: string) => Promise<{}>;
        deleteAccountAlias: (alias: string) => Promise<{ status: "success" }>;
        deleteAccountWithoutPassword: () => Promise<{}>;
        deleteAvatar: () => Promise<CredentialAccount>;
        deleteHeader: () => Promise<CredentialAccount>;
        deleteOauthToken: (oauthTokenId: string) => Promise<{}>;
        disableAccount: (password: string) => Promise<{}>;
        exportBlocks: () => Promise<string>;
        exportFollowers: () => Promise<string>;
        exportFollows: () => Promise<string>;
        exportLists: () => Promise<string>;
        exportMutes: () => Promise<string>;
        getAccountAliases: () => Promise<{ aliases: string[] }>;
        getAvailableFrontends: () => Promise<string[]>;
        getBackups: () => Promise<
            {
                content_type: string;
                file_size: number;
                id: string;
                inserted_at: string;
                processed: boolean;
                url: string;
            }[],
        >;
        getInteractionPolicies: () => Promise<
            {
                direct: {
                    can_favourite: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reblog: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reply: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                };
                private: {
                    can_favourite: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reblog: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reply: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                };
                public: {
                    can_favourite: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reblog: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reply: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                };
                unlisted: {
                    can_favourite: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reblog: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reply: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                };
            },
        >;
        getOauthTokens: () => Promise<
            PaginatedResponse<
                {
                    app_name: string;
                    app_website: string;
                    created_at: null
                    | string;
                    id: string;
                    last_used: null | string;
                    scopes: string[];
                    valid_until: null | string;
                },
                true,
            >,
        >;
        getPreferences: () => Promise<Record<string, any>>;
        importBlocks: (
            list: string | File,
            mode?: "merge" | "overwrite",
        ) => Promise<any>;
        importFollowers: (list: string | File, actorId: string) => Promise<any>;
        importFollows: (
            list: string | File,
            mode?: "merge" | "overwrite",
        ) => Promise<any>;
        importMutes: (
            list: string | File,
            mode?: "merge" | "overwrite",
        ) => Promise<any>;
        mfa: {
            confirmMfaSetup: (
                method: "totp",
                code: string,
                password: string,
            ) => Promise<{}>;
            disableMfa: (method: "totp", password: string) => Promise<{}>;
            getMfaBackupCodes: () => Promise<{ codes: string[] }>;
            getMfaSettings: () => Promise<
                { settings: { enabled: boolean; totp: boolean } },
            >;
            getMfaSetup: (
                method: "totp",
            ) => Promise<{ key: string; provisioning_uri: string }>;
        };
        moveAccount: (target_account: string, password: string) => Promise<{}>;
        resetPassword: (email?: string, nickname?: string) => Promise<{}>;
        setPreferredFrontend: (
            frontendName: string,
        ) => Promise<{ frontend_name: string }>;
        updateCredentials: (
            params: UpdateCredentialsParams,
        ) => Promise<CredentialAccount>;
        updateInteractionPolicies: (
            params: UpdateInteractionPoliciesParams,
        ) => Promise<
            {
                direct: {
                    can_favourite: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reblog: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reply: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                };
                private: {
                    can_favourite: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reblog: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reply: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                };
                public: {
                    can_favourite: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reblog: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reply: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                };
                unlisted: {
                    can_favourite: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reblog: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reply: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                };
            },
        >;
        updateNotificationSettings: (
            params: UpdateNotificationSettingsParams,
        ) => Promise<{ status: string }>;
        verifyCredentials: () => Promise<CredentialAccount>;
    } = ...

    Type declaration

    • addAccountAlias: (alias: string) => Promise<{ status: "success" }>

      Add alias to the current account

      Requires featuresFeatures.manageAccountAliases.

    • authorizeIceshrimp: () => Promise<string>
    • changeEmail: (email: string, password: string) => Promise<{}>

      Requires featuresFeatures.changeEmail.

    • changePassword: (current_password: string, new_password: string) => Promise<{}>

      Change account password

      Requires featuresFeatures.changePassword.

    • createAccount: (
          params: CreateAccountParams,
      ) => Promise<
          {
              access_token: string;
              created_at?: number;
              expires_in?: number;
              id?: string;
              me?: string;
              refresh_token?: string;
              scope: string;
              token_type: string;
          },
      >

      Register an account Creates a user and account records. Returns an account access token for the app that initiated the request. The app should save this token for later, and should wait for the user to confirm their account by clicking a link in their email inbox.

      Requires featuresFeatures.accountCreation

    • createBackup: () => Promise<
          {
              content_type: string;
              file_size: number;
              id: string;
              inserted_at: string;
              processed: boolean;
              url: string;
          },
      >

      Create a user backup archive

      Requires featuresFeatures.accountBackups.

    • deleteAccount: (password: string) => Promise<{}>

      Requires featuresFeatures.deleteAccount.

    • deleteAccountAlias: (alias: string) => Promise<{ status: "success" }>

      Delete alias from the current account

      Requires featuresFeatures.manageAccountAliases.

    • deleteAccountWithoutPassword: () => Promise<{}>
    • deleteAvatar: () => Promise<CredentialAccount>

      Delete profile avatar Deletes the avatar associated with the user’s profile.

    • deleteHeader: () => Promise<CredentialAccount>

      Delete profile header Deletes the header image associated with the user’s profile.

    • deleteOauthToken: (oauthTokenId: string) => Promise<{}>

      Revoke a user session by its ID

      Requires featuresFeatures.sessions.

    • disableAccount: (password: string) => Promise<{}>

      Disable an account

      Requires featuresFeatures.disableAccount.

    • exportBlocks: () => Promise<string>

      Export blocks to CSV file

      Requires featuresFeatures.exportBlocks.

    • exportFollowers: () => Promise<string>

      Export followers to CSV file

      Requires featuresFeatures.exportFollowers.

    • exportFollows: () => Promise<string>

      Export follows to CSV file

      Requires featuresFeatures.exportFollows.

    • exportLists: () => Promise<string>

      Export lists to CSV file

      Requires featuresFeatures.exportLists.

    • exportMutes: () => Promise<string>

      Export mutes to CSV file

      Requires featuresFeatures.exportMutes.

    • getAccountAliases: () => Promise<{ aliases: string[] }>

      Get aliases of the current account

      Requires featuresFeatures.manageAccountAliases.

    • getAvailableFrontends: () => Promise<string[]>

      List frontend setting profiles

      Requires featuresFeatures.preferredFrontends.

    • getBackups: () => Promise<
          {
              content_type: string;
              file_size: number;
              id: string;
              inserted_at: string;
              processed: boolean;
              url: string;
          }[],
      >

      List user backups

      Requires featuresFeatures.accountBackups.

    • getInteractionPolicies: () => Promise<
          {
              direct: {
                  can_favourite: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reblog: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reply: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
              };
              private: {
                  can_favourite: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reblog: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reply: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
              };
              public: {
                  can_favourite: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reblog: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reply: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
              };
              unlisted: {
                  can_favourite: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reblog: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reply: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
              };
          },
      >

      Get default interaction policies for new statuses created by you.

      Requires featuresFeatures.interactionRequests.

    • getOauthTokens: () => Promise<
          PaginatedResponse<
              {
                  app_name: string;
                  app_website: string;
                  created_at: null
                  | string;
                  id: string;
                  last_used: null | string;
                  scopes: string[];
                  valid_until: null | string;
              },
              true,
          >,
      >

      Retrieve a list of active sessions for the user

      Requires featuresFeatures.sessions.

    • getPreferences: () => Promise<Record<string, any>>

      View user preferences Preferences defined by the user in their account settings.

    • importBlocks: (list: string | File, mode?: "merge" | "overwrite") => Promise<any>

      Imports your blocks.

      Requires featuresFeatures.importBlocks. overwrite mode requires featuresFeatures.importOverwrite.

    • importFollowers: (list: string | File, actorId: string) => Promise<any>

      Move followers from remote alias. (experimental?)

      Requires featuresFeatures.importFollowers.

    • importFollows: (list: string | File, mode?: "merge" | "overwrite") => Promise<any>

      Imports your follows, for example from a Mastodon CSV file.

      Requires featuresFeatures.importFollows. overwrite mode requires featuresFeatures.importOverwrite.

    • importMutes: (list: string | File, mode?: "merge" | "overwrite") => Promise<any>

      Imports your mutes.

      Requires featuresFeatures.importMutes. overwrite mode requires featuresFeatures.importOverwrite.

    • mfa: {
          confirmMfaSetup: (
              method: "totp",
              code: string,
              password: string,
          ) => Promise<{}>;
          disableMfa: (method: "totp", password: string) => Promise<{}>;
          getMfaBackupCodes: () => Promise<{ codes: string[] }>;
          getMfaSettings: () => Promise<
              { settings: { enabled: boolean; totp: boolean } },
          >;
          getMfaSetup: (
              method: "totp",
          ) => Promise<{ key: string; provisioning_uri: string }>;
      }
      • confirmMfaSetup: (method: "totp", code: string, password: string) => Promise<{}>

        Requires featuresFeatures.manageMfa.

      • disableMfa: (method: "totp", password: string) => Promise<{}>

        Requires featuresFeatures.manageMfa.

      • getMfaBackupCodes: () => Promise<{ codes: string[] }>

        Requires featuresFeatures.manageMfa.

      • getMfaSettings: () => Promise<{ settings: { enabled: boolean; totp: boolean } }>

        Requires featuresFeatures.manageMfa.

      • getMfaSetup: (method: "totp") => Promise<{ key: string; provisioning_uri: string }>

        Requires featuresFeatures.manageMfa.

    • moveAccount: (target_account: string, password: string) => Promise<{}>

      Requires featuresFeatures.accountMoving.

    • resetPassword: (email?: string, nickname?: string) => Promise<{}>

      Request password reset e-mail

      Requires featuresFeatures.resetPassword.

    • setPreferredFrontend: (frontendName: string) => Promise<{ frontend_name: string }>

      Update preferred frontend setting

      Store preferred frontend in cookies

      Requires featuresFeatures.preferredFrontends.

    • updateCredentials: (params: UpdateCredentialsParams) => Promise<CredentialAccount>

      Update account credentials Update the user’s display and preferences.

    • updateInteractionPolicies: (
          params: UpdateInteractionPoliciesParams,
      ) => Promise<
          {
              direct: {
                  can_favourite: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reblog: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reply: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
              };
              private: {
                  can_favourite: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reblog: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reply: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
              };
              public: {
                  can_favourite: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reblog: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reply: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
              };
              unlisted: {
                  can_favourite: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reblog: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reply: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
              };
          },
      >

      Update default interaction policies per visibility level for new statuses created by you.

      Requires featuresFeatures.interactionRequests.

    • updateNotificationSettings: (params: UpdateNotificationSettingsParams) => Promise<{ status: string }>

      Updates user notification settings

      Requires featuresFeatures.muteStrangers.

    • verifyCredentials: () => Promise<CredentialAccount>

      Verify account credentials Test to make sure that the user token works.

    shoutbox: {
        connect: (
            token: string,
            __namedParameters: {
                onMessage: (
                    message: {
                        author: {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: null | string;
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: string; value: string; verified_at: null
                            | string }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: string; value: string; verified_at: string }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            moved:
                                | null
                                | {
                                    __meta: { pleroma?: any; source?: any };
                                    accepts_chat_messages: null | boolean;
                                    acct: string;
                                    ap_id: null | string;
                                    avatar: string;
                                    avatar_description: string;
                                    avatar_static: string;
                                    background_image: null | string;
                                    birthday?: string;
                                    bot: boolean;
                                    created_at: string;
                                    custom_css: string;
                                    deactivated?: boolean;
                                    discoverable: boolean;
                                    display_name: string;
                                    domain: string;
                                    emojis: {
                                        category: ...;
                                        shortcode: ...;
                                        static_url: ...;
                                        url: ...;
                                        visible_in_picker: ...;
                                    }[];
                                    enable_rss: boolean;
                                    favicon?: string;
                                    fields: { name: ...; value: ...; verified_at: ... }[];
                                    followers_count: number;
                                    following_count: number;
                                    fqn: string;
                                    group: boolean;
                                    header: string;
                                    header_description: string;
                                    header_static: string;
                                    hide_collections?: boolean;
                                    hide_favorites: boolean;
                                    hide_followers?: boolean;
                                    hide_followers_count?: boolean;
                                    hide_follows?: boolean;
                                    hide_follows_count?: boolean;
                                    id: string;
                                    identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                                    is_admin?: boolean;
                                    is_cat: boolean;
                                    is_moderator?: boolean;
                                    is_suggested?: boolean;
                                    last_status_at: null | string;
                                    limited?: boolean;
                                    local?: boolean;
                                    location?: string;
                                    locked: boolean;
                                    mention_policy: "none" | "only_known" | "only_followers";
                                    noindex: null | boolean;
                                    note: string;
                                    payment_options: {
                                        chain_id: ...;
                                        href: ...;
                                        name: ...;
                                        object_id: ...;
                                        price: ...;
                                        type: ...;
                                    }[];
                                    permit_followback?: boolean;
                                    pronouns: string[];
                                    relationship?: {
                                        blocked_by: ...;
                                        blocking: ...;
                                        domain_blocking: ...;
                                        endorsed: ...;
                                        followed_by: ...;
                                        following: ...;
                                        id: ...;
                                        muting: ...;
                                        muting_notifications: ...;
                                        note: ...;
                                        notifying: ...;
                                        requested: ...;
                                        showing_reblogs: ...;
                                    };
                                    roles: {
                                        color: ...;
                                        highlighted: ...;
                                        id: ...;
                                        name: ...;
                                        permissions: ...;
                                    }[];
                                    speak_as_cat: boolean;
                                    statuses_count: number;
                                    subscribers_count: number;
                                    suspended?: boolean;
                                    url: string;
                                    username: string;
                                    verified?: boolean;
                                };
                            noindex: null
                            | boolean;
                            note: string;
                            payment_options: {
                                chain_id: null | string;
                                href: null | string;
                                name: null | string;
                                object_id: null | string;
                                price: null | string;
                                type: "link" | "monero-subscription";
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: boolean;
                                blocking: boolean;
                                domain_blocking: boolean;
                                endorsed: boolean;
                                followed_by: boolean;
                                following: boolean;
                                id: string;
                                muting: boolean;
                                muting_notifications: boolean;
                                note: string;
                                notifying: boolean;
                                requested: boolean;
                                showing_reblogs: boolean;
                            };
                            roles: {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        } & WithMoved;
                        id: number;
                        text: string;
                    },
                ) => void;
                onMessages: (
                    messages: {
                        author: {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: (...) | (...);
                                shortcode: string;
                                static_url: string;
                                url: string;
                                visible_in_picker: boolean;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: string; value: string; verified_at: (...)
                            | (...) }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: string; value: string; verified_at: string }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            moved:
                                | null
                                | {
                                    __meta: { pleroma?: ...; source?: ... };
                                    accepts_chat_messages: (...) | (...) | (...);
                                    acct: string;
                                    ap_id: (...) | (...);
                                    avatar: string;
                                    avatar_description: string;
                                    avatar_static: string;
                                    background_image: (...) | (...);
                                    birthday?: (...) | (...);
                                    bot: boolean;
                                    created_at: string;
                                    custom_css: string;
                                    deactivated?: (...) | (...) | (...);
                                    discoverable: boolean;
                                    display_name: string;
                                    domain: string;
                                    emojis: (...)[];
                                    enable_rss: boolean;
                                    favicon?: (...) | (...);
                                    fields: (...)[];
                                    followers_count: number;
                                    following_count: number;
                                    fqn: string;
                                    group: boolean;
                                    header: string;
                                    header_description: string;
                                    header_static: string;
                                    hide_collections?: (...) | (...) | (...);
                                    hide_favorites: boolean;
                                    hide_followers?: (...) | (...) | (...);
                                    hide_followers_count?: (...) | (...) | (...);
                                    hide_follows?: (...) | (...) | (...);
                                    hide_follows_count?: (...) | (...) | (...);
                                    id: string;
                                    identity_proofs: (...)[];
                                    is_admin?: (...) | (...) | (...);
                                    is_cat: boolean;
                                    is_moderator?: (...) | (...) | (...);
                                    is_suggested?: (...) | (...) | (...);
                                    last_status_at: (...) | (...);
                                    limited?: (...) | (...) | (...);
                                    local?: (...) | (...) | (...);
                                    location?: (...) | (...);
                                    locked: boolean;
                                    mention_policy: (...) | (...) | (...);
                                    noindex: (...) | (...) | (...);
                                    note: string;
                                    payment_options: (...)[];
                                    permit_followback?: (...) | (...) | (...);
                                    pronouns: (...)[];
                                    relationship?: (...) | (...);
                                    roles: (...)[];
                                    speak_as_cat: boolean;
                                    statuses_count: number;
                                    subscribers_count: number;
                                    suspended?: (...) | (...) | (...);
                                    url: string;
                                    username: string;
                                    verified?: (...) | (...) | (...);
                                };
                            noindex: null
                            | boolean;
                            note: string;
                            payment_options: {
                                chain_id: (...) | (...);
                                href: (...) | (...);
                                name: (...) | (...);
                                object_id: (...) | (...);
                                price: (...) | (...);
                                type: (...) | (...);
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: boolean;
                                blocking: boolean;
                                domain_blocking: boolean;
                                endorsed: boolean;
                                followed_by: boolean;
                                following: boolean;
                                id: string;
                                muting: boolean;
                                muting_notifications: boolean;
                                note: string;
                                notifying: boolean;
                                requested: boolean;
                                showing_reblogs: boolean;
                            };
                            roles: {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        } & WithMoved;
                        id: number;
                        text: string;
                    }[],
                ) => void;
            },
        ) => { close: () => void; message: (text: string) => void };
    } = ...
    statuses: {
        bookmarkStatus: (statusId: string, folderId?: string) => Promise<Status>;
        createStatus: (
            params: CreateStatusParams,
        ) => Promise<
            | Status
            | {
                id: string;
                media_attachments: (
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "image";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            original?: {
                                aspect: ...;
                                duration: ...;
                                frame_rate: ...;
                                height: ...;
                                size: ...;
                                width: ...;
                            };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "video";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "gifv";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            colors?: {
                                accent?: ...;
                                background?: ...;
                                duration?: ...;
                                foreground?: ...;
                            };
                            duration?: number;
                            original?: { bitrate?: ...; duration?: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "audio";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        mime_type: null | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "unknown";
                        url: string;
                    }
                )[];
                params: {
                    application_id: null
                    | number;
                    expires_in: null | number;
                    idempotency: null | string;
                    in_reply_to_id: null | string;
                    language: null | string;
                    media_ids: null | string;
                    poll:
                        | null
                        | {
                            expires_in: string;
                            hide_totals?: boolean;
                            multiple?: boolean;
                            options: string[];
                        };
                    scheduled_at: null
                    | string;
                    sensitive: null | boolean;
                    spoiler_text: null | string;
                    text: null | string;
                    visibility: string;
                    with_rate_limit: boolean;
                };
                scheduled_at: string;
            },
        >;
        createStatusReaction: (statusId: string, emoji: string) => Promise<Status>;
        deleteStatus: (
            statusId: string,
            deleteMedia?: boolean,
        ) => Promise<
            {
                content_type: string;
                id: string;
                location: | null
                | {
                    country: string;
                    description: string;
                    geom: null
                    | { coordinates: null | [number, number]; srid: string };
                    locality: string;
                    origin_id: string;
                    origin_provider: string;
                    postal_code: string;
                    region: string;
                    street: string;
                    timezone: string;
                    type: string;
                    url: string;
                };
                spoiler_text: string;
                spoiler_text_map: null
                | { [key: string]: string };
                text: string;
                text_map: null | { [key: string]: string };
            },
        >;
        deleteStatusReaction: (statusId: string, emoji: string) => Promise<Status>;
        dislikeStatus: (statusId: string) => Promise<Status>;
        editStatus: (statusId: string, params: EditStatusParams) => Promise<Status>;
        favouriteStatus: (statusId: string) => Promise<Status>;
        getContext: (
            statusId: string,
            params?: LanguageParam,
        ) => Promise<
            { ancestors: Status[]; descendants: Status[]; references: Status[] },
        >;
        getDislikedBy: (
            statusId: string,
        ) => Promise<PaginatedResponse<Account, true>>;
        getFavouritedBy: (
            statusId: string,
            params?: GetFavouritedByParams,
        ) => Promise<PaginatedResponse<Account, true>>;
        getRebloggedBy: (
            statusId: string,
            params?: GetRebloggedByParams,
        ) => Promise<PaginatedResponse<Account, true>>;
        getStatus: (statusId: string, params?: LanguageParam) => Promise<Status>;
        getStatusBookmarkFolders: (
            statusId: string,
        ) => Promise<
            {
                emoji: null
                | string;
                emoji_url: null | string;
                id: string;
                name: string;
            }[],
        >;
        getStatuses: (
            statusIds: string[],
            params?: LanguageParam,
        ) => Promise<Status[]>;
        getStatusHistory: (
            statusId: string,
        ) => Promise<
            {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                content: string;
                created_at: string;
                emojis: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                media_attachments: (
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "image";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            original?: {
                                aspect: ...;
                                duration: ...;
                                frame_rate: ...;
                                height: ...;
                                size: ...;
                                width: ...;
                            };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "video";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "gifv";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            colors?: {
                                accent?: ...;
                                background?: ...;
                                duration?: ...;
                                foreground?: ...;
                            };
                            duration?: number;
                            original?: { bitrate?: ...; duration?: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "audio";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        mime_type: null | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "unknown";
                        url: string;
                    }
                )[];
                poll: null
                | { options: { title: string }[] };
                sensitive: boolean;
                spoiler_text: string;
            }[],
        >;
        getStatusMentionedUsers: (
            statusId: string,
            params?: PaginationParams,
        ) => Promise<PaginatedResponse<Account, true>>;
        getStatusQuotes: (
            statusId: string,
            params?: PaginationParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        getStatusReactions: (
            statusId: string,
            emoji?: string,
        ) => Promise<
            (
                | {
                    account_ids: string[];
                    accounts: Account[];
                    count: null
                    | number;
                    me: boolean;
                    name: string;
                    static_url: undefined;
                    url: undefined;
                }
                | {
                    account_ids: string[];
                    accounts: Account[];
                    count: null
                    | number;
                    me: boolean;
                    name: string;
                    static_url: string;
                    url: string;
                }
            )[],
        >;
        getStatusReferences: (
            statusId: string,
            params?: PaginationParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        getStatusSource: (
            statusId: string,
        ) => Promise<
            {
                content_type: string;
                id: string;
                location: | null
                | {
                    country: string;
                    description: string;
                    geom: null
                    | { coordinates: null | [number, number]; srid: string };
                    locality: string;
                    origin_id: string;
                    origin_provider: string;
                    postal_code: string;
                    region: string;
                    street: string;
                    timezone: string;
                    type: string;
                    url: string;
                };
                spoiler_text: string;
                spoiler_text_map: null
                | { [key: string]: string };
                text: string;
                text_map: null | { [key: string]: string };
            },
        >;
        loadConversation: (statusId: string) => Promise<{}>;
        muteStatus: (statusId: string) => Promise<Status>;
        pinStatus: (statusId: string) => Promise<Status>;
        previewStatus: (
            params: CreateStatusParams,
        ) => Promise<
            {
                account?: Account;
                application?: null
                | { name: string; website: null | string };
                approval_status?: null | "rejected" | "pending" | "approval";
                bookmark_folder?: null | string;
                bookmarked?: boolean;
                card?:
                    | null
                    | {
                        author_name: string;
                        author_url: string;
                        authors: { account: null
                        | Account; name: string; url: string }[];
                        blurhash: null | string;
                        description: string;
                        embed_url: string;
                        height: number;
                        html: string;
                        image: null | string;
                        image_description: string;
                        provider_name: string;
                        provider_url: string;
                        title: string;
                        type: "link" | "video" | "photo" | "rich";
                        url: string;
                        width: number;
                    };
                content?: string;
                content_map?: null
                | { [key: string]: string };
                content_type?: null | string;
                conversation_id?: string;
                created_at?: string;
                direct_conversation_id?: string;
                disliked?: boolean;
                dislikes_count?: number;
                edited_at?: null | string;
                emoji_reactions?: (
                    | {
                        account_ids: string[];
                        accounts: Account[];
                        count: null
                        | number;
                        me: boolean;
                        name: string;
                        static_url: undefined;
                        url: undefined;
                    }
                    | {
                        account_ids: string[];
                        accounts: Account[];
                        count: null
                        | number;
                        me: boolean;
                        name: string;
                        static_url: string;
                        url: string;
                    }
                )[];
                emojis?: {
                    category: null
                    | string;
                    shortcode: string;
                    static_url: string;
                    url: string;
                    visible_in_picker: boolean;
                }[];
                event?: | null
                | {
                    end_time: null
                    | string;
                    join_mode: null | "free" | "restricted" | "invite" | "external";
                    join_state: null | "pending" | "reject" | "accept";
                    location:
                        | null
                        | {
                            country: string;
                            latitude: null
                            | number;
                            locality: string;
                            longitude: null | number;
                            name: string;
                            postal_code: string;
                            region: string;
                            street: string;
                            url: string;
                        };
                    name: string;
                    participants_count: number;
                    start_time: null
                    | string;
                };
                expires_at?: string;
                favourited?: boolean;
                favourites_count?: number;
                filtered?: {
                    filter: {
                        context: (
                            "public"
                            | "account"
                            | "home"
                            | "notifications"
                            | "thread"
                        )[];
                        expires_at: null | string;
                        filter_action: "warn" | "hide" | "blur";
                        id: string;
                        title: string;
                    };
                    keyword_matches: null
                    | string;
                    status_matches: null | string;
                }[];
                group?: | null
                | {
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    created_at: string;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null
                        | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    header: string;
                    header_description: string;
                    header_static: string;
                    id: string;
                    locked: boolean;
                    members_count: number;
                    membership_required: boolean;
                    note: string;
                    owner: null
                    | { id: string };
                    relationship:
                        | null
                        | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                    statuses_visibility: string;
                    uri: string;
                    url: string;
                };
                id?: string;
                in_reply_to_account_acct?: string;
                in_reply_to_account_id?: null
                | string;
                in_reply_to_id?: null | string;
                interaction_policy?: {
                    can_favourite: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reblog: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                    can_reply: {
                        always: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                        with_approval: (
                            | "following"
                            | "public"
                            | "me"
                            | "followers"
                            | "mutuals"
                            | "mentioned"
                            | "author"
                        )[];
                    };
                };
                language?: null
                | string;
                list_id?: null | number;
                local?: boolean;
                media_attachments?: (
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "image";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            original?: {
                                aspect: ...;
                                duration: ...;
                                frame_rate: ...;
                                height: ...;
                                size: ...;
                                width: ...;
                            };
                            small?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "video";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            duration?: number;
                            focus?: { x: ...; y: ... };
                            original?: { aspect: ...; height: ...; size: ...; width: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "gifv";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        meta: {
                            colors?: {
                                accent?: ...;
                                background?: ...;
                                duration?: ...;
                                foreground?: ...;
                            };
                            duration?: number;
                            original?: { bitrate?: ...; duration?: ... };
                        };
                        mime_type: null
                        | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "audio";
                        url: string;
                    }
                    | {
                        blurhash: null
                        | string;
                        description: string;
                        id: string;
                        mime_type: null | string;
                        preview_url: string;
                        remote_url: null | string;
                        type: "unknown";
                        url: string;
                    }
                )[];
                mentions?: { acct: string; id: string; url: string; username: string }[];
                muted?: boolean;
                parent_visible?: boolean;
                pinned?: boolean;
                pinned_at?: null | string;
                poll?:
                    | null
                    | {
                        emojis: {
                            category: null
                            | string;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        expired: boolean;
                        expires_at: null
                        | string;
                        id: string;
                        multiple: boolean;
                        non_anonymous: boolean;
                        options: {
                            title: string;
                            title_map: null | { [key: string]: string };
                            votes_count: number;
                        }[];
                        own_votes: null
                        | number[];
                        voted: boolean;
                        voters_count: number;
                        votes_count: number;
                    };
                quote?: | null
                | {
                    state: | "rejected"
                    | "pending"
                    | "accepted"
                    | "revoked"
                    | "deleted"
                    | "unauthorized";
                    status: null
                    | Status;
                }
                | {
                    state: | "rejected"
                    | "pending"
                    | "accepted"
                    | "revoked"
                    | "deleted"
                    | "unauthorized";
                    status_id: null
                    | string;
                };
                quote_id?: null
                | string;
                quote_url?: string;
                quote_visible?: boolean;
                quotes_count?: number;
                reblog?: null | Status;
                reblogged?: boolean;
                reblogs_count?: number;
                replies_count?: number;
                rss_feed?:
                    | null
                    | {
                        description: null
                        | string;
                        id: string;
                        image_url: null | string;
                        title: null | string;
                        url: string;
                    };
                scheduled_at?: null;
                sensitive?: boolean;
                spoiler_text?: string;
                spoiler_text_map?: null
                | { [key: string]: string };
                tags?: {
                    following?: boolean;
                    history: null | { accounts: number; day: number; uses: number }[];
                    name: string;
                    total: null | number;
                    url: string;
                }[];
                text?: null
                | string;
                text_map?: null | { [key: string]: string };
                thread_muted?: boolean;
                translation?:
                    | null
                    | false
                    | {
                        content: string;
                        detected_source_language: string;
                        id: null
                        | string;
                        media_attachments: { description: string; id: string }[];
                        poll?: { id: string; options: { title: string }[] };
                        provider: null | string;
                        spoiler_text: string;
                    };
                uri?: string;
                url?: string;
                visibility?: string;
            },
        >;
        reblogStatus: (statusId: string, visibility?: string) => Promise<Status>;
        translateStatus: (
            statusId: string,
            lang?: string,
        ) => Promise<
            {
                content: string;
                detected_source_language: string;
                id: null
                | string;
                media_attachments: { description: string; id: string }[];
                poll?: { id: string; options: { title: string }[] };
                provider: null | string;
                spoiler_text: string;
            },
        >;
        translateStatuses: (
            statusIds: string[],
            lang: string,
        ) => Promise<
            {
                content: string;
                detected_source_language: string;
                id: null
                | string;
                media_attachments: { description: string; id: string }[];
                poll?: { id: string; options: { title: string }[] };
                provider: null | string;
                spoiler_text: string;
            }[],
        >;
        unbookmarkStatus: (statusId: string) => Promise<Status>;
        undislikeStatus: (statusId: string) => Promise<Status>;
        unfavouriteStatus: (statusId: string) => Promise<Status>;
        unmuteStatus: (statusId: string) => Promise<Status>;
        unpinStatus: (statusId: string) => Promise<Status>;
        unreblogStatus: (statusId: string) => Promise<Status>;
    } = ...

    Type declaration

    • bookmarkStatus: (statusId: string, folderId?: string) => Promise<Status>

      Bookmark a status Privately bookmark a status.

    • createStatus: (
          params: CreateStatusParams,
      ) => Promise<
          | Status
          | {
              id: string;
              media_attachments: (
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "image";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          original?: {
                              aspect: ...;
                              duration: ...;
                              frame_rate: ...;
                              height: ...;
                              size: ...;
                              width: ...;
                          };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "video";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "gifv";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          colors?: {
                              accent?: ...;
                              background?: ...;
                              duration?: ...;
                              foreground?: ...;
                          };
                          duration?: number;
                          original?: { bitrate?: ...; duration?: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "audio";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      mime_type: null | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "unknown";
                      url: string;
                  }
              )[];
              params: {
                  application_id: null
                  | number;
                  expires_in: null | number;
                  idempotency: null | string;
                  in_reply_to_id: null | string;
                  language: null | string;
                  media_ids: null | string;
                  poll:
                      | null
                      | {
                          expires_in: string;
                          hide_totals?: boolean;
                          multiple?: boolean;
                          options: string[];
                      };
                  scheduled_at: null
                  | string;
                  sensitive: null | boolean;
                  spoiler_text: null | string;
                  text: null | string;
                  visibility: string;
                  with_rate_limit: boolean;
              };
              scheduled_at: string;
          },
      >

      Post a new status Publish a status with the given parameters.

    • createStatusReaction: (statusId: string, emoji: string) => Promise<Status>

      React to a post with a unicode emoji

      Requires featuresFeatures.emojiReacts. Using custom emojis requires featuresFeatures.customEmojiReacts.

    • deleteStatus: (
          statusId: string,
          deleteMedia?: boolean,
      ) => Promise<
          {
              content_type: string;
              id: string;
              location: | null
              | {
                  country: string;
                  description: string;
                  geom: null
                  | { coordinates: null | [number, number]; srid: string };
                  locality: string;
                  origin_id: string;
                  origin_provider: string;
                  postal_code: string;
                  region: string;
                  street: string;
                  timezone: string;
                  type: string;
                  url: string;
              };
              spoiler_text: string;
              spoiler_text_map: null
              | { [key: string]: string };
              text: string;
              text_map: null | { [key: string]: string };
          },
      >

      Delete a status Delete one of your own statuses.

      delete_media parameters requires featuresFeatures.deleteMedia.

    • deleteStatusReaction: (statusId: string, emoji: string) => Promise<Status>

      Remove a reaction to a post with a unicode emoji

      Requires featuresFeatures.emojiReacts.

    • dislikeStatus: (statusId: string) => Promise<Status>

      Marks the given status as disliked by this user

    • editStatus: (statusId: string, params: EditStatusParams) => Promise<Status>

      Edit a status Edit a given status to change its text, sensitivity, media attachments, or poll. Note that editing a poll’s options will reset the votes.

    • favouriteStatus: (statusId: string) => Promise<Status>

      Favourite a status Add a status to your favourites list.

    • getContext: (
          statusId: string,
          params?: LanguageParam,
      ) => Promise<
          { ancestors: Status[]; descendants: Status[]; references: Status[] },
      >

      Get parent and child statuses in context View statuses above and below this status in the thread.

    • getDislikedBy: (statusId: string) => Promise<PaginatedResponse<Account, true>>

      Returns the list of accounts that have disliked the status as known by the current server

      Requires featuresFeatures.statusDislikes.

    • getFavouritedBy: (
          statusId: string,
          params?: GetFavouritedByParams,
      ) => Promise<PaginatedResponse<Account, true>>

      See who favourited a status View who favourited a given status.

    • getRebloggedBy: (
          statusId: string,
          params?: GetRebloggedByParams,
      ) => Promise<PaginatedResponse<Account, true>>

      See who boosted a status View who boosted a given status.

    • getStatus: (statusId: string, params?: LanguageParam) => Promise<Status>

      View a single status Obtain information about a status.

    • getStatusBookmarkFolders: (
          statusId: string,
      ) => Promise<
          {
              emoji: null
              | string;
              emoji_url: null | string;
              id: string;
              name: string;
          }[],
      >
    • getStatuses: (statusIds: string[], params?: LanguageParam) => Promise<Status[]>

      View multiple statuses Obtain information about multiple statuses.

      Requires featuresFeatures.getStatuses.

    • getStatusHistory: (
          statusId: string,
      ) => Promise<
          {
              account: {
                  __meta: { pleroma?: any; source?: any };
                  accepts_chat_messages: null | boolean;
                  acct: string;
                  ap_id: null | string;
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  background_image: null | string;
                  birthday?: string;
                  bot: boolean;
                  created_at: string;
                  custom_css: string;
                  deactivated?: boolean;
                  discoverable: boolean;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  enable_rss: boolean;
                  favicon?: string;
                  fields: { name: string; value: string; verified_at: null
                  | string }[];
                  followers_count: number;
                  following_count: number;
                  fqn: string;
                  group: boolean;
                  header: string;
                  header_description: string;
                  header_static: string;
                  hide_collections?: boolean;
                  hide_favorites: boolean;
                  hide_followers?: boolean;
                  hide_followers_count?: boolean;
                  hide_follows?: boolean;
                  hide_follows_count?: boolean;
                  id: string;
                  identity_proofs: { name: string; value: string; verified_at: string }[];
                  is_admin?: boolean;
                  is_cat: boolean;
                  is_moderator?: boolean;
                  is_suggested?: boolean;
                  last_status_at: null | string;
                  limited?: boolean;
                  local?: boolean;
                  location?: string;
                  locked: boolean;
                  mention_policy: "none" | "only_known" | "only_followers";
                  moved:
                      | null
                      | {
                          __meta: { pleroma?: any; source?: any };
                          accepts_chat_messages: null | boolean;
                          acct: string;
                          ap_id: null | string;
                          avatar: string;
                          avatar_description: string;
                          avatar_static: string;
                          background_image: null | string;
                          birthday?: string;
                          bot: boolean;
                          created_at: string;
                          custom_css: string;
                          deactivated?: boolean;
                          discoverable: boolean;
                          display_name: string;
                          domain: string;
                          emojis: {
                              category: ...;
                              shortcode: ...;
                              static_url: ...;
                              url: ...;
                              visible_in_picker: ...;
                          }[];
                          enable_rss: boolean;
                          favicon?: string;
                          fields: { name: ...; value: ...; verified_at: ... }[];
                          followers_count: number;
                          following_count: number;
                          fqn: string;
                          group: boolean;
                          header: string;
                          header_description: string;
                          header_static: string;
                          hide_collections?: boolean;
                          hide_favorites: boolean;
                          hide_followers?: boolean;
                          hide_followers_count?: boolean;
                          hide_follows?: boolean;
                          hide_follows_count?: boolean;
                          id: string;
                          identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                          is_admin?: boolean;
                          is_cat: boolean;
                          is_moderator?: boolean;
                          is_suggested?: boolean;
                          last_status_at: null | string;
                          limited?: boolean;
                          local?: boolean;
                          location?: string;
                          locked: boolean;
                          mention_policy: "none" | "only_known" | "only_followers";
                          noindex: null | boolean;
                          note: string;
                          payment_options: {
                              chain_id: ...;
                              href: ...;
                              name: ...;
                              object_id: ...;
                              price: ...;
                              type: ...;
                          }[];
                          permit_followback?: boolean;
                          pronouns: string[];
                          relationship?: {
                              blocked_by: ...;
                              blocking: ...;
                              domain_blocking: ...;
                              endorsed: ...;
                              followed_by: ...;
                              following: ...;
                              id: ...;
                              muting: ...;
                              muting_notifications: ...;
                              note: ...;
                              notifying: ...;
                              requested: ...;
                              showing_reblogs: ...;
                          };
                          roles: {
                              color: ...;
                              highlighted: ...;
                              id: ...;
                              name: ...;
                              permissions: ...;
                          }[];
                          speak_as_cat: boolean;
                          statuses_count: number;
                          subscribers_count: number;
                          suspended?: boolean;
                          url: string;
                          username: string;
                          verified?: boolean;
                      };
                  noindex: null
                  | boolean;
                  note: string;
                  payment_options: {
                      chain_id: null | string;
                      href: null | string;
                      name: null | string;
                      object_id: null | string;
                      price: null | string;
                      type: "link" | "monero-subscription";
                  }[];
                  permit_followback?: boolean;
                  pronouns: string[];
                  relationship?: {
                      blocked_by: boolean;
                      blocking: boolean;
                      domain_blocking: boolean;
                      endorsed: boolean;
                      followed_by: boolean;
                      following: boolean;
                      id: string;
                      muting: boolean;
                      muting_notifications: boolean;
                      note: string;
                      notifying: boolean;
                      requested: boolean;
                      showing_reblogs: boolean;
                  };
                  roles: {
                      color: string;
                      highlighted: boolean;
                      id: string;
                      name: string;
                      permissions: string;
                  }[];
                  speak_as_cat: boolean;
                  statuses_count: number;
                  subscribers_count: number;
                  suspended?: boolean;
                  url: string;
                  username: string;
                  verified?: boolean;
              } & WithMoved;
              content: string;
              created_at: string;
              emojis: {
                  category: null
                  | string;
                  shortcode: string;
                  static_url: string;
                  url: string;
                  visible_in_picker: boolean;
              }[];
              media_attachments: (
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "image";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          original?: {
                              aspect: ...;
                              duration: ...;
                              frame_rate: ...;
                              height: ...;
                              size: ...;
                              width: ...;
                          };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "video";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "gifv";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          colors?: {
                              accent?: ...;
                              background?: ...;
                              duration?: ...;
                              foreground?: ...;
                          };
                          duration?: number;
                          original?: { bitrate?: ...; duration?: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "audio";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      mime_type: null | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "unknown";
                      url: string;
                  }
              )[];
              poll: null
              | { options: { title: string }[] };
              sensitive: boolean;
              spoiler_text: string;
          }[],
      >

      View edit history of a status Get all known versions of a status, including the initial and current states.

    • getStatusMentionedUsers: (
          statusId: string,
          params?: PaginationParams,
      ) => Promise<PaginatedResponse<Account, true>>
    • getStatusQuotes: (
          statusId: string,
          params?: PaginationParams,
      ) => Promise<PaginatedResponse<Status, true>>

      View quotes for a given status

      Requires featuresFeatures.quotePosts.

    • getStatusReactions: (
          statusId: string,
          emoji?: string,
      ) => Promise<
          (
              | {
                  account_ids: string[];
                  accounts: Account[];
                  count: null
                  | number;
                  me: boolean;
                  name: string;
                  static_url: undefined;
                  url: undefined;
              }
              | {
                  account_ids: string[];
                  accounts: Account[];
                  count: null
                  | number;
                  me: boolean;
                  name: string;
                  static_url: string;
                  url: string;
              }
          )[],
      >

      Get an object of emoji to account mappings with accounts that reacted to the post

      Requires featuresFeatures.emojiReactsList.

    • getStatusReferences: (
          statusId: string,
          params?: PaginationParams,
      ) => Promise<PaginatedResponse<Status, true>>
    • getStatusSource: (
          statusId: string,
      ) => Promise<
          {
              content_type: string;
              id: string;
              location: | null
              | {
                  country: string;
                  description: string;
                  geom: null
                  | { coordinates: null | [number, number]; srid: string };
                  locality: string;
                  origin_id: string;
                  origin_provider: string;
                  postal_code: string;
                  region: string;
                  street: string;
                  timezone: string;
                  type: string;
                  url: string;
              };
              spoiler_text: string;
              spoiler_text_map: null
              | { [key: string]: string };
              text: string;
              text_map: null | { [key: string]: string };
          },
      >

      View status source Obtain the source properties for a status so that it can be edited.

    • loadConversation: (statusId: string) => Promise<{}>

      Load conversation from a remote server.

      Requires featuresFeatures.loadConversation.

    • muteStatus: (statusId: string) => Promise<Status>

      Mute a conversation Do not receive notifications for the thread that this status is part of. Must be a thread in which you are a participant.

    • pinStatus: (statusId: string) => Promise<Status>

      Pin status to profile Feature one of your own public statuses at the top of your profile.

    • previewStatus: (
          params: CreateStatusParams,
      ) => Promise<
          {
              account?: Account;
              application?: null
              | { name: string; website: null | string };
              approval_status?: null | "rejected" | "pending" | "approval";
              bookmark_folder?: null | string;
              bookmarked?: boolean;
              card?:
                  | null
                  | {
                      author_name: string;
                      author_url: string;
                      authors: { account: null
                      | Account; name: string; url: string }[];
                      blurhash: null | string;
                      description: string;
                      embed_url: string;
                      height: number;
                      html: string;
                      image: null | string;
                      image_description: string;
                      provider_name: string;
                      provider_url: string;
                      title: string;
                      type: "link" | "video" | "photo" | "rich";
                      url: string;
                      width: number;
                  };
              content?: string;
              content_map?: null
              | { [key: string]: string };
              content_type?: null | string;
              conversation_id?: string;
              created_at?: string;
              direct_conversation_id?: string;
              disliked?: boolean;
              dislikes_count?: number;
              edited_at?: null | string;
              emoji_reactions?: (
                  | {
                      account_ids: string[];
                      accounts: Account[];
                      count: null
                      | number;
                      me: boolean;
                      name: string;
                      static_url: undefined;
                      url: undefined;
                  }
                  | {
                      account_ids: string[];
                      accounts: Account[];
                      count: null
                      | number;
                      me: boolean;
                      name: string;
                      static_url: string;
                      url: string;
                  }
              )[];
              emojis?: {
                  category: null
                  | string;
                  shortcode: string;
                  static_url: string;
                  url: string;
                  visible_in_picker: boolean;
              }[];
              event?: | null
              | {
                  end_time: null
                  | string;
                  join_mode: null | "free" | "restricted" | "invite" | "external";
                  join_state: null | "pending" | "reject" | "accept";
                  location:
                      | null
                      | {
                          country: string;
                          latitude: null
                          | number;
                          locality: string;
                          longitude: null | number;
                          name: string;
                          postal_code: string;
                          region: string;
                          street: string;
                          url: string;
                      };
                  name: string;
                  participants_count: number;
                  start_time: null
                  | string;
              };
              expires_at?: string;
              favourited?: boolean;
              favourites_count?: number;
              filtered?: {
                  filter: {
                      context: ("public" | "account" | "home" | "notifications" | "thread")[];
                      expires_at: null | string;
                      filter_action: "warn" | "hide" | "blur";
                      id: string;
                      title: string;
                  };
                  keyword_matches: null
                  | string;
                  status_matches: null | string;
              }[];
              group?: | null
              | {
                  avatar: string;
                  avatar_description: string;
                  avatar_static: string;
                  created_at: string;
                  display_name: string;
                  domain: string;
                  emojis: {
                      category: null
                      | string;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  header: string;
                  header_description: string;
                  header_static: string;
                  id: string;
                  locked: boolean;
                  members_count: number;
                  membership_required: boolean;
                  note: string;
                  owner: null
                  | { id: string };
                  relationship:
                      | null
                      | { id: string; member: boolean; requested: boolean; role: GroupRoles };
                  statuses_visibility: string;
                  uri: string;
                  url: string;
              };
              id?: string;
              in_reply_to_account_acct?: string;
              in_reply_to_account_id?: null
              | string;
              in_reply_to_id?: null | string;
              interaction_policy?: {
                  can_favourite: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reblog: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
                  can_reply: {
                      always: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                      with_approval: (
                          | "following"
                          | "public"
                          | "me"
                          | "followers"
                          | "mutuals"
                          | "mentioned"
                          | "author"
                      )[];
                  };
              };
              language?: null
              | string;
              list_id?: null | number;
              local?: boolean;
              media_attachments?: (
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "image";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          original?: {
                              aspect: ...;
                              duration: ...;
                              frame_rate: ...;
                              height: ...;
                              size: ...;
                              width: ...;
                          };
                          small?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "video";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          duration?: number;
                          focus?: { x: ...; y: ... };
                          original?: { aspect: ...; height: ...; size: ...; width: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "gifv";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      meta: {
                          colors?: {
                              accent?: ...;
                              background?: ...;
                              duration?: ...;
                              foreground?: ...;
                          };
                          duration?: number;
                          original?: { bitrate?: ...; duration?: ... };
                      };
                      mime_type: null
                      | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "audio";
                      url: string;
                  }
                  | {
                      blurhash: null
                      | string;
                      description: string;
                      id: string;
                      mime_type: null | string;
                      preview_url: string;
                      remote_url: null | string;
                      type: "unknown";
                      url: string;
                  }
              )[];
              mentions?: { acct: string; id: string; url: string; username: string }[];
              muted?: boolean;
              parent_visible?: boolean;
              pinned?: boolean;
              pinned_at?: null | string;
              poll?:
                  | null
                  | {
                      emojis: {
                          category: null
                          | string;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      expired: boolean;
                      expires_at: null
                      | string;
                      id: string;
                      multiple: boolean;
                      non_anonymous: boolean;
                      options: {
                          title: string;
                          title_map: null | { [key: string]: string };
                          votes_count: number;
                      }[];
                      own_votes: null
                      | number[];
                      voted: boolean;
                      voters_count: number;
                      votes_count: number;
                  };
              quote?: | null
              | {
                  state: | "rejected"
                  | "pending"
                  | "accepted"
                  | "revoked"
                  | "deleted"
                  | "unauthorized";
                  status: null
                  | Status;
              }
              | {
                  state: | "rejected"
                  | "pending"
                  | "accepted"
                  | "revoked"
                  | "deleted"
                  | "unauthorized";
                  status_id: null
                  | string;
              };
              quote_id?: null
              | string;
              quote_url?: string;
              quote_visible?: boolean;
              quotes_count?: number;
              reblog?: null | Status;
              reblogged?: boolean;
              reblogs_count?: number;
              replies_count?: number;
              rss_feed?:
                  | null
                  | {
                      description: null
                      | string;
                      id: string;
                      image_url: null | string;
                      title: null | string;
                      url: string;
                  };
              scheduled_at?: null;
              sensitive?: boolean;
              spoiler_text?: string;
              spoiler_text_map?: null
              | { [key: string]: string };
              tags?: {
                  following?: boolean;
                  history: null | { accounts: number; day: number; uses: number }[];
                  name: string;
                  total: null | number;
                  url: string;
              }[];
              text?: null
              | string;
              text_map?: null | { [key: string]: string };
              thread_muted?: boolean;
              translation?:
                  | null
                  | false
                  | {
                      content: string;
                      detected_source_language: string;
                      id: null
                      | string;
                      media_attachments: { description: string; id: string }[];
                      poll?: { id: string; options: { title: string }[] };
                      provider: null | string;
                      spoiler_text: string;
                  };
              uri?: string;
              url?: string;
              visibility?: string;
          },
      >

      Requires featuresFeatures.createStatusPreview.

    • reblogStatus: (statusId: string, visibility?: string) => Promise<Status>

      Boost a status Reshare a status on your own profile.

    • translateStatus: (
          statusId: string,
          lang?: string,
      ) => Promise<
          {
              content: string;
              detected_source_language: string;
              id: null
              | string;
              media_attachments: { description: string; id: string }[];
              poll?: { id: string; options: { title: string }[] };
              provider: null | string;
              spoiler_text: string;
          },
      >

      Translate a status Translate the status content into some language.

    • translateStatuses: (
          statusIds: string[],
          lang: string,
      ) => Promise<
          {
              content: string;
              detected_source_language: string;
              id: null
              | string;
              media_attachments: { description: string; id: string }[];
              poll?: { id: string; options: { title: string }[] };
              provider: null | string;
              spoiler_text: string;
          }[],
      >

      Translate multiple statuses into given language.

      Requires featuresFeatures.lazyTranslations.

    • unbookmarkStatus: (statusId: string) => Promise<Status>

      Undo bookmark of a status Remove a status from your private bookmarks.

    • undislikeStatus: (statusId: string) => Promise<Status>

      Removes the dislike mark (if it exists) on this status for this user

    • unfavouriteStatus: (statusId: string) => Promise<Status>

      Undo favourite of a status Remove a status from your favourites list.

    • unmuteStatus: (statusId: string) => Promise<Status>

      Unmute a conversation Start receiving notifications again for the thread that this status is part of.

    • unpinStatus: (statusId: string) => Promise<Status>

      Unpin status from profile Unfeature a status from the top of your profile.

    • unreblogStatus: (statusId: string) => Promise<Status>

      Undo boost of a status Undo a reshare of a status.

    stories: {
        addMedia: (
            file: File,
        ) => Promise<{ id: string; type: "video" | "photo"; url: string }>;
        createStory: (mediaId: string, params: CreateStoryParams) => Promise<{}>;
        createStoryComment: (storyId: string, comment: string) => Promise<{}>;
        createStoryPoll: (params: CreateStoryPollParams) => Promise<{}>;
        createStoryReaction: (storyId: string, emoji: string) => Promise<{}>;
        cropPhoto: (mediaId: string, params: CropStoryPhotoParams) => Promise<{}>;
        deleteStory: (storyId: string) => Promise<{}>;
        getRecentStories: () => Promise<
            {
                account_id: string;
                avatar: string;
                latest: { id: string; preview_url: string; type: string };
                local: boolean;
                seen: boolean;
                story_id: string;
                url: string;
                username: string;
            }[],
        >;
        getStoriesForProfile: (
            accountId: string,
        ) => Promise<
            {
                account: {
                    __meta: { pleroma?: any; source?: any };
                    accepts_chat_messages: null | boolean;
                    acct: string;
                    ap_id: null | string;
                    avatar: string;
                    avatar_description: string;
                    avatar_static: string;
                    background_image: null | string;
                    birthday?: string;
                    bot: boolean;
                    created_at: string;
                    custom_css: string;
                    deactivated?: boolean;
                    discoverable: boolean;
                    display_name: string;
                    domain: string;
                    emojis: {
                        category: null | string;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    enable_rss: boolean;
                    favicon?: string;
                    fields: { name: string; value: string; verified_at: null
                    | string }[];
                    followers_count: number;
                    following_count: number;
                    fqn: string;
                    group: boolean;
                    header: string;
                    header_description: string;
                    header_static: string;
                    hide_collections?: boolean;
                    hide_favorites: boolean;
                    hide_followers?: boolean;
                    hide_followers_count?: boolean;
                    hide_follows?: boolean;
                    hide_follows_count?: boolean;
                    id: string;
                    identity_proofs: { name: string; value: string; verified_at: string }[];
                    is_admin?: boolean;
                    is_cat: boolean;
                    is_moderator?: boolean;
                    is_suggested?: boolean;
                    last_status_at: null | string;
                    limited?: boolean;
                    local?: boolean;
                    location?: string;
                    locked: boolean;
                    mention_policy: "none" | "only_known" | "only_followers";
                    moved:
                        | null
                        | {
                            __meta: { pleroma?: any; source?: any };
                            accepts_chat_messages: null | boolean;
                            acct: string;
                            ap_id: null | string;
                            avatar: string;
                            avatar_description: string;
                            avatar_static: string;
                            background_image: null | string;
                            birthday?: string;
                            bot: boolean;
                            created_at: string;
                            custom_css: string;
                            deactivated?: boolean;
                            discoverable: boolean;
                            display_name: string;
                            domain: string;
                            emojis: {
                                category: ...;
                                shortcode: ...;
                                static_url: ...;
                                url: ...;
                                visible_in_picker: ...;
                            }[];
                            enable_rss: boolean;
                            favicon?: string;
                            fields: { name: ...; value: ...; verified_at: ... }[];
                            followers_count: number;
                            following_count: number;
                            fqn: string;
                            group: boolean;
                            header: string;
                            header_description: string;
                            header_static: string;
                            hide_collections?: boolean;
                            hide_favorites: boolean;
                            hide_followers?: boolean;
                            hide_followers_count?: boolean;
                            hide_follows?: boolean;
                            hide_follows_count?: boolean;
                            id: string;
                            identity_proofs: { name: ...; value: ...; verified_at: ... }[];
                            is_admin?: boolean;
                            is_cat: boolean;
                            is_moderator?: boolean;
                            is_suggested?: boolean;
                            last_status_at: null | string;
                            limited?: boolean;
                            local?: boolean;
                            location?: string;
                            locked: boolean;
                            mention_policy: "none" | "only_known" | "only_followers";
                            noindex: null | boolean;
                            note: string;
                            payment_options: {
                                chain_id: ...;
                                href: ...;
                                name: ...;
                                object_id: ...;
                                price: ...;
                                type: ...;
                            }[];
                            permit_followback?: boolean;
                            pronouns: string[];
                            relationship?: {
                                blocked_by: ...;
                                blocking: ...;
                                domain_blocking: ...;
                                endorsed: ...;
                                followed_by: ...;
                                following: ...;
                                id: ...;
                                muting: ...;
                                muting_notifications: ...;
                                note: ...;
                                notifying: ...;
                                requested: ...;
                                showing_reblogs: ...;
                            };
                            roles: {
                                color: ...;
                                highlighted: ...;
                                id: ...;
                                name: ...;
                                permissions: ...;
                            }[];
                            speak_as_cat: boolean;
                            statuses_count: number;
                            subscribers_count: number;
                            suspended?: boolean;
                            url: string;
                            username: string;
                            verified?: boolean;
                        };
                    noindex: null
                    | boolean;
                    note: string;
                    payment_options: {
                        chain_id: null | string;
                        href: null | string;
                        name: null | string;
                        object_id: null | string;
                        price: null | string;
                        type: "link" | "monero-subscription";
                    }[];
                    permit_followback?: boolean;
                    pronouns: string[];
                    relationship?: {
                        blocked_by: boolean;
                        blocking: boolean;
                        domain_blocking: boolean;
                        endorsed: boolean;
                        followed_by: boolean;
                        following: boolean;
                        id: string;
                        muting: boolean;
                        muting_notifications: boolean;
                        note: string;
                        notifying: boolean;
                        requested: boolean;
                        showing_reblogs: boolean;
                    };
                    roles: {
                        color: string;
                        highlighted: boolean;
                        id: string;
                        name: string;
                        permissions: string;
                    }[];
                    speak_as_cat: boolean;
                    statuses_count: number;
                    subscribers_count: number;
                    suspended?: boolean;
                    url: string;
                    username: string;
                    verified?: boolean;
                } & WithMoved;
                nodes: {
                    can_react: boolean;
                    can_reply: boolean;
                    created_at: string;
                    duration: number;
                    expires_at: string;
                    id: string;
                    options?: string[];
                    progress: number;
                    question?: string;
                    seen: boolean;
                    src: string;
                    type: string;
                    view_count: null
                    | number;
                    voted?: boolean;
                    voted_index?: number;
                }[];
            }[],
        >;
        getStoryPollResults: (storyId: string) => Promise<number[]>;
        getStoryViewers: (storyId: string) => Promise<Account[]>;
        markStoryAsViewed: (storyId: string) => Promise<{}>;
        reportStory: (storyId: string, type: StoryReportType) => Promise<{}>;
        storyExists: (accountId: string) => Promise<boolean>;
        storyPollVote: (storyId: string, choiceId: number) => Promise<{}>;
    } = ...
    streaming: {
        connect: () => {
            close: () => void;
            listen: (listener: any, stream?: string) => number;
            subscribe: (
                stream: string,
                params?: { list?: string; tag?: string },
            ) => void;
            unlisten: (listener: any) => void;
            unsubscribe: (
                stream: string,
                params?: { list?: string; tag?: string },
            ) => void;
        };
        health: () => Promise<"OK">;
    } = ...

    Type declaration

    • connect: () => {
          close: () => void;
          listen: (listener: any, stream?: string) => number;
          subscribe: (
              stream: string,
              params?: { list?: string; tag?: string },
          ) => void;
          unlisten: (listener: any) => void;
          unsubscribe: (
              stream: string,
              params?: { list?: string; tag?: string },
          ) => void;
      }

      Establishing a WebSocket connection Open a multiplexed WebSocket connection to receive events.

    • health: () => Promise<"OK">

      Check if the server is alive Verify that the streaming service is alive before connecting to it

    subscriptions: {
        cancelInvoice: (
            invoiceId: string,
        ) => Promise<
            {
                amount: number;
                chain_id: string;
                created_at: string;
                invoice_expires_at: string;
                invoice_id: string;
                payment_address: string;
                recipient_id: string;
                sender_id: string;
                status: | "open"
                | "forwarded"
                | "paid"
                | "timeout"
                | "cancelled"
                | "underpaid"
                | "completed"
                | "failed";
            },
        >;
        createInvoice: (
            senderId: string,
            recipientId: string,
            chainId: string,
            amount: number,
        ) => Promise<
            {
                amount: number;
                chain_id: string;
                created_at: string;
                invoice_expires_at: string;
                invoice_id: string;
                payment_address: string;
                recipient_id: string;
                sender_id: string;
                status: | "open"
                | "forwarded"
                | "paid"
                | "timeout"
                | "cancelled"
                | "underpaid"
                | "completed"
                | "failed";
            },
        >;
        createSubscription: (
            subscriberId: string,
            duration: number,
        ) => Promise<{ expires_at: string; id: number }>;
        findSubscription: (
            senderId: string,
            recipientId: string,
        ) => Promise<{ expires_at: string; id: number }>;
        getInvoice: (
            invoiceId: string,
        ) => Promise<
            {
                amount: number;
                chain_id: string;
                created_at: string;
                invoice_expires_at: string;
                invoice_id: string;
                payment_address: string;
                recipient_id: string;
                sender_id: string;
                status: | "open"
                | "forwarded"
                | "paid"
                | "timeout"
                | "cancelled"
                | "underpaid"
                | "completed"
                | "failed";
            },
        >;
        getSubscriptionOptions: () => Promise<
            {
                chain_id: string;
                payout_address: string;
                price: null
                | number;
                type: "monero";
            }[],
        >;
        updateSubscription: (
            type: "monero",
            chainId?: string,
            price?: number,
            payoutAddress?: string,
        ) => Promise<Account>;
    } = ...

    Type declaration

    • cancelInvoice: (
          invoiceId: string,
      ) => Promise<
          {
              amount: number;
              chain_id: string;
              created_at: string;
              invoice_expires_at: string;
              invoice_id: string;
              payment_address: string;
              recipient_id: string;
              sender_id: string;
              status: | "open"
              | "forwarded"
              | "paid"
              | "timeout"
              | "cancelled"
              | "underpaid"
              | "completed"
              | "failed";
          },
      >

      Cancel invoice.

      Requires featuresFeatures.invoices.

    • createInvoice: (
          senderId: string,
          recipientId: string,
          chainId: string,
          amount: number,
      ) => Promise<
          {
              amount: number;
              chain_id: string;
              created_at: string;
              invoice_expires_at: string;
              invoice_id: string;
              payment_address: string;
              recipient_id: string;
              sender_id: string;
              status: | "open"
              | "forwarded"
              | "paid"
              | "timeout"
              | "cancelled"
              | "underpaid"
              | "completed"
              | "failed";
          },
      >

      Create invoice

      Requires featuresFeatures.subscriptions.

    • createSubscription: (
          subscriberId: string,
          duration: number,
      ) => Promise<{ expires_at: string; id: number }>

      Add subscriber or extend existing subscription.

      Requires featuresFeatures.subscriptions.

    • findSubscription: (
          senderId: string,
          recipientId: string,
      ) => Promise<{ expires_at: string; id: number }>

      Find subscription by sender and recipient

      Requires featuresFeatures.subscriptions.

    • getInvoice: (
          invoiceId: string,
      ) => Promise<
          {
              amount: number;
              chain_id: string;
              created_at: string;
              invoice_expires_at: string;
              invoice_id: string;
              payment_address: string;
              recipient_id: string;
              sender_id: string;
              status: | "open"
              | "forwarded"
              | "paid"
              | "timeout"
              | "cancelled"
              | "underpaid"
              | "completed"
              | "failed";
          },
      >

      View information about an invoice.

      Requires featuresFeatures.invoices.

    • getSubscriptionOptions: () => Promise<
          {
              chain_id: string;
              payout_address: string;
              price: null
              | number;
              type: "monero";
          }[],
      >

      Get list of subscription options

      Requires featuresFeatures.subscriptions.

    • updateSubscription: (
          type: "monero",
          chainId?: string,
          price?: number,
          payoutAddress?: string,
      ) => Promise<Account>

      Enable subscriptions or update subscription settings

      Requires featuresFeatures.subscriptions.

    timelines: {
        antennaTimeline: (
            antennaId: string,
            params?: AntennaTimelineParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        bubbleTimeline: (
            params?: BubbleTimelineParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        deleteConversation: (conversationId: string) => Promise<{}>;
        getConversations: (
            params?: GetConversationsParams,
        ) => Promise<
            PaginatedResponse<
                {
                    accounts: Account[];
                    id: string;
                    last_status: null
                    | Status;
                    unread: boolean;
                },
                true,
            >,
        >;
        getMarkers: (
            timelines?: string[],
        ) => Promise<
            {
                [key: string]: {
                    last_read_id: string;
                    unread_count?: number;
                    updated_at: string;
                    version: number;
                };
            },
        >;
        groupTimeline: (
            groupId: string,
            params?: GroupTimelineParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        hashtagTimeline: (
            hashtag: string,
            params?: HashtagTimelineParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        homeTimeline: (
            params?: HomeTimelineParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        linkTimeline: (
            url: string,
            params?: LinkTimelineParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        listTimeline: (
            listId: string,
            params?: ListTimelineParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        markConversationRead: (
            conversationId: string,
        ) => Promise<
            {
                accounts: Account[];
                id: string;
                last_status: null
                | Status;
                unread: boolean;
            },
        >;
        publicTimeline: (
            params?: PublicTimelineParams,
        ) => Promise<PaginatedResponse<Status, true>>;
        saveMarkers: (
            params: SaveMarkersParams,
        ) => Promise<
            {
                [key: string]: {
                    last_read_id: string;
                    unread_count?: number;
                    updated_at: string;
                    version: number;
                };
            },
        >;
    } = ...

    Type declaration

    trends: {
        getTrendingLinks: (
            params?: GetTrends,
        ) => Promise<
            {
                author_name: string;
                author_url: string;
                blurhash: null
                | string;
                description: string;
                embed_url: string;
                height: null | number;
                history: null | { accounts: number; day: number; uses: number }[];
                html: string;
                id: string;
                image: null | string;
                image_description: null | string;
                provider_name: string;
                provider_url: string;
                title: string;
                type: "link" | "video" | "photo" | "rich";
                url: string;
                width: null | number;
            }[],
        >;
        getTrendingStatuses: (params?: GetTrendingStatuses) => Promise<Status[]>;
        getTrendingTags: (
            params?: GetTrends,
        ) => Promise<
            {
                following?: boolean;
                history: null
                | { accounts: number; day: number; uses: number }[];
                name: string;
                total: null | number;
                url: string;
            }[],
        >;
    } = ...

    Type declaration

    • getTrendingLinks: (
          params?: GetTrends,
      ) => Promise<
          {
              author_name: string;
              author_url: string;
              blurhash: null
              | string;
              description: string;
              embed_url: string;
              height: null | number;
              history: null | { accounts: number; day: number; uses: number }[];
              html: string;
              id: string;
              image: null | string;
              image_description: null | string;
              provider_name: string;
              provider_url: string;
              title: string;
              type: "link" | "video" | "photo" | "rich";
              url: string;
              width: null | number;
          }[],
      >

      View trending links Links that have been shared more than others.

    • getTrendingStatuses: (params?: GetTrendingStatuses) => Promise<Status[]>

      View trending statuses Statuses that have been interacted with more than others.

    • getTrendingTags: (
          params?: GetTrends,
      ) => Promise<
          {
              following?: boolean;
              history: null
              | { accounts: number; day: number; uses: number }[];
              name: string;
              total: null | number;
              url: string;
          }[],
      >

      View trending tags Tags that are being used more frequently within the past week.

    Accessors

    • get accessToken(): undefined | string

      Returns undefined | string

    • set accessToken(accessToken: undefined | string): void

      Parameters

      • accessToken: undefined | string

      Returns void

    • get iceshrimpAccessToken(): undefined | string

      Returns undefined | string

    • get instanceInformation(): {
          account_domain: string;
          api_versions: { [key: string]: number };
          configuration: {
              accounts:
                  | null
                  | {
                      allow_custom_css: boolean;
                      max_featured_tags: number;
                      max_profile_fields: number;
                  };
              chats: { max_characters: number };
              groups: {
                  max_characters_description: number;
                  max_characters_name: number;
              };
              limited_federation?: boolean;
              media_attachments: {
                  image_matrix_limit?: number;
                  image_size_limit?: number;
                  supported_mime_types?: string[];
                  video_duration_limit?: number;
                  video_frame_rate_limit?: number;
                  video_matrix_limit?: number;
                  video_size_limit?: number;
              };
              polls: {
                  max_characters_per_option: number;
                  max_expiration: number;
                  max_options: number;
                  min_expiration: number;
              };
              reactions: { max_reactions: number };
              statuses: {
                  characters_reserved_per_url?: number;
                  max_characters: number;
                  max_media_attachments: number;
              };
              translation: { enabled: boolean };
              urls: {
                  about: null | string;
                  privacy_policy: null | string;
                  streaming?: string;
                  terms_of_service: null | string;
              };
              vapid: { public_key: string };
          };
          contact: { contact_account?: Account; email: string };
          description: string;
          domain: string;
          feature_quote: boolean;
          icons: { size: string; src: string }[];
          languages: string[];
          pleroma: {
              metadata: {
                  account_activation_required: boolean;
                  birthday_min_age: number;
                  birthday_required: boolean;
                  description_limit: number;
                  federation: {
                      enabled: boolean;
                      mrf_policies?: string[];
                      mrf_simple: {
                          accept: string[];
                          avatar_removal: string[];
                          banner_removal: string[];
                          federated_timeline_removal: string[];
                          followers_only: string[];
                          media_nsfw: string[];
                          media_removal: string[];
                          reject: string[];
                          reject_deletes: string[];
                          report_removal: string[];
                      };
                  };
                  fields_limits: {
                      max_fields: number;
                      name_length: number;
                      value_length: number;
                  };
                  markup: { allow_headings: boolean; allow_inline_images: boolean };
                  migration_cooldown_period?: number;
                  multitenancy: {
                      domains?: { domain: string; id: string; public: boolean }[];
                      enabled: boolean;
                  };
                  post_formats: string[];
                  restrict_unauthenticated: {
                      activities: { local: boolean; remote: boolean };
                      profiles: { local: boolean; remote: boolean };
                      timelines: { bubble: boolean; federated: boolean; local: boolean };
                  };
                  translation: {
                      allow_remote: boolean;
                      allow_unauthenticated: boolean;
                      source_languages?: string[];
                      target_languages?: string[];
                  };
              };
              oauth_consumer_strategies: string[];
              stats: { mau?: number };
              vapid_public_key: string;
          };
          registrations: {
              approval_required: boolean;
              enabled: boolean;
              message?: string;
              min_age: null
              | number;
              reason_required: null | boolean;
          };
          rules: {
              hint: string;
              id: string;
              text: string;
              translations?: { [key: string]: { hint: string; text: string } };
          }[];
          stats: {
              domain_count?: number;
              status_count?: number;
              user_count?: number;
          };
          thumbnail: { url: string };
          title: string;
          usage: { users: { active_month: number } };
          version: string;
      }

      Returns {
          account_domain: string;
          api_versions: { [key: string]: number };
          configuration: {
              accounts:
                  | null
                  | {
                      allow_custom_css: boolean;
                      max_featured_tags: number;
                      max_profile_fields: number;
                  };
              chats: { max_characters: number };
              groups: {
                  max_characters_description: number;
                  max_characters_name: number;
              };
              limited_federation?: boolean;
              media_attachments: {
                  image_matrix_limit?: number;
                  image_size_limit?: number;
                  supported_mime_types?: string[];
                  video_duration_limit?: number;
                  video_frame_rate_limit?: number;
                  video_matrix_limit?: number;
                  video_size_limit?: number;
              };
              polls: {
                  max_characters_per_option: number;
                  max_expiration: number;
                  max_options: number;
                  min_expiration: number;
              };
              reactions: { max_reactions: number };
              statuses: {
                  characters_reserved_per_url?: number;
                  max_characters: number;
                  max_media_attachments: number;
              };
              translation: { enabled: boolean };
              urls: {
                  about: null | string;
                  privacy_policy: null | string;
                  streaming?: string;
                  terms_of_service: null | string;
              };
              vapid: { public_key: string };
          };
          contact: { contact_account?: Account; email: string };
          description: string;
          domain: string;
          feature_quote: boolean;
          icons: { size: string; src: string }[];
          languages: string[];
          pleroma: {
              metadata: {
                  account_activation_required: boolean;
                  birthday_min_age: number;
                  birthday_required: boolean;
                  description_limit: number;
                  federation: {
                      enabled: boolean;
                      mrf_policies?: string[];
                      mrf_simple: {
                          accept: string[];
                          avatar_removal: string[];
                          banner_removal: string[];
                          federated_timeline_removal: string[];
                          followers_only: string[];
                          media_nsfw: string[];
                          media_removal: string[];
                          reject: string[];
                          reject_deletes: string[];
                          report_removal: string[];
                      };
                  };
                  fields_limits: {
                      max_fields: number;
                      name_length: number;
                      value_length: number;
                  };
                  markup: { allow_headings: boolean; allow_inline_images: boolean };
                  migration_cooldown_period?: number;
                  multitenancy: {
                      domains?: { domain: string; id: string; public: boolean }[];
                      enabled: boolean;
                  };
                  post_formats: string[];
                  restrict_unauthenticated: {
                      activities: { local: boolean; remote: boolean };
                      profiles: { local: boolean; remote: boolean };
                      timelines: { bubble: boolean; federated: boolean; local: boolean };
                  };
                  translation: {
                      allow_remote: boolean;
                      allow_unauthenticated: boolean;
                      source_languages?: string[];
                      target_languages?: string[];
                  };
              };
              oauth_consumer_strategies: string[];
              stats: { mau?: number };
              vapid_public_key: string;
          };
          registrations: {
              approval_required: boolean;
              enabled: boolean;
              message?: string;
              min_age: null
              | number;
              reason_required: null | boolean;
          };
          rules: {
              hint: string;
              id: string;
              text: string;
              translations?: { [key: string]: { hint: string; text: string } };
          }[];
          stats: {
              domain_count?: number;
              status_count?: number;
              user_count?: number;
          };
          thumbnail: { url: string };
          title: string;
          usage: { users: { active_month: number } };
          version: string;
      }