pl-api
    Preparing search index...

    Function adminCategory

    • Parameters

      Returns {
          accounts: {
              approveAccount: (
                  accountId: string,
              ) => Promise<
                  {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  },
              >;
              createAccount: (
                  params: AdminCreateAccountParams,
              ) => Promise<{ email: string; nickname: string }>;
              deleteAccount: (accountId: string) => Promise<{}>;
              demoteToUser: (accountId: string) => Promise<EmptyObject>;
              enableAccount: (
                  accountId: string,
              ) => Promise<
                  {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  },
              >;
              getAccount: (
                  accountId: string,
              ) => Promise<
                  {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  },
              >;
              getAccounts: (
                  params?: AdminGetAccountsParams,
              ) => Promise<
                  PaginatedResponse<
                      {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      },
                      true,
                  >,
              >;
              performAccountAction: (
                  accountId: string,
                  type: AdminAccountAction,
                  params?: AdminPerformAccountActionParams,
              ) => Promise<any>;
              promoteToAdmin: (accountId: string) => Promise<EmptyObject>;
              promoteToModerator: (accountId: string) => Promise<EmptyObject>;
              rejectAccount: (accountId: string) => Promise<{}>;
              suggestUser: (accountId: string) => Promise<EmptyObject>;
              tagUser: (accountId: string, tags: string[]) => Promise<EmptyObject>;
              unsensitiveAccount: (
                  accountId: string,
              ) => Promise<
                  {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  },
              >;
              unsilenceAccount: (
                  accountId: string,
              ) => Promise<
                  {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  },
              >;
              unsuggestUser: (accountId: string) => Promise<EmptyObject>;
              unsuspendAccount: (
                  accountId: string,
              ) => Promise<
                  {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  },
              >;
              untagUser: (accountId: string, tags: string[]) => Promise<EmptyObject>;
          };
          announcements: {
              createAnnouncement: (
                  params: AdminCreateAnnouncementParams,
              ) => Promise<
                  {
                      all_day: boolean;
                      content: string;
                      emojis: {
                          category: string
                          | null;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      ends_at: string
                      | null;
                      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: string | null;
                          url: string | null;
                      }[];
                      read: boolean;
                      starts_at: string
                      | null;
                      statuses: { [key: string]: string };
                      tags: {
                          following?: boolean;
                          history: { accounts: number; day: number; uses: number }[] | null;
                          name: string;
                          total: number | null;
                          url: string;
                      }[];
                      updated_at: string;
                  },
              >;
              deleteAnnouncement: (announcementId: string) => Promise<EmptyObject>;
              getAnnouncement: (
                  announcementId: string,
              ) => Promise<
                  {
                      all_day: boolean;
                      content: string;
                      emojis: {
                          category: string
                          | null;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      ends_at: string
                      | null;
                      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: string | null;
                          url: string | null;
                      }[];
                      read: boolean;
                      starts_at: string
                      | null;
                      statuses: { [key: string]: string };
                      tags: {
                          following?: boolean;
                          history: { accounts: number; day: number; uses: number }[] | null;
                          name: string;
                          total: number | null;
                          url: string;
                      }[];
                      updated_at: string;
                  },
              >;
              getAnnouncements: (
                  params?: AdminGetAnnouncementsParams,
              ) => Promise<
                  PaginatedResponse<
                      {
                          all_day: boolean;
                          content: string;
                          emojis: {
                              category: string
                              | null;
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          ends_at: string
                          | null;
                          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: string | null;
                              url: string | null;
                          }[];
                          read: boolean;
                          starts_at: string
                          | null;
                          statuses: { [key: string]: string };
                          tags: {
                              following?: boolean;
                              history: { accounts: ...; day: ...; uses: ... }[] | null;
                              name: string;
                              total: number | null;
                              url: string;
                          }[];
                          updated_at: string;
                      },
                      true,
                  >,
              >;
              updateAnnouncement: (
                  announcementId: string,
                  params: AdminUpdateAnnouncementParams,
              ) => Promise<
                  {
                      all_day: boolean;
                      content: string;
                      emojis: {
                          category: string
                          | null;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      ends_at: string
                      | null;
                      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: string | null;
                          url: string | null;
                      }[];
                      read: boolean;
                      starts_at: string
                      | null;
                      statuses: { [key: string]: string };
                      tags: {
                          following?: boolean;
                          history: { accounts: number; day: number; uses: number }[] | null;
                          name: string;
                          total: number | null;
                          url: string;
                      }[];
                      updated_at: string;
                  },
              >;
          };
          canonicalEmailBlocks: {
              createCanonicalEmailBlock: (
                  email: string,
                  canonical_email_hash?: string,
              ) => Promise<{ canonical_email_hash: string; id: string }[]>;
              deleteCanonicalEmailBlock: (
                  canonicalEmailBlockId: string,
              ) => Promise<EmptyObject>;
              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;
                  },
              >;
              getPleromaConfigDescriptions: () => Promise<
                  {
                      children: PleromaConfigDescriptionChild[];
                      description?: string;
                      group?: string;
                      key?: string;
                      label?: string;
                      related_policy?: string;
                      tab?: string;
                      type: string
                      | string[];
                  }[],
              >;
              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: string
                      | null;
                      content_type: string | null;
                      disabled: boolean;
                      domain: string | null;
                      id: string;
                      shortcode: string;
                      static_url: string;
                      total_file_size: number | null;
                      updated_at?: string;
                      uri: string;
                      url: string;
                      visible_in_picker: boolean;
                  },
              >;
              deleteCustomEmoji: (
                  emojiId: string,
              ) => Promise<
                  {
                      category: string
                      | null;
                      content_type: string | null;
                      disabled: boolean;
                      domain: string | null;
                      id: string;
                      shortcode: string;
                      static_url: string;
                      total_file_size: number | null;
                      updated_at?: string;
                      uri: string;
                      url: string;
                      visible_in_picker: boolean;
                  },
              >;
              getCustomEmoji: (
                  emojiId: string,
              ) => Promise<
                  {
                      category: string
                      | null;
                      content_type: string | null;
                      disabled: boolean;
                      domain: string | null;
                      id: string;
                      shortcode: string;
                      static_url: string;
                      total_file_size: number | null;
                      updated_at?: string;
                      uri: string;
                      url: string;
                      visible_in_picker: boolean;
                  },
              >;
              getCustomEmojis: (
                  params: AdminGetCustomEmojisParams,
              ) => Promise<
                  PaginatedResponse<
                      {
                          category: string
                          | null;
                          content_type: string | null;
                          disabled: boolean;
                          domain: string | null;
                          id: string;
                          shortcode: string;
                          static_url: string;
                          total_file_size: number | null;
                          updated_at?: string;
                          uri: string;
                          url: string;
                          visible_in_picker: boolean;
                      },
                      true,
                  >,
              >;
              updateCustomEmoji: (
                  emojiId: string,
                  params: AdminUpdateCustomEmojiParams,
              ) => Promise<
                  {
                      category: string
                      | null;
                      content_type: string | null;
                      disabled: boolean;
                      domain: string | null;
                      id: string;
                      shortcode: string;
                      static_url: string;
                      total_file_size: number | null;
                      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<EmptyObject>;
              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: string
                      | null;
                      public_comment: string | null;
                      reject_media: boolean;
                      reject_reports: boolean;
                      severity: "silence" | "suspend" | "noop";
                  },
              >;
              deleteDomainBlock: (domainBlockId: string) => Promise<EmptyObject>;
              getDomainBlock: (
                  domainBlockId: string,
              ) => Promise<
                  {
                      created_at: string;
                      digest: string;
                      domain: string;
                      id: string;
                      obfuscate: boolean;
                      private_comment: string
                      | null;
                      public_comment: string | null;
                      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: string
                          | null;
                          public_comment: string | null;
                          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: string
                      | null;
                      public_comment: string | null;
                      reject_media: boolean;
                      reject_reports: boolean;
                      severity: "silence" | "suspend" | "noop";
                  },
              >;
          };
          domains: {
              createDomain: (
                  params: AdminCreateDomainParams,
              ) => Promise<
                  {
                      domain: string;
                      id: string;
                      last_checked_at: string
                      | null;
                      public: boolean;
                      resolves: boolean;
                  },
              >;
              deleteDomain: (domainId: string) => Promise<EmptyObject>;
              getDomains: () => Promise<
                  {
                      domain: string;
                      id: string;
                      last_checked_at: string
                      | null;
                      public: boolean;
                      resolves: boolean;
                  }[],
              >;
              updateDomain: (
                  domainId: string,
                  isPublic: boolean,
              ) => Promise<
                  {
                      domain: string;
                      id: string;
                      last_checked_at: string
                      | null;
                      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<EmptyObject>;
              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: string
                      | null;
                      id: string;
                      ip: string;
                      severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
                  },
              >;
              deleteIpBlock: (ipBlockId: string) => Promise<EmptyObject>;
              getIpBlock: (
                  ipBlockId: string,
              ) => Promise<
                  {
                      comment: string;
                      created_at: string;
                      expires_at: string
                      | null;
                      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: string
                          | null;
                          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: string
                      | null;
                      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: string | null;
                  }[],
              >;
          };
          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: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      };
                      action_taken?: boolean;
                      action_taken_at: string
                      | null;
                      action_taken_by_account:
                          | {
                              account: Account
                              | null;
                              actor_type: string | null;
                              approved: boolean;
                              confirmed: boolean;
                              created_at: string;
                              created_by_application_id?: string;
                              disabled: boolean;
                              display_name: string | null;
                              domain: string | null;
                              email: string | null;
                              id: string;
                              invite_request: string | null;
                              invited_by_account_id?: string;
                              ip: string | null;
                              ips: { ip: string; used_at: string }[];
                              locale: string | null;
                              role:
                                  | {
                                      color: string;
                                      highlighted: boolean;
                                      id: string;
                                      name: string;
                                      permissions: string;
                                  }
                                  | null;
                              sensitized: boolean;
                              silenced: boolean;
                              suggested: boolean
                              | null;
                              suspended: boolean;
                              username: string;
                          }
                          | null;
                      assigned_account: | {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      }
                      | null;
                      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: Account
                          | null;
                          application: { name: string; website: string | null } | null;
                          approval_status: "rejected" | "pending" | "approval" | null;
                          bookmark_folder: string | null;
                          bookmarked: boolean;
                          card:
                              | {
                                  author_name: string;
                                  author_url: string;
                                  authors: { account: ...; name: ...; url: ... }[];
                                  blurhash: string | null;
                                  description: string;
                                  embed_url: string;
                                  height: number;
                                  html: string;
                                  image: string | null;
                                  image_description: string;
                                  provider_name: string;
                                  provider_url: string;
                                  title: string;
                                  type: "link" | "video" | "photo" | "rich";
                                  url: string;
                                  width: number;
                              }
                              | null;
                          content: string;
                          content_map: { [key: string]: string }
                          | null;
                          content_type: string | null;
                          conversation_id?: string;
                          created_at: string;
                          direct_conversation_id?: string;
                          disliked: boolean;
                          dislikes_count: number;
                          edited_at: string | null;
                          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: string
                              | null;
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          event: | {
                              end_time: string
                              | null;
                              join_mode: "free" | "restricted" | "invite" | "external" | null;
                              join_state: "pending" | "reject" | "accept" | null;
                              location:
                                  | {
                                      country: ...;
                                      latitude: ...;
                                      locality: ...;
                                      longitude: ...;
                                      name: ...;
                                      postal_code: ...;
                                      region: ...;
                                      street: ...;
                                      url: ...;
                                  }
                                  | null;
                              name: string;
                              participants_count: number;
                              participation_request_count: number;
                              start_time: string
                              | null;
                          }
                          | null;
                          expires_at?: string;
                          favourited: boolean;
                          favourites_count: number;
                          filtered: {
                              filter: {
                                  context: (...)[];
                                  expires_at: (...) | (...);
                                  filter_action: (...) | (...) | (...);
                                  id: string;
                                  title: string;
                              };
                              keyword_matches: string
                              | null;
                              status_matches: string | null;
                          }[];
                          group: | {
                              avatar: string;
                              avatar_default: boolean;
                              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_default: boolean;
                              header_description: string;
                              header_static: string;
                              id: string;
                              locked: boolean;
                              members_count: number;
                              membership_required: boolean;
                              note: string;
                              owner: { id: ... }
                              | null;
                              relationship:
                                  | { id: ...; member: ...; requested: ...; role?: ... }
                                  | null;
                              statuses_visibility: string;
                              uri: string;
                              url: string;
                          }
                          | null;
                          id: string;
                          in_reply_to_account_acct?: string;
                          in_reply_to_account_id: string
                          | null;
                          in_reply_to_id: string | null;
                          interaction_policy: {
                              can_favourite: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                              can_reblog: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                              can_reply: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                          };
                          language: string
                          | null;
                          list_id: number | null;
                          local?: boolean;
                          local_only?: boolean;
                          location:
                              | {
                                  country: string;
                                  latitude: number
                                  | null;
                                  locality: string;
                                  longitude: number | null;
                                  name: string;
                                  postal_code: string;
                                  region: string;
                                  street: string;
                                  url: string;
                              }
                              | null;
                          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: string | null;
                          poll:
                              | {
                                  emojis: {
                                      category: ...;
                                      shortcode: ...;
                                      static_url: ...;
                                      url: ...;
                                      visible_in_picker: ...;
                                  }[];
                                  expired: boolean;
                                  expires_at: string
                                  | null;
                                  id: string;
                                  multiple: boolean;
                                  non_anonymous: boolean;
                                  options: { title: ...; title_map: ...; votes_count: ... }[];
                                  own_votes: (...)[] | null;
                                  voted: boolean;
                                  voters_count: number;
                                  votes_count: number;
                              }
                              | null;
                          quote: | {
                              quoted_status_id: string
                              | null;
                              state:
                                  | "rejected"
                                  | "pending"
                                  | "accepted"
                                  | "revoked"
                                  | "deleted"
                                  | "unauthorized"
                                  | "blocked_account"
                                  | "blocked_domain"
                                  | "muted_account";
                          }
                          | {
                              quoted_status: Status
                              | null;
                              state:
                                  | "rejected"
                                  | "pending"
                                  | "accepted"
                                  | "revoked"
                                  | "deleted"
                                  | "unauthorized"
                                  | "blocked_account"
                                  | "blocked_domain"
                                  | "muted_account";
                          }
                          | null;
                          quote_approval: | {
                              automatic: ((...) | (...) | (...) | (...))[];
                              current_user: "unknown" | "automatic" | "manual" | "denied";
                              manual: ((...) | (...) | (...) | (...))[];
                          }
                          | null;
                          quote_id: string
                          | null;
                          quote_url?: string;
                          quote_visible?: boolean;
                          quotes_count: number;
                          reblog: Status | null;
                          reblogged: boolean;
                          reblogs_count: number;
                          replies_count: number;
                          rss_feed:
                              | {
                                  description: string
                                  | null;
                                  id: string;
                                  image_url: string | null;
                                  title: string | null;
                                  url: string;
                              }
                              | null;
                          scheduled_at: null;
                          sensitive: boolean;
                          spoiler_text: string;
                          spoiler_text_map: { [key: string]: string }
                          | null;
                          tags: {
                              following?: boolean;
                              history: (...)[] | null;
                              name: string;
                              total: number | null;
                              url: string;
                          }[];
                          text: string
                          | null;
                          text_map: { [key: string]: string } | null;
                          thread_muted?: boolean;
                          translation:
                              | false
                              | {
                                  content: string;
                                  detected_source_language: string;
                                  id: string
                                  | null;
                                  language: string;
                                  media_attachments: { description: ...; id: ... }[];
                                  poll?: { id: ...; options: ... };
                                  provider: string | null;
                                  spoiler_text: string;
                              }
                              | null;
                          uri: string;
                          url: string;
                          visibility: string;
                      }[];
                      target_account: {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      };
                      updated_at?: string;
                  },
              >;
              getReport: (
                  reportId: string,
              ) => Promise<
                  {
                      account: {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      };
                      action_taken?: boolean;
                      action_taken_at: string
                      | null;
                      action_taken_by_account:
                          | {
                              account: Account
                              | null;
                              actor_type: string | null;
                              approved: boolean;
                              confirmed: boolean;
                              created_at: string;
                              created_by_application_id?: string;
                              disabled: boolean;
                              display_name: string | null;
                              domain: string | null;
                              email: string | null;
                              id: string;
                              invite_request: string | null;
                              invited_by_account_id?: string;
                              ip: string | null;
                              ips: { ip: string; used_at: string }[];
                              locale: string | null;
                              role:
                                  | {
                                      color: string;
                                      highlighted: boolean;
                                      id: string;
                                      name: string;
                                      permissions: string;
                                  }
                                  | null;
                              sensitized: boolean;
                              silenced: boolean;
                              suggested: boolean
                              | null;
                              suspended: boolean;
                              username: string;
                          }
                          | null;
                      assigned_account: | {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      }
                      | null;
                      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: Account
                          | null;
                          application: { name: string; website: string | null } | null;
                          approval_status: "rejected" | "pending" | "approval" | null;
                          bookmark_folder: string | null;
                          bookmarked: boolean;
                          card:
                              | {
                                  author_name: string;
                                  author_url: string;
                                  authors: { account: ...; name: ...; url: ... }[];
                                  blurhash: string | null;
                                  description: string;
                                  embed_url: string;
                                  height: number;
                                  html: string;
                                  image: string | null;
                                  image_description: string;
                                  provider_name: string;
                                  provider_url: string;
                                  title: string;
                                  type: "link" | "video" | "photo" | "rich";
                                  url: string;
                                  width: number;
                              }
                              | null;
                          content: string;
                          content_map: { [key: string]: string }
                          | null;
                          content_type: string | null;
                          conversation_id?: string;
                          created_at: string;
                          direct_conversation_id?: string;
                          disliked: boolean;
                          dislikes_count: number;
                          edited_at: string | null;
                          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: string
                              | null;
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          event: | {
                              end_time: string
                              | null;
                              join_mode: "free" | "restricted" | "invite" | "external" | null;
                              join_state: "pending" | "reject" | "accept" | null;
                              location:
                                  | {
                                      country: ...;
                                      latitude: ...;
                                      locality: ...;
                                      longitude: ...;
                                      name: ...;
                                      postal_code: ...;
                                      region: ...;
                                      street: ...;
                                      url: ...;
                                  }
                                  | null;
                              name: string;
                              participants_count: number;
                              participation_request_count: number;
                              start_time: string
                              | null;
                          }
                          | null;
                          expires_at?: string;
                          favourited: boolean;
                          favourites_count: number;
                          filtered: {
                              filter: {
                                  context: (...)[];
                                  expires_at: (...) | (...);
                                  filter_action: (...) | (...) | (...);
                                  id: string;
                                  title: string;
                              };
                              keyword_matches: string
                              | null;
                              status_matches: string | null;
                          }[];
                          group: | {
                              avatar: string;
                              avatar_default: boolean;
                              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_default: boolean;
                              header_description: string;
                              header_static: string;
                              id: string;
                              locked: boolean;
                              members_count: number;
                              membership_required: boolean;
                              note: string;
                              owner: { id: ... }
                              | null;
                              relationship:
                                  | { id: ...; member: ...; requested: ...; role?: ... }
                                  | null;
                              statuses_visibility: string;
                              uri: string;
                              url: string;
                          }
                          | null;
                          id: string;
                          in_reply_to_account_acct?: string;
                          in_reply_to_account_id: string
                          | null;
                          in_reply_to_id: string | null;
                          interaction_policy: {
                              can_favourite: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                              can_reblog: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                              can_reply: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                          };
                          language: string
                          | null;
                          list_id: number | null;
                          local?: boolean;
                          local_only?: boolean;
                          location:
                              | {
                                  country: string;
                                  latitude: number
                                  | null;
                                  locality: string;
                                  longitude: number | null;
                                  name: string;
                                  postal_code: string;
                                  region: string;
                                  street: string;
                                  url: string;
                              }
                              | null;
                          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: string | null;
                          poll:
                              | {
                                  emojis: {
                                      category: ...;
                                      shortcode: ...;
                                      static_url: ...;
                                      url: ...;
                                      visible_in_picker: ...;
                                  }[];
                                  expired: boolean;
                                  expires_at: string
                                  | null;
                                  id: string;
                                  multiple: boolean;
                                  non_anonymous: boolean;
                                  options: { title: ...; title_map: ...; votes_count: ... }[];
                                  own_votes: (...)[] | null;
                                  voted: boolean;
                                  voters_count: number;
                                  votes_count: number;
                              }
                              | null;
                          quote: | {
                              quoted_status_id: string
                              | null;
                              state:
                                  | "rejected"
                                  | "pending"
                                  | "accepted"
                                  | "revoked"
                                  | "deleted"
                                  | "unauthorized"
                                  | "blocked_account"
                                  | "blocked_domain"
                                  | "muted_account";
                          }
                          | {
                              quoted_status: Status
                              | null;
                              state:
                                  | "rejected"
                                  | "pending"
                                  | "accepted"
                                  | "revoked"
                                  | "deleted"
                                  | "unauthorized"
                                  | "blocked_account"
                                  | "blocked_domain"
                                  | "muted_account";
                          }
                          | null;
                          quote_approval: | {
                              automatic: ((...) | (...) | (...) | (...))[];
                              current_user: "unknown" | "automatic" | "manual" | "denied";
                              manual: ((...) | (...) | (...) | (...))[];
                          }
                          | null;
                          quote_id: string
                          | null;
                          quote_url?: string;
                          quote_visible?: boolean;
                          quotes_count: number;
                          reblog: Status | null;
                          reblogged: boolean;
                          reblogs_count: number;
                          replies_count: number;
                          rss_feed:
                              | {
                                  description: string
                                  | null;
                                  id: string;
                                  image_url: string | null;
                                  title: string | null;
                                  url: string;
                              }
                              | null;
                          scheduled_at: null;
                          sensitive: boolean;
                          spoiler_text: string;
                          spoiler_text_map: { [key: string]: string }
                          | null;
                          tags: {
                              following?: boolean;
                              history: (...)[] | null;
                              name: string;
                              total: number | null;
                              url: string;
                          }[];
                          text: string
                          | null;
                          text_map: { [key: string]: string } | null;
                          thread_muted?: boolean;
                          translation:
                              | false
                              | {
                                  content: string;
                                  detected_source_language: string;
                                  id: string
                                  | null;
                                  language: string;
                                  media_attachments: { description: ...; id: ... }[];
                                  poll?: { id: ...; options: ... };
                                  provider: string | null;
                                  spoiler_text: string;
                              }
                              | null;
                          uri: string;
                          url: string;
                          visibility: string;
                      }[];
                      target_account: {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      };
                      updated_at?: string;
                  },
              >;
              getReports: (
                  params?: AdminGetReportsParams,
              ) => Promise<
                  PaginatedResponse<
                      {
                          account: {
                              account: Account
                              | null;
                              actor_type: string | null;
                              approved: boolean;
                              confirmed: boolean;
                              created_at: string;
                              created_by_application_id?: string;
                              disabled: boolean;
                              display_name: string | null;
                              domain: string | null;
                              email: string | null;
                              id: string;
                              invite_request: string | null;
                              invited_by_account_id?: string;
                              ip: string | null;
                              ips: { ip: string; used_at: string }[];
                              locale: string | null;
                              role:
                                  | {
                                      color: string;
                                      highlighted: boolean;
                                      id: string;
                                      name: string;
                                      permissions: string;
                                  }
                                  | null;
                              sensitized: boolean;
                              silenced: boolean;
                              suggested: boolean
                              | null;
                              suspended: boolean;
                              username: string;
                          };
                          action_taken?: boolean;
                          action_taken_at: string
                          | null;
                          action_taken_by_account:
                              | {
                                  account: Account
                                  | null;
                                  actor_type: string | null;
                                  approved: boolean;
                                  confirmed: boolean;
                                  created_at: string;
                                  created_by_application_id?: string;
                                  disabled: boolean;
                                  display_name: string | null;
                                  domain: string | null;
                                  email: string | null;
                                  id: string;
                                  invite_request: string | null;
                                  invited_by_account_id?: string;
                                  ip: string | null;
                                  ips: { ip: string; used_at: string }[];
                                  locale: string | null;
                                  role:
                                      | {
                                          color: string;
                                          highlighted: boolean;
                                          id: string;
                                          name: string;
                                          permissions: string;
                                      }
                                      | null;
                                  sensitized: boolean;
                                  silenced: boolean;
                                  suggested: boolean
                                  | null;
                                  suspended: boolean;
                                  username: string;
                              }
                              | null;
                          assigned_account: | {
                              account: Account
                              | null;
                              actor_type: string | null;
                              approved: boolean;
                              confirmed: boolean;
                              created_at: string;
                              created_by_application_id?: string;
                              disabled: boolean;
                              display_name: string | null;
                              domain: string | null;
                              email: string | null;
                              id: string;
                              invite_request: string | null;
                              invited_by_account_id?: string;
                              ip: string | null;
                              ips: { ip: string; used_at: string }[];
                              locale: string | null;
                              role:
                                  | {
                                      color: string;
                                      highlighted: boolean;
                                      id: string;
                                      name: string;
                                      permissions: string;
                                  }
                                  | null;
                              sensitized: boolean;
                              silenced: boolean;
                              suggested: boolean
                              | null;
                              suspended: boolean;
                              username: string;
                          }
                          | null;
                          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: Account
                              | null;
                              application: { name: string; website: (...) | (...) } | null;
                              approval_status: "rejected" | "pending" | "approval" | null;
                              bookmark_folder: string | null;
                              bookmarked: boolean;
                              card:
                                  | {
                                      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;
                                  }
                                  | null;
                              content: string;
                              content_map: { [key: string]: string }
                              | null;
                              content_type: string | null;
                              conversation_id?: string;
                              created_at: string;
                              direct_conversation_id?: string;
                              disliked: boolean;
                              dislikes_count: number;
                              edited_at: string | null;
                              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: | {
                                  end_time: (...)
                                  | (...);
                                  join_mode: (...) | (...) | (...) | (...) | (...);
                                  join_state: (...) | (...) | (...) | (...);
                                  location: (...) | (...);
                                  name: string;
                                  participants_count: number;
                                  participation_request_count: number;
                                  start_time: (...) | (...);
                              }
                              | null;
                              expires_at?: string;
                              favourited: boolean;
                              favourites_count: number;
                              filtered: {
                                  filter: {
                                      context: ...;
                                      expires_at: ...;
                                      filter_action: ...;
                                      id: ...;
                                      title: ...;
                                  };
                                  keyword_matches: (...)
                                  | (...);
                                  status_matches: (...) | (...);
                              }[];
                              group: | {
                                  avatar: string;
                                  avatar_default: boolean;
                                  avatar_description: string;
                                  avatar_static: string;
                                  created_at: string;
                                  display_name: string;
                                  domain: string;
                                  emojis: (...)[];
                                  header: string;
                                  header_default: boolean;
                                  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;
                              }
                              | null;
                              id: string;
                              in_reply_to_account_acct?: string;
                              in_reply_to_account_id: string
                              | null;
                              in_reply_to_id: string | null;
                              interaction_policy: {
                                  can_favourite: {
                                      automatic_approval: (...)[];
                                      manual_approval: (...)[];
                                  };
                                  can_reblog: { automatic_approval: (...)[]; manual_approval: (...)[] };
                                  can_reply: { automatic_approval: (...)[]; manual_approval: (...)[] };
                              };
                              language: string
                              | null;
                              list_id: number | null;
                              local?: boolean;
                              local_only?: boolean;
                              location:
                                  | {
                                      country: string;
                                      latitude: (...)
                                      | (...);
                                      locality: string;
                                      longitude: (...) | (...);
                                      name: string;
                                      postal_code: string;
                                      region: string;
                                      street: string;
                                      url: string;
                                  }
                                  | null;
                              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: string | null;
                              poll:
                                  | {
                                      emojis: (...)[];
                                      expired: boolean;
                                      expires_at: (...) | (...);
                                      id: string;
                                      multiple: boolean;
                                      non_anonymous: boolean;
                                      options: (...)[];
                                      own_votes: (...) | (...);
                                      voted: boolean;
                                      voters_count: number;
                                      votes_count: number;
                                  }
                                  | null;
                              quote: | {
                                  quoted_status_id: (...)
                                  | (...);
                                  state:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                              }
                              | {
                                  quoted_status: (...)
                                  | (...);
                                  state:
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...);
                              }
                              | null;
                              quote_approval: | {
                                  automatic: (...)[];
                                  current_user: (...) | (...) | (...) | (...);
                                  manual: (...)[];
                              }
                              | null;
                              quote_id: string
                              | null;
                              quote_url?: string;
                              quote_visible?: boolean;
                              quotes_count: number;
                              reblog: Status | null;
                              reblogged: boolean;
                              reblogs_count: number;
                              replies_count: number;
                              rss_feed:
                                  | {
                                      description: (...)
                                      | (...);
                                      id: string;
                                      image_url: (...) | (...);
                                      title: (...) | (...);
                                      url: string;
                                  }
                                  | null;
                              scheduled_at: null;
                              sensitive: boolean;
                              spoiler_text: string;
                              spoiler_text_map: { [key: string]: string }
                              | null;
                              tags: {
                                  following?: (...) | (...) | (...);
                                  history: (...) | (...);
                                  name: string;
                                  total: (...) | (...);
                                  url: string;
                              }[];
                              text: string
                              | null;
                              text_map: { [key: string]: string } | null;
                              thread_muted?: boolean;
                              translation:
                                  | false
                                  | {
                                      content: string;
                                      detected_source_language: string;
                                      id: (...)
                                      | (...);
                                      language: string;
                                      media_attachments: (...)[];
                                      poll?: (...) | (...);
                                      provider: (...) | (...);
                                      spoiler_text: string;
                                  }
                                  | null;
                              uri: string;
                              url: string;
                              visibility: string;
                          }[];
                          target_account: {
                              account: Account
                              | null;
                              actor_type: string | null;
                              approved: boolean;
                              confirmed: boolean;
                              created_at: string;
                              created_by_application_id?: string;
                              disabled: boolean;
                              display_name: string | null;
                              domain: string | null;
                              email: string | null;
                              id: string;
                              invite_request: string | null;
                              invited_by_account_id?: string;
                              ip: string | null;
                              ips: { ip: string; used_at: string }[];
                              locale: string | null;
                              role:
                                  | {
                                      color: string;
                                      highlighted: boolean;
                                      id: string;
                                      name: string;
                                      permissions: string;
                                  }
                                  | null;
                              sensitized: boolean;
                              silenced: boolean;
                              suggested: boolean
                              | null;
                              suspended: boolean;
                              username: string;
                          };
                          updated_at?: string;
                      },
                      true,
                  >,
              >;
              reopenReport: (
                  reportId: string,
              ) => Promise<
                  {
                      account: {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      };
                      action_taken?: boolean;
                      action_taken_at: string
                      | null;
                      action_taken_by_account:
                          | {
                              account: Account
                              | null;
                              actor_type: string | null;
                              approved: boolean;
                              confirmed: boolean;
                              created_at: string;
                              created_by_application_id?: string;
                              disabled: boolean;
                              display_name: string | null;
                              domain: string | null;
                              email: string | null;
                              id: string;
                              invite_request: string | null;
                              invited_by_account_id?: string;
                              ip: string | null;
                              ips: { ip: string; used_at: string }[];
                              locale: string | null;
                              role:
                                  | {
                                      color: string;
                                      highlighted: boolean;
                                      id: string;
                                      name: string;
                                      permissions: string;
                                  }
                                  | null;
                              sensitized: boolean;
                              silenced: boolean;
                              suggested: boolean
                              | null;
                              suspended: boolean;
                              username: string;
                          }
                          | null;
                      assigned_account: | {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      }
                      | null;
                      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: Account
                          | null;
                          application: { name: string; website: string | null } | null;
                          approval_status: "rejected" | "pending" | "approval" | null;
                          bookmark_folder: string | null;
                          bookmarked: boolean;
                          card:
                              | {
                                  author_name: string;
                                  author_url: string;
                                  authors: { account: ...; name: ...; url: ... }[];
                                  blurhash: string | null;
                                  description: string;
                                  embed_url: string;
                                  height: number;
                                  html: string;
                                  image: string | null;
                                  image_description: string;
                                  provider_name: string;
                                  provider_url: string;
                                  title: string;
                                  type: "link" | "video" | "photo" | "rich";
                                  url: string;
                                  width: number;
                              }
                              | null;
                          content: string;
                          content_map: { [key: string]: string }
                          | null;
                          content_type: string | null;
                          conversation_id?: string;
                          created_at: string;
                          direct_conversation_id?: string;
                          disliked: boolean;
                          dislikes_count: number;
                          edited_at: string | null;
                          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: string
                              | null;
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          event: | {
                              end_time: string
                              | null;
                              join_mode: "free" | "restricted" | "invite" | "external" | null;
                              join_state: "pending" | "reject" | "accept" | null;
                              location:
                                  | {
                                      country: ...;
                                      latitude: ...;
                                      locality: ...;
                                      longitude: ...;
                                      name: ...;
                                      postal_code: ...;
                                      region: ...;
                                      street: ...;
                                      url: ...;
                                  }
                                  | null;
                              name: string;
                              participants_count: number;
                              participation_request_count: number;
                              start_time: string
                              | null;
                          }
                          | null;
                          expires_at?: string;
                          favourited: boolean;
                          favourites_count: number;
                          filtered: {
                              filter: {
                                  context: (...)[];
                                  expires_at: (...) | (...);
                                  filter_action: (...) | (...) | (...);
                                  id: string;
                                  title: string;
                              };
                              keyword_matches: string
                              | null;
                              status_matches: string | null;
                          }[];
                          group: | {
                              avatar: string;
                              avatar_default: boolean;
                              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_default: boolean;
                              header_description: string;
                              header_static: string;
                              id: string;
                              locked: boolean;
                              members_count: number;
                              membership_required: boolean;
                              note: string;
                              owner: { id: ... }
                              | null;
                              relationship:
                                  | { id: ...; member: ...; requested: ...; role?: ... }
                                  | null;
                              statuses_visibility: string;
                              uri: string;
                              url: string;
                          }
                          | null;
                          id: string;
                          in_reply_to_account_acct?: string;
                          in_reply_to_account_id: string
                          | null;
                          in_reply_to_id: string | null;
                          interaction_policy: {
                              can_favourite: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                              can_reblog: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                              can_reply: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                          };
                          language: string
                          | null;
                          list_id: number | null;
                          local?: boolean;
                          local_only?: boolean;
                          location:
                              | {
                                  country: string;
                                  latitude: number
                                  | null;
                                  locality: string;
                                  longitude: number | null;
                                  name: string;
                                  postal_code: string;
                                  region: string;
                                  street: string;
                                  url: string;
                              }
                              | null;
                          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: string | null;
                          poll:
                              | {
                                  emojis: {
                                      category: ...;
                                      shortcode: ...;
                                      static_url: ...;
                                      url: ...;
                                      visible_in_picker: ...;
                                  }[];
                                  expired: boolean;
                                  expires_at: string
                                  | null;
                                  id: string;
                                  multiple: boolean;
                                  non_anonymous: boolean;
                                  options: { title: ...; title_map: ...; votes_count: ... }[];
                                  own_votes: (...)[] | null;
                                  voted: boolean;
                                  voters_count: number;
                                  votes_count: number;
                              }
                              | null;
                          quote: | {
                              quoted_status_id: string
                              | null;
                              state:
                                  | "rejected"
                                  | "pending"
                                  | "accepted"
                                  | "revoked"
                                  | "deleted"
                                  | "unauthorized"
                                  | "blocked_account"
                                  | "blocked_domain"
                                  | "muted_account";
                          }
                          | {
                              quoted_status: Status
                              | null;
                              state:
                                  | "rejected"
                                  | "pending"
                                  | "accepted"
                                  | "revoked"
                                  | "deleted"
                                  | "unauthorized"
                                  | "blocked_account"
                                  | "blocked_domain"
                                  | "muted_account";
                          }
                          | null;
                          quote_approval: | {
                              automatic: ((...) | (...) | (...) | (...))[];
                              current_user: "unknown" | "automatic" | "manual" | "denied";
                              manual: ((...) | (...) | (...) | (...))[];
                          }
                          | null;
                          quote_id: string
                          | null;
                          quote_url?: string;
                          quote_visible?: boolean;
                          quotes_count: number;
                          reblog: Status | null;
                          reblogged: boolean;
                          reblogs_count: number;
                          replies_count: number;
                          rss_feed:
                              | {
                                  description: string
                                  | null;
                                  id: string;
                                  image_url: string | null;
                                  title: string | null;
                                  url: string;
                              }
                              | null;
                          scheduled_at: null;
                          sensitive: boolean;
                          spoiler_text: string;
                          spoiler_text_map: { [key: string]: string }
                          | null;
                          tags: {
                              following?: boolean;
                              history: (...)[] | null;
                              name: string;
                              total: number | null;
                              url: string;
                          }[];
                          text: string
                          | null;
                          text_map: { [key: string]: string } | null;
                          thread_muted?: boolean;
                          translation:
                              | false
                              | {
                                  content: string;
                                  detected_source_language: string;
                                  id: string
                                  | null;
                                  language: string;
                                  media_attachments: { description: ...; id: ... }[];
                                  poll?: { id: ...; options: ... };
                                  provider: string | null;
                                  spoiler_text: string;
                              }
                              | null;
                          uri: string;
                          url: string;
                          visibility: string;
                      }[];
                      target_account: {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      };
                      updated_at?: string;
                  },
              >;
              resolveReport: (
                  reportId: string,
                  action_taken_comment?: string,
              ) => Promise<
                  {
                      account: {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      };
                      action_taken?: boolean;
                      action_taken_at: string
                      | null;
                      action_taken_by_account:
                          | {
                              account: Account
                              | null;
                              actor_type: string | null;
                              approved: boolean;
                              confirmed: boolean;
                              created_at: string;
                              created_by_application_id?: string;
                              disabled: boolean;
                              display_name: string | null;
                              domain: string | null;
                              email: string | null;
                              id: string;
                              invite_request: string | null;
                              invited_by_account_id?: string;
                              ip: string | null;
                              ips: { ip: string; used_at: string }[];
                              locale: string | null;
                              role:
                                  | {
                                      color: string;
                                      highlighted: boolean;
                                      id: string;
                                      name: string;
                                      permissions: string;
                                  }
                                  | null;
                              sensitized: boolean;
                              silenced: boolean;
                              suggested: boolean
                              | null;
                              suspended: boolean;
                              username: string;
                          }
                          | null;
                      assigned_account: | {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      }
                      | null;
                      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: Account
                          | null;
                          application: { name: string; website: string | null } | null;
                          approval_status: "rejected" | "pending" | "approval" | null;
                          bookmark_folder: string | null;
                          bookmarked: boolean;
                          card:
                              | {
                                  author_name: string;
                                  author_url: string;
                                  authors: { account: ...; name: ...; url: ... }[];
                                  blurhash: string | null;
                                  description: string;
                                  embed_url: string;
                                  height: number;
                                  html: string;
                                  image: string | null;
                                  image_description: string;
                                  provider_name: string;
                                  provider_url: string;
                                  title: string;
                                  type: "link" | "video" | "photo" | "rich";
                                  url: string;
                                  width: number;
                              }
                              | null;
                          content: string;
                          content_map: { [key: string]: string }
                          | null;
                          content_type: string | null;
                          conversation_id?: string;
                          created_at: string;
                          direct_conversation_id?: string;
                          disliked: boolean;
                          dislikes_count: number;
                          edited_at: string | null;
                          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: string
                              | null;
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          event: | {
                              end_time: string
                              | null;
                              join_mode: "free" | "restricted" | "invite" | "external" | null;
                              join_state: "pending" | "reject" | "accept" | null;
                              location:
                                  | {
                                      country: ...;
                                      latitude: ...;
                                      locality: ...;
                                      longitude: ...;
                                      name: ...;
                                      postal_code: ...;
                                      region: ...;
                                      street: ...;
                                      url: ...;
                                  }
                                  | null;
                              name: string;
                              participants_count: number;
                              participation_request_count: number;
                              start_time: string
                              | null;
                          }
                          | null;
                          expires_at?: string;
                          favourited: boolean;
                          favourites_count: number;
                          filtered: {
                              filter: {
                                  context: (...)[];
                                  expires_at: (...) | (...);
                                  filter_action: (...) | (...) | (...);
                                  id: string;
                                  title: string;
                              };
                              keyword_matches: string
                              | null;
                              status_matches: string | null;
                          }[];
                          group: | {
                              avatar: string;
                              avatar_default: boolean;
                              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_default: boolean;
                              header_description: string;
                              header_static: string;
                              id: string;
                              locked: boolean;
                              members_count: number;
                              membership_required: boolean;
                              note: string;
                              owner: { id: ... }
                              | null;
                              relationship:
                                  | { id: ...; member: ...; requested: ...; role?: ... }
                                  | null;
                              statuses_visibility: string;
                              uri: string;
                              url: string;
                          }
                          | null;
                          id: string;
                          in_reply_to_account_acct?: string;
                          in_reply_to_account_id: string
                          | null;
                          in_reply_to_id: string | null;
                          interaction_policy: {
                              can_favourite: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                              can_reblog: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                              can_reply: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                          };
                          language: string
                          | null;
                          list_id: number | null;
                          local?: boolean;
                          local_only?: boolean;
                          location:
                              | {
                                  country: string;
                                  latitude: number
                                  | null;
                                  locality: string;
                                  longitude: number | null;
                                  name: string;
                                  postal_code: string;
                                  region: string;
                                  street: string;
                                  url: string;
                              }
                              | null;
                          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: string | null;
                          poll:
                              | {
                                  emojis: {
                                      category: ...;
                                      shortcode: ...;
                                      static_url: ...;
                                      url: ...;
                                      visible_in_picker: ...;
                                  }[];
                                  expired: boolean;
                                  expires_at: string
                                  | null;
                                  id: string;
                                  multiple: boolean;
                                  non_anonymous: boolean;
                                  options: { title: ...; title_map: ...; votes_count: ... }[];
                                  own_votes: (...)[] | null;
                                  voted: boolean;
                                  voters_count: number;
                                  votes_count: number;
                              }
                              | null;
                          quote: | {
                              quoted_status_id: string
                              | null;
                              state:
                                  | "rejected"
                                  | "pending"
                                  | "accepted"
                                  | "revoked"
                                  | "deleted"
                                  | "unauthorized"
                                  | "blocked_account"
                                  | "blocked_domain"
                                  | "muted_account";
                          }
                          | {
                              quoted_status: Status
                              | null;
                              state:
                                  | "rejected"
                                  | "pending"
                                  | "accepted"
                                  | "revoked"
                                  | "deleted"
                                  | "unauthorized"
                                  | "blocked_account"
                                  | "blocked_domain"
                                  | "muted_account";
                          }
                          | null;
                          quote_approval: | {
                              automatic: ((...) | (...) | (...) | (...))[];
                              current_user: "unknown" | "automatic" | "manual" | "denied";
                              manual: ((...) | (...) | (...) | (...))[];
                          }
                          | null;
                          quote_id: string
                          | null;
                          quote_url?: string;
                          quote_visible?: boolean;
                          quotes_count: number;
                          reblog: Status | null;
                          reblogged: boolean;
                          reblogs_count: number;
                          replies_count: number;
                          rss_feed:
                              | {
                                  description: string
                                  | null;
                                  id: string;
                                  image_url: string | null;
                                  title: string | null;
                                  url: string;
                              }
                              | null;
                          scheduled_at: null;
                          sensitive: boolean;
                          spoiler_text: string;
                          spoiler_text_map: { [key: string]: string }
                          | null;
                          tags: {
                              following?: boolean;
                              history: (...)[] | null;
                              name: string;
                              total: number | null;
                              url: string;
                          }[];
                          text: string
                          | null;
                          text_map: { [key: string]: string } | null;
                          thread_muted?: boolean;
                          translation:
                              | false
                              | {
                                  content: string;
                                  detected_source_language: string;
                                  id: string
                                  | null;
                                  language: string;
                                  media_attachments: { description: ...; id: ... }[];
                                  poll?: { id: ...; options: ... };
                                  provider: string | null;
                                  spoiler_text: string;
                              }
                              | null;
                          uri: string;
                          url: string;
                          visibility: string;
                      }[];
                      target_account: {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      };
                      updated_at?: string;
                  },
              >;
              unassignReport: (
                  reportId: string,
              ) => Promise<
                  {
                      account: {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      };
                      action_taken?: boolean;
                      action_taken_at: string
                      | null;
                      action_taken_by_account:
                          | {
                              account: Account
                              | null;
                              actor_type: string | null;
                              approved: boolean;
                              confirmed: boolean;
                              created_at: string;
                              created_by_application_id?: string;
                              disabled: boolean;
                              display_name: string | null;
                              domain: string | null;
                              email: string | null;
                              id: string;
                              invite_request: string | null;
                              invited_by_account_id?: string;
                              ip: string | null;
                              ips: { ip: string; used_at: string }[];
                              locale: string | null;
                              role:
                                  | {
                                      color: string;
                                      highlighted: boolean;
                                      id: string;
                                      name: string;
                                      permissions: string;
                                  }
                                  | null;
                              sensitized: boolean;
                              silenced: boolean;
                              suggested: boolean
                              | null;
                              suspended: boolean;
                              username: string;
                          }
                          | null;
                      assigned_account: | {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      }
                      | null;
                      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: Account
                          | null;
                          application: { name: string; website: string | null } | null;
                          approval_status: "rejected" | "pending" | "approval" | null;
                          bookmark_folder: string | null;
                          bookmarked: boolean;
                          card:
                              | {
                                  author_name: string;
                                  author_url: string;
                                  authors: { account: ...; name: ...; url: ... }[];
                                  blurhash: string | null;
                                  description: string;
                                  embed_url: string;
                                  height: number;
                                  html: string;
                                  image: string | null;
                                  image_description: string;
                                  provider_name: string;
                                  provider_url: string;
                                  title: string;
                                  type: "link" | "video" | "photo" | "rich";
                                  url: string;
                                  width: number;
                              }
                              | null;
                          content: string;
                          content_map: { [key: string]: string }
                          | null;
                          content_type: string | null;
                          conversation_id?: string;
                          created_at: string;
                          direct_conversation_id?: string;
                          disliked: boolean;
                          dislikes_count: number;
                          edited_at: string | null;
                          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: string
                              | null;
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          event: | {
                              end_time: string
                              | null;
                              join_mode: "free" | "restricted" | "invite" | "external" | null;
                              join_state: "pending" | "reject" | "accept" | null;
                              location:
                                  | {
                                      country: ...;
                                      latitude: ...;
                                      locality: ...;
                                      longitude: ...;
                                      name: ...;
                                      postal_code: ...;
                                      region: ...;
                                      street: ...;
                                      url: ...;
                                  }
                                  | null;
                              name: string;
                              participants_count: number;
                              participation_request_count: number;
                              start_time: string
                              | null;
                          }
                          | null;
                          expires_at?: string;
                          favourited: boolean;
                          favourites_count: number;
                          filtered: {
                              filter: {
                                  context: (...)[];
                                  expires_at: (...) | (...);
                                  filter_action: (...) | (...) | (...);
                                  id: string;
                                  title: string;
                              };
                              keyword_matches: string
                              | null;
                              status_matches: string | null;
                          }[];
                          group: | {
                              avatar: string;
                              avatar_default: boolean;
                              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_default: boolean;
                              header_description: string;
                              header_static: string;
                              id: string;
                              locked: boolean;
                              members_count: number;
                              membership_required: boolean;
                              note: string;
                              owner: { id: ... }
                              | null;
                              relationship:
                                  | { id: ...; member: ...; requested: ...; role?: ... }
                                  | null;
                              statuses_visibility: string;
                              uri: string;
                              url: string;
                          }
                          | null;
                          id: string;
                          in_reply_to_account_acct?: string;
                          in_reply_to_account_id: string
                          | null;
                          in_reply_to_id: string | null;
                          interaction_policy: {
                              can_favourite: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                              can_reblog: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                              can_reply: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                          };
                          language: string
                          | null;
                          list_id: number | null;
                          local?: boolean;
                          local_only?: boolean;
                          location:
                              | {
                                  country: string;
                                  latitude: number
                                  | null;
                                  locality: string;
                                  longitude: number | null;
                                  name: string;
                                  postal_code: string;
                                  region: string;
                                  street: string;
                                  url: string;
                              }
                              | null;
                          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: string | null;
                          poll:
                              | {
                                  emojis: {
                                      category: ...;
                                      shortcode: ...;
                                      static_url: ...;
                                      url: ...;
                                      visible_in_picker: ...;
                                  }[];
                                  expired: boolean;
                                  expires_at: string
                                  | null;
                                  id: string;
                                  multiple: boolean;
                                  non_anonymous: boolean;
                                  options: { title: ...; title_map: ...; votes_count: ... }[];
                                  own_votes: (...)[] | null;
                                  voted: boolean;
                                  voters_count: number;
                                  votes_count: number;
                              }
                              | null;
                          quote: | {
                              quoted_status_id: string
                              | null;
                              state:
                                  | "rejected"
                                  | "pending"
                                  | "accepted"
                                  | "revoked"
                                  | "deleted"
                                  | "unauthorized"
                                  | "blocked_account"
                                  | "blocked_domain"
                                  | "muted_account";
                          }
                          | {
                              quoted_status: Status
                              | null;
                              state:
                                  | "rejected"
                                  | "pending"
                                  | "accepted"
                                  | "revoked"
                                  | "deleted"
                                  | "unauthorized"
                                  | "blocked_account"
                                  | "blocked_domain"
                                  | "muted_account";
                          }
                          | null;
                          quote_approval: | {
                              automatic: ((...) | (...) | (...) | (...))[];
                              current_user: "unknown" | "automatic" | "manual" | "denied";
                              manual: ((...) | (...) | (...) | (...))[];
                          }
                          | null;
                          quote_id: string
                          | null;
                          quote_url?: string;
                          quote_visible?: boolean;
                          quotes_count: number;
                          reblog: Status | null;
                          reblogged: boolean;
                          reblogs_count: number;
                          replies_count: number;
                          rss_feed:
                              | {
                                  description: string
                                  | null;
                                  id: string;
                                  image_url: string | null;
                                  title: string | null;
                                  url: string;
                              }
                              | null;
                          scheduled_at: null;
                          sensitive: boolean;
                          spoiler_text: string;
                          spoiler_text_map: { [key: string]: string }
                          | null;
                          tags: {
                              following?: boolean;
                              history: (...)[] | null;
                              name: string;
                              total: number | null;
                              url: string;
                          }[];
                          text: string
                          | null;
                          text_map: { [key: string]: string } | null;
                          thread_muted?: boolean;
                          translation:
                              | false
                              | {
                                  content: string;
                                  detected_source_language: string;
                                  id: string
                                  | null;
                                  language: string;
                                  media_attachments: { description: ...; id: ... }[];
                                  poll?: { id: ...; options: ... };
                                  provider: string | null;
                                  spoiler_text: string;
                              }
                              | null;
                          uri: string;
                          url: string;
                          visibility: string;
                      }[];
                      target_account: {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      };
                      updated_at?: string;
                  },
              >;
              updateReport: (
                  reportId: string,
                  params: AdminUpdateReportParams,
              ) => Promise<
                  {
                      account: {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      };
                      action_taken?: boolean;
                      action_taken_at: string
                      | null;
                      action_taken_by_account:
                          | {
                              account: Account
                              | null;
                              actor_type: string | null;
                              approved: boolean;
                              confirmed: boolean;
                              created_at: string;
                              created_by_application_id?: string;
                              disabled: boolean;
                              display_name: string | null;
                              domain: string | null;
                              email: string | null;
                              id: string;
                              invite_request: string | null;
                              invited_by_account_id?: string;
                              ip: string | null;
                              ips: { ip: string; used_at: string }[];
                              locale: string | null;
                              role:
                                  | {
                                      color: string;
                                      highlighted: boolean;
                                      id: string;
                                      name: string;
                                      permissions: string;
                                  }
                                  | null;
                              sensitized: boolean;
                              silenced: boolean;
                              suggested: boolean
                              | null;
                              suspended: boolean;
                              username: string;
                          }
                          | null;
                      assigned_account: | {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      }
                      | null;
                      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: Account
                          | null;
                          application: { name: string; website: string | null } | null;
                          approval_status: "rejected" | "pending" | "approval" | null;
                          bookmark_folder: string | null;
                          bookmarked: boolean;
                          card:
                              | {
                                  author_name: string;
                                  author_url: string;
                                  authors: { account: ...; name: ...; url: ... }[];
                                  blurhash: string | null;
                                  description: string;
                                  embed_url: string;
                                  height: number;
                                  html: string;
                                  image: string | null;
                                  image_description: string;
                                  provider_name: string;
                                  provider_url: string;
                                  title: string;
                                  type: "link" | "video" | "photo" | "rich";
                                  url: string;
                                  width: number;
                              }
                              | null;
                          content: string;
                          content_map: { [key: string]: string }
                          | null;
                          content_type: string | null;
                          conversation_id?: string;
                          created_at: string;
                          direct_conversation_id?: string;
                          disliked: boolean;
                          dislikes_count: number;
                          edited_at: string | null;
                          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: string
                              | null;
                              shortcode: string;
                              static_url: string;
                              url: string;
                              visible_in_picker: boolean;
                          }[];
                          event: | {
                              end_time: string
                              | null;
                              join_mode: "free" | "restricted" | "invite" | "external" | null;
                              join_state: "pending" | "reject" | "accept" | null;
                              location:
                                  | {
                                      country: ...;
                                      latitude: ...;
                                      locality: ...;
                                      longitude: ...;
                                      name: ...;
                                      postal_code: ...;
                                      region: ...;
                                      street: ...;
                                      url: ...;
                                  }
                                  | null;
                              name: string;
                              participants_count: number;
                              participation_request_count: number;
                              start_time: string
                              | null;
                          }
                          | null;
                          expires_at?: string;
                          favourited: boolean;
                          favourites_count: number;
                          filtered: {
                              filter: {
                                  context: (...)[];
                                  expires_at: (...) | (...);
                                  filter_action: (...) | (...) | (...);
                                  id: string;
                                  title: string;
                              };
                              keyword_matches: string
                              | null;
                              status_matches: string | null;
                          }[];
                          group: | {
                              avatar: string;
                              avatar_default: boolean;
                              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_default: boolean;
                              header_description: string;
                              header_static: string;
                              id: string;
                              locked: boolean;
                              members_count: number;
                              membership_required: boolean;
                              note: string;
                              owner: { id: ... }
                              | null;
                              relationship:
                                  | { id: ...; member: ...; requested: ...; role?: ... }
                                  | null;
                              statuses_visibility: string;
                              uri: string;
                              url: string;
                          }
                          | null;
                          id: string;
                          in_reply_to_account_acct?: string;
                          in_reply_to_account_id: string
                          | null;
                          in_reply_to_id: string | null;
                          interaction_policy: {
                              can_favourite: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                              can_reblog: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                              can_reply: {
                                  automatic_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                                  manual_approval: (
                                      (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                      | (...)
                                  )[];
                              };
                          };
                          language: string
                          | null;
                          list_id: number | null;
                          local?: boolean;
                          local_only?: boolean;
                          location:
                              | {
                                  country: string;
                                  latitude: number
                                  | null;
                                  locality: string;
                                  longitude: number | null;
                                  name: string;
                                  postal_code: string;
                                  region: string;
                                  street: string;
                                  url: string;
                              }
                              | null;
                          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: string | null;
                          poll:
                              | {
                                  emojis: {
                                      category: ...;
                                      shortcode: ...;
                                      static_url: ...;
                                      url: ...;
                                      visible_in_picker: ...;
                                  }[];
                                  expired: boolean;
                                  expires_at: string
                                  | null;
                                  id: string;
                                  multiple: boolean;
                                  non_anonymous: boolean;
                                  options: { title: ...; title_map: ...; votes_count: ... }[];
                                  own_votes: (...)[] | null;
                                  voted: boolean;
                                  voters_count: number;
                                  votes_count: number;
                              }
                              | null;
                          quote: | {
                              quoted_status_id: string
                              | null;
                              state:
                                  | "rejected"
                                  | "pending"
                                  | "accepted"
                                  | "revoked"
                                  | "deleted"
                                  | "unauthorized"
                                  | "blocked_account"
                                  | "blocked_domain"
                                  | "muted_account";
                          }
                          | {
                              quoted_status: Status
                              | null;
                              state:
                                  | "rejected"
                                  | "pending"
                                  | "accepted"
                                  | "revoked"
                                  | "deleted"
                                  | "unauthorized"
                                  | "blocked_account"
                                  | "blocked_domain"
                                  | "muted_account";
                          }
                          | null;
                          quote_approval: | {
                              automatic: ((...) | (...) | (...) | (...))[];
                              current_user: "unknown" | "automatic" | "manual" | "denied";
                              manual: ((...) | (...) | (...) | (...))[];
                          }
                          | null;
                          quote_id: string
                          | null;
                          quote_url?: string;
                          quote_visible?: boolean;
                          quotes_count: number;
                          reblog: Status | null;
                          reblogged: boolean;
                          reblogs_count: number;
                          replies_count: number;
                          rss_feed:
                              | {
                                  description: string
                                  | null;
                                  id: string;
                                  image_url: string | null;
                                  title: string | null;
                                  url: string;
                              }
                              | null;
                          scheduled_at: null;
                          sensitive: boolean;
                          spoiler_text: string;
                          spoiler_text_map: { [key: string]: string }
                          | null;
                          tags: {
                              following?: boolean;
                              history: (...)[] | null;
                              name: string;
                              total: number | null;
                              url: string;
                          }[];
                          text: string
                          | null;
                          text_map: { [key: string]: string } | null;
                          thread_muted?: boolean;
                          translation:
                              | false
                              | {
                                  content: string;
                                  detected_source_language: string;
                                  id: string
                                  | null;
                                  language: string;
                                  media_attachments: { description: ...; id: ... }[];
                                  poll?: { id: ...; options: ... };
                                  provider: string | null;
                                  spoiler_text: string;
                              }
                              | null;
                          uri: string;
                          url: string;
                          visibility: string;
                      }[];
                      target_account: {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          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: number
                      | null;
                      text: string;
                      updated_at?: string;
                  },
              >;
              deleteRule: (ruleId: string) => Promise<EmptyObject>;
              getRules: () => Promise<
                  {
                      created_at?: string;
                      hint: string;
                      id: string;
                      priority: number
                      | null;
                      text: string;
                      updated_at?: string;
                  }[],
              >;
              updateRule: (
                  ruleId: string,
                  params: AdminUpdateRuleParams,
              ) => Promise<
                  {
                      created_at?: string;
                      hint: string;
                      id: string;
                      priority: number
                      | null;
                      text: string;
                      updated_at?: string;
                  },
              >;
          };
          statuses: {
              deleteStatus: (statusId: string) => Promise<EmptyObject>;
              getStatus: (statusId: string) => Promise<Status>;
              getStatuses: (
                  params?: AdminGetStatusesParams,
              ) => Promise<PaginatedResponse<Status, true>>;
              getStatusSource: (
                  statusId: string,
              ) => Promise<
                  {
                      content_type: string;
                      id: string;
                      location: | {
                          country: string;
                          description: string;
                          geom: { coordinates: [(...), (...)] | null; srid: string }
                          | null;
                          locality: string;
                          origin_id: string;
                          origin_provider: string;
                          postal_code: string;
                          region: string;
                          street: string;
                          timezone: string;
                          type: string;
                          url: string;
                      }
                      | null;
                      spoiler_text: string;
                      spoiler_text_map: { [key: string]: string }
                      | null;
                      text: string;
                      text_map: { [key: string]: string } | null;
                  },
              >;
              redactStatus: (
                  statusId: string,
                  params: EditStatusParams & { overwrite?: boolean },
              ) => Promise<Status>;
              updateStatus: (
                  statusId: string,
                  params: AdminUpdateStatusParams,
              ) => Promise<Status>;
          };
          trends: {
              getTrendingLinks: () => Promise<
                  {
                      author_name: string;
                      author_url: string;
                      blurhash: string
                      | null;
                      description: string;
                      embed_url: string;
                      height: number | null;
                      history: { accounts: number; day: number; uses: number }[] | null;
                      html: string;
                      id: string;
                      image: string | null;
                      image_description: string | null;
                      provider_name: string;
                      provider_url: string;
                      title: string;
                      type: "link" | "video" | "photo" | "rich";
                      url: string;
                      width: number | null;
                  }[],
              >;
              getTrendingStatuses: () => Promise<Status[]>;
              getTrendingTags: () => Promise<
                  {
                      following?: boolean;
                      history: { accounts: number; day: number; uses: number }[]
                      | null;
                      id: string;
                      name: string;
                      requires_review: boolean;
                      total: number | null;
                      trendable: boolean;
                      url: string;
                      usable: boolean;
                  }[],
              >;
          };
      }

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

        Perform moderation actions with accounts.

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

          Requires featuresFeatures.pleromaAdminAccounts.

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

          Delete an account Permanently delete data for a suspended accountusers

        • demoteToUser: (accountId: string) => Promise<EmptyObject>

          Requires featuresFeatures.pleromaAdminAccounts.

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

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

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

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

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

          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<EmptyObject>

          Requires featuresFeatures.pleromaAdminAccounts.

        • promoteToModerator: (accountId: string) => Promise<EmptyObject>

          Requires featuresFeatures.pleromaAdminAccounts.

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

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

        • suggestUser: (accountId: string) => Promise<EmptyObject>

          Tag a user.

          Requires featuresFeatures.pleromaAdminAccounts.

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

          Tag a user.

          Requires featuresFeatures.pleromaAdminAccounts.

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

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

        • unsuggestUser: (accountId: string) => Promise<EmptyObject>

          Untag a user.

          Requires featuresFeatures.pleromaAdminAccounts.

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

          Unsuspend an account Unsuspend a currently suspended account.

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

          Untag a user.

          Requires featuresFeatures.pleromaAdminAccounts.

      • announcements: {
            createAnnouncement: (
                params: AdminCreateAnnouncementParams,
            ) => Promise<
                {
                    all_day: boolean;
                    content: string;
                    emojis: {
                        category: string
                        | null;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    ends_at: string
                    | null;
                    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: string | null;
                        url: string | null;
                    }[];
                    read: boolean;
                    starts_at: string
                    | null;
                    statuses: { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: { accounts: number; day: number; uses: number }[] | null;
                        name: string;
                        total: number | null;
                        url: string;
                    }[];
                    updated_at: string;
                },
            >;
            deleteAnnouncement: (announcementId: string) => Promise<EmptyObject>;
            getAnnouncement: (
                announcementId: string,
            ) => Promise<
                {
                    all_day: boolean;
                    content: string;
                    emojis: {
                        category: string
                        | null;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    ends_at: string
                    | null;
                    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: string | null;
                        url: string | null;
                    }[];
                    read: boolean;
                    starts_at: string
                    | null;
                    statuses: { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: { accounts: number; day: number; uses: number }[] | null;
                        name: string;
                        total: number | null;
                        url: string;
                    }[];
                    updated_at: string;
                },
            >;
            getAnnouncements: (
                params?: AdminGetAnnouncementsParams,
            ) => Promise<
                PaginatedResponse<
                    {
                        all_day: boolean;
                        content: string;
                        emojis: {
                            category: string
                            | null;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        ends_at: string
                        | null;
                        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: string | null;
                            url: string | null;
                        }[];
                        read: boolean;
                        starts_at: string
                        | null;
                        statuses: { [key: string]: string };
                        tags: {
                            following?: boolean;
                            history: { accounts: ...; day: ...; uses: ... }[] | null;
                            name: string;
                            total: number | null;
                            url: string;
                        }[];
                        updated_at: string;
                    },
                    true,
                >,
            >;
            updateAnnouncement: (
                announcementId: string,
                params: AdminUpdateAnnouncementParams,
            ) => Promise<
                {
                    all_day: boolean;
                    content: string;
                    emojis: {
                        category: string
                        | null;
                        shortcode: string;
                        static_url: string;
                        url: string;
                        visible_in_picker: boolean;
                    }[];
                    ends_at: string
                    | null;
                    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: string | null;
                        url: string | null;
                    }[];
                    read: boolean;
                    starts_at: string
                    | null;
                    statuses: { [key: string]: string };
                    tags: {
                        following?: boolean;
                        history: { accounts: number; day: number; uses: number }[] | null;
                        name: string;
                        total: number | null;
                        url: string;
                    }[];
                    updated_at: string;
                },
            >;
        }
        • createAnnouncement: (
              params: AdminCreateAnnouncementParams,
          ) => Promise<
              {
                  all_day: boolean;
                  content: string;
                  emojis: {
                      category: string
                      | null;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  ends_at: string
                  | null;
                  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: string | null;
                      url: string | null;
                  }[];
                  read: boolean;
                  starts_at: string
                  | null;
                  statuses: { [key: string]: string };
                  tags: {
                      following?: boolean;
                      history: { accounts: number; day: number; uses: number }[] | null;
                      name: string;
                      total: number | null;
                      url: string;
                  }[];
                  updated_at: string;
              },
          >

          Create an announcement

          Requires featuresFeatures.pleromaAdminAnnouncements.

        • deleteAnnouncement: (announcementId: string) => Promise<EmptyObject>

          Delete an announcement

          Requires featuresFeatures.pleromaAdminAnnouncements.

        • getAnnouncement: (
              announcementId: string,
          ) => Promise<
              {
                  all_day: boolean;
                  content: string;
                  emojis: {
                      category: string
                      | null;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  ends_at: string
                  | null;
                  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: string | null;
                      url: string | null;
                  }[];
                  read: boolean;
                  starts_at: string
                  | null;
                  statuses: { [key: string]: string };
                  tags: {
                      following?: boolean;
                      history: { accounts: number; day: number; uses: number }[] | null;
                      name: string;
                      total: number | null;
                      url: string;
                  }[];
                  updated_at: string;
              },
          >

          Display one announcement

          Requires featuresFeatures.pleromaAdminAnnouncements.

        • getAnnouncements: (
              params?: AdminGetAnnouncementsParams,
          ) => Promise<
              PaginatedResponse<
                  {
                      all_day: boolean;
                      content: string;
                      emojis: {
                          category: string
                          | null;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      ends_at: string
                      | null;
                      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: string | null;
                          url: string | null;
                      }[];
                      read: boolean;
                      starts_at: string
                      | null;
                      statuses: { [key: string]: string };
                      tags: {
                          following?: boolean;
                          history: { accounts: ...; day: ...; uses: ... }[] | null;
                          name: string;
                          total: number | null;
                          url: string;
                      }[];
                      updated_at: string;
                  },
                  true,
              >,
          >

          List announcements

          Requires featuresFeatures.pleromaAdminAnnouncements.

        • updateAnnouncement: (
              announcementId: string,
              params: AdminUpdateAnnouncementParams,
          ) => Promise<
              {
                  all_day: boolean;
                  content: string;
                  emojis: {
                      category: string
                      | null;
                      shortcode: string;
                      static_url: string;
                      url: string;
                      visible_in_picker: boolean;
                  }[];
                  ends_at: string
                  | null;
                  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: string | null;
                      url: string | null;
                  }[];
                  read: boolean;
                  starts_at: string
                  | null;
                  statuses: { [key: string]: string };
                  tags: {
                      following?: boolean;
                      history: { accounts: number; day: number; uses: number }[] | null;
                      name: string;
                      total: number | null;
                      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<EmptyObject>;
            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;
                },
            >;
            getPleromaConfigDescriptions: () => Promise<
                {
                    children: PleromaConfigDescriptionChild[];
                    description?: string;
                    group?: string;
                    key?: string;
                    label?: string;
                    related_policy?: string;
                    tab?: string;
                    type: string
                    | string[];
                }[],
            >;
            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: string
                    | null;
                    content_type: string | null;
                    disabled: boolean;
                    domain: string | null;
                    id: string;
                    shortcode: string;
                    static_url: string;
                    total_file_size: number | null;
                    updated_at?: string;
                    uri: string;
                    url: string;
                    visible_in_picker: boolean;
                },
            >;
            deleteCustomEmoji: (
                emojiId: string,
            ) => Promise<
                {
                    category: string
                    | null;
                    content_type: string | null;
                    disabled: boolean;
                    domain: string | null;
                    id: string;
                    shortcode: string;
                    static_url: string;
                    total_file_size: number | null;
                    updated_at?: string;
                    uri: string;
                    url: string;
                    visible_in_picker: boolean;
                },
            >;
            getCustomEmoji: (
                emojiId: string,
            ) => Promise<
                {
                    category: string
                    | null;
                    content_type: string | null;
                    disabled: boolean;
                    domain: string | null;
                    id: string;
                    shortcode: string;
                    static_url: string;
                    total_file_size: number | null;
                    updated_at?: string;
                    uri: string;
                    url: string;
                    visible_in_picker: boolean;
                },
            >;
            getCustomEmojis: (
                params: AdminGetCustomEmojisParams,
            ) => Promise<
                PaginatedResponse<
                    {
                        category: string
                        | null;
                        content_type: string | null;
                        disabled: boolean;
                        domain: string | null;
                        id: string;
                        shortcode: string;
                        static_url: string;
                        total_file_size: number | null;
                        updated_at?: string;
                        uri: string;
                        url: string;
                        visible_in_picker: boolean;
                    },
                    true,
                >,
            >;
            updateCustomEmoji: (
                emojiId: string,
                params: AdminUpdateCustomEmojiParams,
            ) => Promise<
                {
                    category: string
                    | null;
                    content_type: string | null;
                    disabled: boolean;
                    domain: string | null;
                    id: string;
                    shortcode: string;
                    static_url: string;
                    total_file_size: number | null;
                    updated_at?: string;
                    uri: string;
                    url: string;
                    visible_in_picker: boolean;
                },
            >;
        }
        • createCustomEmoji: (
              params: AdminCreateCustomEmojiParams,
          ) => Promise<
              {
                  category: string
                  | null;
                  content_type: string | null;
                  disabled: boolean;
                  domain: string | null;
                  id: string;
                  shortcode: string;
                  static_url: string;
                  total_file_size: number | null;
                  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: string
                  | null;
                  content_type: string | null;
                  disabled: boolean;
                  domain: string | null;
                  id: string;
                  shortcode: string;
                  static_url: string;
                  total_file_size: number | null;
                  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: string
                  | null;
                  content_type: string | null;
                  disabled: boolean;
                  domain: string | null;
                  id: string;
                  shortcode: string;
                  static_url: string;
                  total_file_size: number | null;
                  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: string
                      | null;
                      content_type: string | null;
                      disabled: boolean;
                      domain: string | null;
                      id: string;
                      shortcode: string;
                      static_url: string;
                      total_file_size: number | null;
                      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: string
                  | null;
                  content_type: string | null;
                  disabled: boolean;
                  domain: string | null;
                  id: string;
                  shortcode: string;
                  static_url: string;
                  total_file_size: number | null;
                  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<EmptyObject>;
            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: string
                    | null;
                    public_comment: string | null;
                    reject_media: boolean;
                    reject_reports: boolean;
                    severity: "silence" | "suspend" | "noop";
                },
            >;
            deleteDomainBlock: (domainBlockId: string) => Promise<EmptyObject>;
            getDomainBlock: (
                domainBlockId: string,
            ) => Promise<
                {
                    created_at: string;
                    digest: string;
                    domain: string;
                    id: string;
                    obfuscate: boolean;
                    private_comment: string
                    | null;
                    public_comment: string | null;
                    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: string
                        | null;
                        public_comment: string | null;
                        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: string
                    | null;
                    public_comment: string | null;
                    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: string
                  | null;
                  public_comment: string | null;
                  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<EmptyObject>

          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: string
                  | null;
                  public_comment: string | null;
                  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: string
                      | null;
                      public_comment: string | null;
                      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: string
                  | null;
                  public_comment: string | null;
                  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: string
                    | null;
                    public: boolean;
                    resolves: boolean;
                },
            >;
            deleteDomain: (domainId: string) => Promise<EmptyObject>;
            getDomains: () => Promise<
                {
                    domain: string;
                    id: string;
                    last_checked_at: string
                    | null;
                    public: boolean;
                    resolves: boolean;
                }[],
            >;
            updateDomain: (
                domainId: string,
                isPublic: boolean,
            ) => Promise<
                {
                    domain: string;
                    id: string;
                    last_checked_at: string
                    | null;
                    public: boolean;
                    resolves: boolean;
                },
            >;
        }
        • createDomain: (
              params: AdminCreateDomainParams,
          ) => Promise<
              {
                  domain: string;
                  id: string;
                  last_checked_at: string
                  | null;
                  public: boolean;
                  resolves: boolean;
              },
          >

          Create a domain

          Requires featuresFeatures.domains.

        • deleteDomain: (domainId: string) => Promise<EmptyObject>

          Delete a domain

          Requires featuresFeatures.domains.

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

          List of domains

          Requires featuresFeatures.domains.

        • updateDomain: (
              domainId: string,
              isPublic: boolean,
          ) => Promise<
              {
                  domain: string;
                  id: string;
                  last_checked_at: string
                  | null;
                  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<EmptyObject>;
            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<EmptyObject>

          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: string
                    | null;
                    id: string;
                    ip: string;
                    severity: "sign_up_requires_approval" | "sign_up_block" | "no_access";
                },
            >;
            deleteIpBlock: (ipBlockId: string) => Promise<EmptyObject>;
            getIpBlock: (
                ipBlockId: string,
            ) => Promise<
                {
                    comment: string;
                    created_at: string;
                    expires_at: string
                    | null;
                    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: string
                        | null;
                        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: string
                    | null;
                    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: string
                  | null;
                  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<EmptyObject>

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

        • getIpBlock: (
              ipBlockId: string,
          ) => Promise<
              {
                  comment: string;
                  created_at: string;
                  expires_at: string
                  | null;
                  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: string
                      | null;
                      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: string
                  | null;
                  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: string | null;
                }[],
            >;
        }

        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: string | null;
              }[],
          >

          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: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    };
                    action_taken?: boolean;
                    action_taken_at: string
                    | null;
                    action_taken_by_account:
                        | {
                            account: Account
                            | null;
                            actor_type: string | null;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: string | null;
                            domain: string | null;
                            email: string | null;
                            id: string;
                            invite_request: string | null;
                            invited_by_account_id?: string;
                            ip: string | null;
                            ips: { ip: string; used_at: string }[];
                            locale: string | null;
                            role:
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                }
                                | null;
                            sensitized: boolean;
                            silenced: boolean;
                            suggested: boolean
                            | null;
                            suspended: boolean;
                            username: string;
                        }
                        | null;
                    assigned_account: | {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    }
                    | null;
                    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: Account
                        | null;
                        application: { name: string; website: string | null } | null;
                        approval_status: "rejected" | "pending" | "approval" | null;
                        bookmark_folder: string | null;
                        bookmarked: boolean;
                        card:
                            | {
                                author_name: string;
                                author_url: string;
                                authors: { account: ...; name: ...; url: ... }[];
                                blurhash: string | null;
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: string | null;
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: "link" | "video" | "photo" | "rich";
                                url: string;
                                width: number;
                            }
                            | null;
                        content: string;
                        content_map: { [key: string]: string }
                        | null;
                        content_type: string | null;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: string | null;
                        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: string
                            | null;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | {
                            end_time: string
                            | null;
                            join_mode: "free" | "restricted" | "invite" | "external" | null;
                            join_state: "pending" | "reject" | "accept" | null;
                            location:
                                | {
                                    country: ...;
                                    latitude: ...;
                                    locality: ...;
                                    longitude: ...;
                                    name: ...;
                                    postal_code: ...;
                                    region: ...;
                                    street: ...;
                                    url: ...;
                                }
                                | null;
                            name: string;
                            participants_count: number;
                            participation_request_count: number;
                            start_time: string
                            | null;
                        }
                        | null;
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: (...)[];
                                expires_at: (...) | (...);
                                filter_action: (...) | (...) | (...);
                                id: string;
                                title: string;
                            };
                            keyword_matches: string
                            | null;
                            status_matches: string | null;
                        }[];
                        group: | {
                            avatar: string;
                            avatar_default: boolean;
                            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_default: boolean;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: { id: ... }
                            | null;
                            relationship:
                                | { id: ...; member: ...; requested: ...; role?: ... }
                                | null;
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        }
                        | null;
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: string
                        | null;
                        in_reply_to_id: string | null;
                        interaction_policy: {
                            can_favourite: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reblog: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reply: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                        };
                        language: string
                        | null;
                        list_id: number | null;
                        local?: boolean;
                        local_only?: boolean;
                        location:
                            | {
                                country: string;
                                latitude: number
                                | null;
                                locality: string;
                                longitude: number | null;
                                name: string;
                                postal_code: string;
                                region: string;
                                street: string;
                                url: string;
                            }
                            | null;
                        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: string | null;
                        poll:
                            | {
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                expired: boolean;
                                expires_at: string
                                | null;
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: { title: ...; title_map: ...; votes_count: ... }[];
                                own_votes: (...)[] | null;
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            }
                            | null;
                        quote: | {
                            quoted_status_id: string
                            | null;
                            state:
                                | "rejected"
                                | "pending"
                                | "accepted"
                                | "revoked"
                                | "deleted"
                                | "unauthorized"
                                | "blocked_account"
                                | "blocked_domain"
                                | "muted_account";
                        }
                        | {
                            quoted_status: Status
                            | null;
                            state:
                                | "rejected"
                                | "pending"
                                | "accepted"
                                | "revoked"
                                | "deleted"
                                | "unauthorized"
                                | "blocked_account"
                                | "blocked_domain"
                                | "muted_account";
                        }
                        | null;
                        quote_approval: | {
                            automatic: ((...) | (...) | (...) | (...))[];
                            current_user: "unknown" | "automatic" | "manual" | "denied";
                            manual: ((...) | (...) | (...) | (...))[];
                        }
                        | null;
                        quote_id: string
                        | null;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblog: Status | null;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | {
                                description: string
                                | null;
                                id: string;
                                image_url: string | null;
                                title: string | null;
                                url: string;
                            }
                            | null;
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: { [key: string]: string }
                        | null;
                        tags: {
                            following?: boolean;
                            history: (...)[] | null;
                            name: string;
                            total: number | null;
                            url: string;
                        }[];
                        text: string
                        | null;
                        text_map: { [key: string]: string } | null;
                        thread_muted?: boolean;
                        translation:
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: string
                                | null;
                                language: string;
                                media_attachments: { description: ...; id: ... }[];
                                poll?: { id: ...; options: ... };
                                provider: string | null;
                                spoiler_text: string;
                            }
                            | null;
                        uri: string;
                        url: string;
                        visibility: string;
                    }[];
                    target_account: {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    };
                    updated_at?: string;
                },
            >;
            getReport: (
                reportId: string,
            ) => Promise<
                {
                    account: {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    };
                    action_taken?: boolean;
                    action_taken_at: string
                    | null;
                    action_taken_by_account:
                        | {
                            account: Account
                            | null;
                            actor_type: string | null;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: string | null;
                            domain: string | null;
                            email: string | null;
                            id: string;
                            invite_request: string | null;
                            invited_by_account_id?: string;
                            ip: string | null;
                            ips: { ip: string; used_at: string }[];
                            locale: string | null;
                            role:
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                }
                                | null;
                            sensitized: boolean;
                            silenced: boolean;
                            suggested: boolean
                            | null;
                            suspended: boolean;
                            username: string;
                        }
                        | null;
                    assigned_account: | {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    }
                    | null;
                    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: Account
                        | null;
                        application: { name: string; website: string | null } | null;
                        approval_status: "rejected" | "pending" | "approval" | null;
                        bookmark_folder: string | null;
                        bookmarked: boolean;
                        card:
                            | {
                                author_name: string;
                                author_url: string;
                                authors: { account: ...; name: ...; url: ... }[];
                                blurhash: string | null;
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: string | null;
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: "link" | "video" | "photo" | "rich";
                                url: string;
                                width: number;
                            }
                            | null;
                        content: string;
                        content_map: { [key: string]: string }
                        | null;
                        content_type: string | null;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: string | null;
                        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: string
                            | null;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | {
                            end_time: string
                            | null;
                            join_mode: "free" | "restricted" | "invite" | "external" | null;
                            join_state: "pending" | "reject" | "accept" | null;
                            location:
                                | {
                                    country: ...;
                                    latitude: ...;
                                    locality: ...;
                                    longitude: ...;
                                    name: ...;
                                    postal_code: ...;
                                    region: ...;
                                    street: ...;
                                    url: ...;
                                }
                                | null;
                            name: string;
                            participants_count: number;
                            participation_request_count: number;
                            start_time: string
                            | null;
                        }
                        | null;
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: (...)[];
                                expires_at: (...) | (...);
                                filter_action: (...) | (...) | (...);
                                id: string;
                                title: string;
                            };
                            keyword_matches: string
                            | null;
                            status_matches: string | null;
                        }[];
                        group: | {
                            avatar: string;
                            avatar_default: boolean;
                            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_default: boolean;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: { id: ... }
                            | null;
                            relationship:
                                | { id: ...; member: ...; requested: ...; role?: ... }
                                | null;
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        }
                        | null;
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: string
                        | null;
                        in_reply_to_id: string | null;
                        interaction_policy: {
                            can_favourite: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reblog: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reply: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                        };
                        language: string
                        | null;
                        list_id: number | null;
                        local?: boolean;
                        local_only?: boolean;
                        location:
                            | {
                                country: string;
                                latitude: number
                                | null;
                                locality: string;
                                longitude: number | null;
                                name: string;
                                postal_code: string;
                                region: string;
                                street: string;
                                url: string;
                            }
                            | null;
                        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: string | null;
                        poll:
                            | {
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                expired: boolean;
                                expires_at: string
                                | null;
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: { title: ...; title_map: ...; votes_count: ... }[];
                                own_votes: (...)[] | null;
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            }
                            | null;
                        quote: | {
                            quoted_status_id: string
                            | null;
                            state:
                                | "rejected"
                                | "pending"
                                | "accepted"
                                | "revoked"
                                | "deleted"
                                | "unauthorized"
                                | "blocked_account"
                                | "blocked_domain"
                                | "muted_account";
                        }
                        | {
                            quoted_status: Status
                            | null;
                            state:
                                | "rejected"
                                | "pending"
                                | "accepted"
                                | "revoked"
                                | "deleted"
                                | "unauthorized"
                                | "blocked_account"
                                | "blocked_domain"
                                | "muted_account";
                        }
                        | null;
                        quote_approval: | {
                            automatic: ((...) | (...) | (...) | (...))[];
                            current_user: "unknown" | "automatic" | "manual" | "denied";
                            manual: ((...) | (...) | (...) | (...))[];
                        }
                        | null;
                        quote_id: string
                        | null;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblog: Status | null;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | {
                                description: string
                                | null;
                                id: string;
                                image_url: string | null;
                                title: string | null;
                                url: string;
                            }
                            | null;
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: { [key: string]: string }
                        | null;
                        tags: {
                            following?: boolean;
                            history: (...)[] | null;
                            name: string;
                            total: number | null;
                            url: string;
                        }[];
                        text: string
                        | null;
                        text_map: { [key: string]: string } | null;
                        thread_muted?: boolean;
                        translation:
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: string
                                | null;
                                language: string;
                                media_attachments: { description: ...; id: ... }[];
                                poll?: { id: ...; options: ... };
                                provider: string | null;
                                spoiler_text: string;
                            }
                            | null;
                        uri: string;
                        url: string;
                        visibility: string;
                    }[];
                    target_account: {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    };
                    updated_at?: string;
                },
            >;
            getReports: (
                params?: AdminGetReportsParams,
            ) => Promise<
                PaginatedResponse<
                    {
                        account: {
                            account: Account
                            | null;
                            actor_type: string | null;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: string | null;
                            domain: string | null;
                            email: string | null;
                            id: string;
                            invite_request: string | null;
                            invited_by_account_id?: string;
                            ip: string | null;
                            ips: { ip: string; used_at: string }[];
                            locale: string | null;
                            role:
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                }
                                | null;
                            sensitized: boolean;
                            silenced: boolean;
                            suggested: boolean
                            | null;
                            suspended: boolean;
                            username: string;
                        };
                        action_taken?: boolean;
                        action_taken_at: string
                        | null;
                        action_taken_by_account:
                            | {
                                account: Account
                                | null;
                                actor_type: string | null;
                                approved: boolean;
                                confirmed: boolean;
                                created_at: string;
                                created_by_application_id?: string;
                                disabled: boolean;
                                display_name: string | null;
                                domain: string | null;
                                email: string | null;
                                id: string;
                                invite_request: string | null;
                                invited_by_account_id?: string;
                                ip: string | null;
                                ips: { ip: string; used_at: string }[];
                                locale: string | null;
                                role:
                                    | {
                                        color: string;
                                        highlighted: boolean;
                                        id: string;
                                        name: string;
                                        permissions: string;
                                    }
                                    | null;
                                sensitized: boolean;
                                silenced: boolean;
                                suggested: boolean
                                | null;
                                suspended: boolean;
                                username: string;
                            }
                            | null;
                        assigned_account: | {
                            account: Account
                            | null;
                            actor_type: string | null;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: string | null;
                            domain: string | null;
                            email: string | null;
                            id: string;
                            invite_request: string | null;
                            invited_by_account_id?: string;
                            ip: string | null;
                            ips: { ip: string; used_at: string }[];
                            locale: string | null;
                            role:
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                }
                                | null;
                            sensitized: boolean;
                            silenced: boolean;
                            suggested: boolean
                            | null;
                            suspended: boolean;
                            username: string;
                        }
                        | null;
                        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: Account
                            | null;
                            application: { name: string; website: (...) | (...) } | null;
                            approval_status: "rejected" | "pending" | "approval" | null;
                            bookmark_folder: string | null;
                            bookmarked: boolean;
                            card:
                                | {
                                    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;
                                }
                                | null;
                            content: string;
                            content_map: { [key: string]: string }
                            | null;
                            content_type: string | null;
                            conversation_id?: string;
                            created_at: string;
                            direct_conversation_id?: string;
                            disliked: boolean;
                            dislikes_count: number;
                            edited_at: string | null;
                            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: | {
                                end_time: (...)
                                | (...);
                                join_mode: (...) | (...) | (...) | (...) | (...);
                                join_state: (...) | (...) | (...) | (...);
                                location: (...) | (...);
                                name: string;
                                participants_count: number;
                                participation_request_count: number;
                                start_time: (...) | (...);
                            }
                            | null;
                            expires_at?: string;
                            favourited: boolean;
                            favourites_count: number;
                            filtered: {
                                filter: {
                                    context: ...;
                                    expires_at: ...;
                                    filter_action: ...;
                                    id: ...;
                                    title: ...;
                                };
                                keyword_matches: (...)
                                | (...);
                                status_matches: (...) | (...);
                            }[];
                            group: | {
                                avatar: string;
                                avatar_default: boolean;
                                avatar_description: string;
                                avatar_static: string;
                                created_at: string;
                                display_name: string;
                                domain: string;
                                emojis: (...)[];
                                header: string;
                                header_default: boolean;
                                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;
                            }
                            | null;
                            id: string;
                            in_reply_to_account_acct?: string;
                            in_reply_to_account_id: string
                            | null;
                            in_reply_to_id: string | null;
                            interaction_policy: {
                                can_favourite: {
                                    automatic_approval: (...)[];
                                    manual_approval: (...)[];
                                };
                                can_reblog: { automatic_approval: (...)[]; manual_approval: (...)[] };
                                can_reply: { automatic_approval: (...)[]; manual_approval: (...)[] };
                            };
                            language: string
                            | null;
                            list_id: number | null;
                            local?: boolean;
                            local_only?: boolean;
                            location:
                                | {
                                    country: string;
                                    latitude: (...)
                                    | (...);
                                    locality: string;
                                    longitude: (...) | (...);
                                    name: string;
                                    postal_code: string;
                                    region: string;
                                    street: string;
                                    url: string;
                                }
                                | null;
                            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: string | null;
                            poll:
                                | {
                                    emojis: (...)[];
                                    expired: boolean;
                                    expires_at: (...) | (...);
                                    id: string;
                                    multiple: boolean;
                                    non_anonymous: boolean;
                                    options: (...)[];
                                    own_votes: (...) | (...);
                                    voted: boolean;
                                    voters_count: number;
                                    votes_count: number;
                                }
                                | null;
                            quote: | {
                                quoted_status_id: (...)
                                | (...);
                                state:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                            }
                            | {
                                quoted_status: (...)
                                | (...);
                                state:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                            }
                            | null;
                            quote_approval: | {
                                automatic: (...)[];
                                current_user: (...) | (...) | (...) | (...);
                                manual: (...)[];
                            }
                            | null;
                            quote_id: string
                            | null;
                            quote_url?: string;
                            quote_visible?: boolean;
                            quotes_count: number;
                            reblog: Status | null;
                            reblogged: boolean;
                            reblogs_count: number;
                            replies_count: number;
                            rss_feed:
                                | {
                                    description: (...)
                                    | (...);
                                    id: string;
                                    image_url: (...) | (...);
                                    title: (...) | (...);
                                    url: string;
                                }
                                | null;
                            scheduled_at: null;
                            sensitive: boolean;
                            spoiler_text: string;
                            spoiler_text_map: { [key: string]: string }
                            | null;
                            tags: {
                                following?: (...) | (...) | (...);
                                history: (...) | (...);
                                name: string;
                                total: (...) | (...);
                                url: string;
                            }[];
                            text: string
                            | null;
                            text_map: { [key: string]: string } | null;
                            thread_muted?: boolean;
                            translation:
                                | false
                                | {
                                    content: string;
                                    detected_source_language: string;
                                    id: (...)
                                    | (...);
                                    language: string;
                                    media_attachments: (...)[];
                                    poll?: (...) | (...);
                                    provider: (...) | (...);
                                    spoiler_text: string;
                                }
                                | null;
                            uri: string;
                            url: string;
                            visibility: string;
                        }[];
                        target_account: {
                            account: Account
                            | null;
                            actor_type: string | null;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: string | null;
                            domain: string | null;
                            email: string | null;
                            id: string;
                            invite_request: string | null;
                            invited_by_account_id?: string;
                            ip: string | null;
                            ips: { ip: string; used_at: string }[];
                            locale: string | null;
                            role:
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                }
                                | null;
                            sensitized: boolean;
                            silenced: boolean;
                            suggested: boolean
                            | null;
                            suspended: boolean;
                            username: string;
                        };
                        updated_at?: string;
                    },
                    true,
                >,
            >;
            reopenReport: (
                reportId: string,
            ) => Promise<
                {
                    account: {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    };
                    action_taken?: boolean;
                    action_taken_at: string
                    | null;
                    action_taken_by_account:
                        | {
                            account: Account
                            | null;
                            actor_type: string | null;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: string | null;
                            domain: string | null;
                            email: string | null;
                            id: string;
                            invite_request: string | null;
                            invited_by_account_id?: string;
                            ip: string | null;
                            ips: { ip: string; used_at: string }[];
                            locale: string | null;
                            role:
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                }
                                | null;
                            sensitized: boolean;
                            silenced: boolean;
                            suggested: boolean
                            | null;
                            suspended: boolean;
                            username: string;
                        }
                        | null;
                    assigned_account: | {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    }
                    | null;
                    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: Account
                        | null;
                        application: { name: string; website: string | null } | null;
                        approval_status: "rejected" | "pending" | "approval" | null;
                        bookmark_folder: string | null;
                        bookmarked: boolean;
                        card:
                            | {
                                author_name: string;
                                author_url: string;
                                authors: { account: ...; name: ...; url: ... }[];
                                blurhash: string | null;
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: string | null;
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: "link" | "video" | "photo" | "rich";
                                url: string;
                                width: number;
                            }
                            | null;
                        content: string;
                        content_map: { [key: string]: string }
                        | null;
                        content_type: string | null;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: string | null;
                        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: string
                            | null;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | {
                            end_time: string
                            | null;
                            join_mode: "free" | "restricted" | "invite" | "external" | null;
                            join_state: "pending" | "reject" | "accept" | null;
                            location:
                                | {
                                    country: ...;
                                    latitude: ...;
                                    locality: ...;
                                    longitude: ...;
                                    name: ...;
                                    postal_code: ...;
                                    region: ...;
                                    street: ...;
                                    url: ...;
                                }
                                | null;
                            name: string;
                            participants_count: number;
                            participation_request_count: number;
                            start_time: string
                            | null;
                        }
                        | null;
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: (...)[];
                                expires_at: (...) | (...);
                                filter_action: (...) | (...) | (...);
                                id: string;
                                title: string;
                            };
                            keyword_matches: string
                            | null;
                            status_matches: string | null;
                        }[];
                        group: | {
                            avatar: string;
                            avatar_default: boolean;
                            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_default: boolean;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: { id: ... }
                            | null;
                            relationship:
                                | { id: ...; member: ...; requested: ...; role?: ... }
                                | null;
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        }
                        | null;
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: string
                        | null;
                        in_reply_to_id: string | null;
                        interaction_policy: {
                            can_favourite: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reblog: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reply: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                        };
                        language: string
                        | null;
                        list_id: number | null;
                        local?: boolean;
                        local_only?: boolean;
                        location:
                            | {
                                country: string;
                                latitude: number
                                | null;
                                locality: string;
                                longitude: number | null;
                                name: string;
                                postal_code: string;
                                region: string;
                                street: string;
                                url: string;
                            }
                            | null;
                        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: string | null;
                        poll:
                            | {
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                expired: boolean;
                                expires_at: string
                                | null;
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: { title: ...; title_map: ...; votes_count: ... }[];
                                own_votes: (...)[] | null;
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            }
                            | null;
                        quote: | {
                            quoted_status_id: string
                            | null;
                            state:
                                | "rejected"
                                | "pending"
                                | "accepted"
                                | "revoked"
                                | "deleted"
                                | "unauthorized"
                                | "blocked_account"
                                | "blocked_domain"
                                | "muted_account";
                        }
                        | {
                            quoted_status: Status
                            | null;
                            state:
                                | "rejected"
                                | "pending"
                                | "accepted"
                                | "revoked"
                                | "deleted"
                                | "unauthorized"
                                | "blocked_account"
                                | "blocked_domain"
                                | "muted_account";
                        }
                        | null;
                        quote_approval: | {
                            automatic: ((...) | (...) | (...) | (...))[];
                            current_user: "unknown" | "automatic" | "manual" | "denied";
                            manual: ((...) | (...) | (...) | (...))[];
                        }
                        | null;
                        quote_id: string
                        | null;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblog: Status | null;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | {
                                description: string
                                | null;
                                id: string;
                                image_url: string | null;
                                title: string | null;
                                url: string;
                            }
                            | null;
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: { [key: string]: string }
                        | null;
                        tags: {
                            following?: boolean;
                            history: (...)[] | null;
                            name: string;
                            total: number | null;
                            url: string;
                        }[];
                        text: string
                        | null;
                        text_map: { [key: string]: string } | null;
                        thread_muted?: boolean;
                        translation:
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: string
                                | null;
                                language: string;
                                media_attachments: { description: ...; id: ... }[];
                                poll?: { id: ...; options: ... };
                                provider: string | null;
                                spoiler_text: string;
                            }
                            | null;
                        uri: string;
                        url: string;
                        visibility: string;
                    }[];
                    target_account: {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    };
                    updated_at?: string;
                },
            >;
            resolveReport: (
                reportId: string,
                action_taken_comment?: string,
            ) => Promise<
                {
                    account: {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    };
                    action_taken?: boolean;
                    action_taken_at: string
                    | null;
                    action_taken_by_account:
                        | {
                            account: Account
                            | null;
                            actor_type: string | null;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: string | null;
                            domain: string | null;
                            email: string | null;
                            id: string;
                            invite_request: string | null;
                            invited_by_account_id?: string;
                            ip: string | null;
                            ips: { ip: string; used_at: string }[];
                            locale: string | null;
                            role:
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                }
                                | null;
                            sensitized: boolean;
                            silenced: boolean;
                            suggested: boolean
                            | null;
                            suspended: boolean;
                            username: string;
                        }
                        | null;
                    assigned_account: | {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    }
                    | null;
                    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: Account
                        | null;
                        application: { name: string; website: string | null } | null;
                        approval_status: "rejected" | "pending" | "approval" | null;
                        bookmark_folder: string | null;
                        bookmarked: boolean;
                        card:
                            | {
                                author_name: string;
                                author_url: string;
                                authors: { account: ...; name: ...; url: ... }[];
                                blurhash: string | null;
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: string | null;
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: "link" | "video" | "photo" | "rich";
                                url: string;
                                width: number;
                            }
                            | null;
                        content: string;
                        content_map: { [key: string]: string }
                        | null;
                        content_type: string | null;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: string | null;
                        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: string
                            | null;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | {
                            end_time: string
                            | null;
                            join_mode: "free" | "restricted" | "invite" | "external" | null;
                            join_state: "pending" | "reject" | "accept" | null;
                            location:
                                | {
                                    country: ...;
                                    latitude: ...;
                                    locality: ...;
                                    longitude: ...;
                                    name: ...;
                                    postal_code: ...;
                                    region: ...;
                                    street: ...;
                                    url: ...;
                                }
                                | null;
                            name: string;
                            participants_count: number;
                            participation_request_count: number;
                            start_time: string
                            | null;
                        }
                        | null;
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: (...)[];
                                expires_at: (...) | (...);
                                filter_action: (...) | (...) | (...);
                                id: string;
                                title: string;
                            };
                            keyword_matches: string
                            | null;
                            status_matches: string | null;
                        }[];
                        group: | {
                            avatar: string;
                            avatar_default: boolean;
                            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_default: boolean;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: { id: ... }
                            | null;
                            relationship:
                                | { id: ...; member: ...; requested: ...; role?: ... }
                                | null;
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        }
                        | null;
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: string
                        | null;
                        in_reply_to_id: string | null;
                        interaction_policy: {
                            can_favourite: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reblog: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reply: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                        };
                        language: string
                        | null;
                        list_id: number | null;
                        local?: boolean;
                        local_only?: boolean;
                        location:
                            | {
                                country: string;
                                latitude: number
                                | null;
                                locality: string;
                                longitude: number | null;
                                name: string;
                                postal_code: string;
                                region: string;
                                street: string;
                                url: string;
                            }
                            | null;
                        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: string | null;
                        poll:
                            | {
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                expired: boolean;
                                expires_at: string
                                | null;
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: { title: ...; title_map: ...; votes_count: ... }[];
                                own_votes: (...)[] | null;
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            }
                            | null;
                        quote: | {
                            quoted_status_id: string
                            | null;
                            state:
                                | "rejected"
                                | "pending"
                                | "accepted"
                                | "revoked"
                                | "deleted"
                                | "unauthorized"
                                | "blocked_account"
                                | "blocked_domain"
                                | "muted_account";
                        }
                        | {
                            quoted_status: Status
                            | null;
                            state:
                                | "rejected"
                                | "pending"
                                | "accepted"
                                | "revoked"
                                | "deleted"
                                | "unauthorized"
                                | "blocked_account"
                                | "blocked_domain"
                                | "muted_account";
                        }
                        | null;
                        quote_approval: | {
                            automatic: ((...) | (...) | (...) | (...))[];
                            current_user: "unknown" | "automatic" | "manual" | "denied";
                            manual: ((...) | (...) | (...) | (...))[];
                        }
                        | null;
                        quote_id: string
                        | null;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblog: Status | null;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | {
                                description: string
                                | null;
                                id: string;
                                image_url: string | null;
                                title: string | null;
                                url: string;
                            }
                            | null;
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: { [key: string]: string }
                        | null;
                        tags: {
                            following?: boolean;
                            history: (...)[] | null;
                            name: string;
                            total: number | null;
                            url: string;
                        }[];
                        text: string
                        | null;
                        text_map: { [key: string]: string } | null;
                        thread_muted?: boolean;
                        translation:
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: string
                                | null;
                                language: string;
                                media_attachments: { description: ...; id: ... }[];
                                poll?: { id: ...; options: ... };
                                provider: string | null;
                                spoiler_text: string;
                            }
                            | null;
                        uri: string;
                        url: string;
                        visibility: string;
                    }[];
                    target_account: {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    };
                    updated_at?: string;
                },
            >;
            unassignReport: (
                reportId: string,
            ) => Promise<
                {
                    account: {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    };
                    action_taken?: boolean;
                    action_taken_at: string
                    | null;
                    action_taken_by_account:
                        | {
                            account: Account
                            | null;
                            actor_type: string | null;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: string | null;
                            domain: string | null;
                            email: string | null;
                            id: string;
                            invite_request: string | null;
                            invited_by_account_id?: string;
                            ip: string | null;
                            ips: { ip: string; used_at: string }[];
                            locale: string | null;
                            role:
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                }
                                | null;
                            sensitized: boolean;
                            silenced: boolean;
                            suggested: boolean
                            | null;
                            suspended: boolean;
                            username: string;
                        }
                        | null;
                    assigned_account: | {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    }
                    | null;
                    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: Account
                        | null;
                        application: { name: string; website: string | null } | null;
                        approval_status: "rejected" | "pending" | "approval" | null;
                        bookmark_folder: string | null;
                        bookmarked: boolean;
                        card:
                            | {
                                author_name: string;
                                author_url: string;
                                authors: { account: ...; name: ...; url: ... }[];
                                blurhash: string | null;
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: string | null;
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: "link" | "video" | "photo" | "rich";
                                url: string;
                                width: number;
                            }
                            | null;
                        content: string;
                        content_map: { [key: string]: string }
                        | null;
                        content_type: string | null;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: string | null;
                        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: string
                            | null;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | {
                            end_time: string
                            | null;
                            join_mode: "free" | "restricted" | "invite" | "external" | null;
                            join_state: "pending" | "reject" | "accept" | null;
                            location:
                                | {
                                    country: ...;
                                    latitude: ...;
                                    locality: ...;
                                    longitude: ...;
                                    name: ...;
                                    postal_code: ...;
                                    region: ...;
                                    street: ...;
                                    url: ...;
                                }
                                | null;
                            name: string;
                            participants_count: number;
                            participation_request_count: number;
                            start_time: string
                            | null;
                        }
                        | null;
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: (...)[];
                                expires_at: (...) | (...);
                                filter_action: (...) | (...) | (...);
                                id: string;
                                title: string;
                            };
                            keyword_matches: string
                            | null;
                            status_matches: string | null;
                        }[];
                        group: | {
                            avatar: string;
                            avatar_default: boolean;
                            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_default: boolean;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: { id: ... }
                            | null;
                            relationship:
                                | { id: ...; member: ...; requested: ...; role?: ... }
                                | null;
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        }
                        | null;
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: string
                        | null;
                        in_reply_to_id: string | null;
                        interaction_policy: {
                            can_favourite: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reblog: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reply: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                        };
                        language: string
                        | null;
                        list_id: number | null;
                        local?: boolean;
                        local_only?: boolean;
                        location:
                            | {
                                country: string;
                                latitude: number
                                | null;
                                locality: string;
                                longitude: number | null;
                                name: string;
                                postal_code: string;
                                region: string;
                                street: string;
                                url: string;
                            }
                            | null;
                        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: string | null;
                        poll:
                            | {
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                expired: boolean;
                                expires_at: string
                                | null;
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: { title: ...; title_map: ...; votes_count: ... }[];
                                own_votes: (...)[] | null;
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            }
                            | null;
                        quote: | {
                            quoted_status_id: string
                            | null;
                            state:
                                | "rejected"
                                | "pending"
                                | "accepted"
                                | "revoked"
                                | "deleted"
                                | "unauthorized"
                                | "blocked_account"
                                | "blocked_domain"
                                | "muted_account";
                        }
                        | {
                            quoted_status: Status
                            | null;
                            state:
                                | "rejected"
                                | "pending"
                                | "accepted"
                                | "revoked"
                                | "deleted"
                                | "unauthorized"
                                | "blocked_account"
                                | "blocked_domain"
                                | "muted_account";
                        }
                        | null;
                        quote_approval: | {
                            automatic: ((...) | (...) | (...) | (...))[];
                            current_user: "unknown" | "automatic" | "manual" | "denied";
                            manual: ((...) | (...) | (...) | (...))[];
                        }
                        | null;
                        quote_id: string
                        | null;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblog: Status | null;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | {
                                description: string
                                | null;
                                id: string;
                                image_url: string | null;
                                title: string | null;
                                url: string;
                            }
                            | null;
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: { [key: string]: string }
                        | null;
                        tags: {
                            following?: boolean;
                            history: (...)[] | null;
                            name: string;
                            total: number | null;
                            url: string;
                        }[];
                        text: string
                        | null;
                        text_map: { [key: string]: string } | null;
                        thread_muted?: boolean;
                        translation:
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: string
                                | null;
                                language: string;
                                media_attachments: { description: ...; id: ... }[];
                                poll?: { id: ...; options: ... };
                                provider: string | null;
                                spoiler_text: string;
                            }
                            | null;
                        uri: string;
                        url: string;
                        visibility: string;
                    }[];
                    target_account: {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    };
                    updated_at?: string;
                },
            >;
            updateReport: (
                reportId: string,
                params: AdminUpdateReportParams,
            ) => Promise<
                {
                    account: {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    };
                    action_taken?: boolean;
                    action_taken_at: string
                    | null;
                    action_taken_by_account:
                        | {
                            account: Account
                            | null;
                            actor_type: string | null;
                            approved: boolean;
                            confirmed: boolean;
                            created_at: string;
                            created_by_application_id?: string;
                            disabled: boolean;
                            display_name: string | null;
                            domain: string | null;
                            email: string | null;
                            id: string;
                            invite_request: string | null;
                            invited_by_account_id?: string;
                            ip: string | null;
                            ips: { ip: string; used_at: string }[];
                            locale: string | null;
                            role:
                                | {
                                    color: string;
                                    highlighted: boolean;
                                    id: string;
                                    name: string;
                                    permissions: string;
                                }
                                | null;
                            sensitized: boolean;
                            silenced: boolean;
                            suggested: boolean
                            | null;
                            suspended: boolean;
                            username: string;
                        }
                        | null;
                    assigned_account: | {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    }
                    | null;
                    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: Account
                        | null;
                        application: { name: string; website: string | null } | null;
                        approval_status: "rejected" | "pending" | "approval" | null;
                        bookmark_folder: string | null;
                        bookmarked: boolean;
                        card:
                            | {
                                author_name: string;
                                author_url: string;
                                authors: { account: ...; name: ...; url: ... }[];
                                blurhash: string | null;
                                description: string;
                                embed_url: string;
                                height: number;
                                html: string;
                                image: string | null;
                                image_description: string;
                                provider_name: string;
                                provider_url: string;
                                title: string;
                                type: "link" | "video" | "photo" | "rich";
                                url: string;
                                width: number;
                            }
                            | null;
                        content: string;
                        content_map: { [key: string]: string }
                        | null;
                        content_type: string | null;
                        conversation_id?: string;
                        created_at: string;
                        direct_conversation_id?: string;
                        disliked: boolean;
                        dislikes_count: number;
                        edited_at: string | null;
                        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: string
                            | null;
                            shortcode: string;
                            static_url: string;
                            url: string;
                            visible_in_picker: boolean;
                        }[];
                        event: | {
                            end_time: string
                            | null;
                            join_mode: "free" | "restricted" | "invite" | "external" | null;
                            join_state: "pending" | "reject" | "accept" | null;
                            location:
                                | {
                                    country: ...;
                                    latitude: ...;
                                    locality: ...;
                                    longitude: ...;
                                    name: ...;
                                    postal_code: ...;
                                    region: ...;
                                    street: ...;
                                    url: ...;
                                }
                                | null;
                            name: string;
                            participants_count: number;
                            participation_request_count: number;
                            start_time: string
                            | null;
                        }
                        | null;
                        expires_at?: string;
                        favourited: boolean;
                        favourites_count: number;
                        filtered: {
                            filter: {
                                context: (...)[];
                                expires_at: (...) | (...);
                                filter_action: (...) | (...) | (...);
                                id: string;
                                title: string;
                            };
                            keyword_matches: string
                            | null;
                            status_matches: string | null;
                        }[];
                        group: | {
                            avatar: string;
                            avatar_default: boolean;
                            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_default: boolean;
                            header_description: string;
                            header_static: string;
                            id: string;
                            locked: boolean;
                            members_count: number;
                            membership_required: boolean;
                            note: string;
                            owner: { id: ... }
                            | null;
                            relationship:
                                | { id: ...; member: ...; requested: ...; role?: ... }
                                | null;
                            statuses_visibility: string;
                            uri: string;
                            url: string;
                        }
                        | null;
                        id: string;
                        in_reply_to_account_acct?: string;
                        in_reply_to_account_id: string
                        | null;
                        in_reply_to_id: string | null;
                        interaction_policy: {
                            can_favourite: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reblog: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                            can_reply: {
                                automatic_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                                manual_approval: (
                                    (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                )[];
                            };
                        };
                        language: string
                        | null;
                        list_id: number | null;
                        local?: boolean;
                        local_only?: boolean;
                        location:
                            | {
                                country: string;
                                latitude: number
                                | null;
                                locality: string;
                                longitude: number | null;
                                name: string;
                                postal_code: string;
                                region: string;
                                street: string;
                                url: string;
                            }
                            | null;
                        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: string | null;
                        poll:
                            | {
                                emojis: {
                                    category: ...;
                                    shortcode: ...;
                                    static_url: ...;
                                    url: ...;
                                    visible_in_picker: ...;
                                }[];
                                expired: boolean;
                                expires_at: string
                                | null;
                                id: string;
                                multiple: boolean;
                                non_anonymous: boolean;
                                options: { title: ...; title_map: ...; votes_count: ... }[];
                                own_votes: (...)[] | null;
                                voted: boolean;
                                voters_count: number;
                                votes_count: number;
                            }
                            | null;
                        quote: | {
                            quoted_status_id: string
                            | null;
                            state:
                                | "rejected"
                                | "pending"
                                | "accepted"
                                | "revoked"
                                | "deleted"
                                | "unauthorized"
                                | "blocked_account"
                                | "blocked_domain"
                                | "muted_account";
                        }
                        | {
                            quoted_status: Status
                            | null;
                            state:
                                | "rejected"
                                | "pending"
                                | "accepted"
                                | "revoked"
                                | "deleted"
                                | "unauthorized"
                                | "blocked_account"
                                | "blocked_domain"
                                | "muted_account";
                        }
                        | null;
                        quote_approval: | {
                            automatic: ((...) | (...) | (...) | (...))[];
                            current_user: "unknown" | "automatic" | "manual" | "denied";
                            manual: ((...) | (...) | (...) | (...))[];
                        }
                        | null;
                        quote_id: string
                        | null;
                        quote_url?: string;
                        quote_visible?: boolean;
                        quotes_count: number;
                        reblog: Status | null;
                        reblogged: boolean;
                        reblogs_count: number;
                        replies_count: number;
                        rss_feed:
                            | {
                                description: string
                                | null;
                                id: string;
                                image_url: string | null;
                                title: string | null;
                                url: string;
                            }
                            | null;
                        scheduled_at: null;
                        sensitive: boolean;
                        spoiler_text: string;
                        spoiler_text_map: { [key: string]: string }
                        | null;
                        tags: {
                            following?: boolean;
                            history: (...)[] | null;
                            name: string;
                            total: number | null;
                            url: string;
                        }[];
                        text: string
                        | null;
                        text_map: { [key: string]: string } | null;
                        thread_muted?: boolean;
                        translation:
                            | false
                            | {
                                content: string;
                                detected_source_language: string;
                                id: string
                                | null;
                                language: string;
                                media_attachments: { description: ...; id: ... }[];
                                poll?: { id: ...; options: ... };
                                provider: string | null;
                                spoiler_text: string;
                            }
                            | null;
                        uri: string;
                        url: string;
                        visibility: string;
                    }[];
                    target_account: {
                        account: Account
                        | null;
                        actor_type: string | null;
                        approved: boolean;
                        confirmed: boolean;
                        created_at: string;
                        created_by_application_id?: string;
                        disabled: boolean;
                        display_name: string | null;
                        domain: string | null;
                        email: string | null;
                        id: string;
                        invite_request: string | null;
                        invited_by_account_id?: string;
                        ip: string | null;
                        ips: { ip: string; used_at: string }[];
                        locale: string | null;
                        role:
                            | {
                                color: string;
                                highlighted: boolean;
                                id: string;
                                name: string;
                                permissions: string;
                            }
                            | null;
                        sensitized: boolean;
                        silenced: boolean;
                        suggested: boolean
                        | null;
                        suspended: boolean;
                        username: string;
                    };
                    updated_at?: string;
                },
            >;
        }

        Perform moderation actions with reports.

        • assignReportToSelf: (
              reportId: string,
          ) => Promise<
              {
                  account: {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  };
                  action_taken?: boolean;
                  action_taken_at: string
                  | null;
                  action_taken_by_account:
                      | {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      }
                      | null;
                  assigned_account: | {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  }
                  | null;
                  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: Account
                      | null;
                      application: { name: string; website: string | null } | null;
                      approval_status: "rejected" | "pending" | "approval" | null;
                      bookmark_folder: string | null;
                      bookmarked: boolean;
                      card:
                          | {
                              author_name: string;
                              author_url: string;
                              authors: { account: ...; name: ...; url: ... }[];
                              blurhash: string | null;
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: string | null;
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: "link" | "video" | "photo" | "rich";
                              url: string;
                              width: number;
                          }
                          | null;
                      content: string;
                      content_map: { [key: string]: string }
                      | null;
                      content_type: string | null;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: string | null;
                      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: string
                          | null;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | {
                          end_time: string
                          | null;
                          join_mode: "free" | "restricted" | "invite" | "external" | null;
                          join_state: "pending" | "reject" | "accept" | null;
                          location:
                              | {
                                  country: ...;
                                  latitude: ...;
                                  locality: ...;
                                  longitude: ...;
                                  name: ...;
                                  postal_code: ...;
                                  region: ...;
                                  street: ...;
                                  url: ...;
                              }
                              | null;
                          name: string;
                          participants_count: number;
                          participation_request_count: number;
                          start_time: string
                          | null;
                      }
                      | null;
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: (...)[];
                              expires_at: (...) | (...);
                              filter_action: (...) | (...) | (...);
                              id: string;
                              title: string;
                          };
                          keyword_matches: string
                          | null;
                          status_matches: string | null;
                      }[];
                      group: | {
                          avatar: string;
                          avatar_default: boolean;
                          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_default: boolean;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: { id: ... }
                          | null;
                          relationship:
                              | { id: ...; member: ...; requested: ...; role?: ... }
                              | null;
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      }
                      | null;
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: string
                      | null;
                      in_reply_to_id: string | null;
                      interaction_policy: {
                          can_favourite: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                          can_reblog: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                          can_reply: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                      };
                      language: string
                      | null;
                      list_id: number | null;
                      local?: boolean;
                      local_only?: boolean;
                      location:
                          | {
                              country: string;
                              latitude: number
                              | null;
                              locality: string;
                              longitude: number | null;
                              name: string;
                              postal_code: string;
                              region: string;
                              street: string;
                              url: string;
                          }
                          | null;
                      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: string | null;
                      poll:
                          | {
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              expired: boolean;
                              expires_at: string
                              | null;
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: { title: ...; title_map: ...; votes_count: ... }[];
                              own_votes: (...)[] | null;
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          }
                          | null;
                      quote: | {
                          quoted_status_id: string
                          | null;
                          state:
                              | "rejected"
                              | "pending"
                              | "accepted"
                              | "revoked"
                              | "deleted"
                              | "unauthorized"
                              | "blocked_account"
                              | "blocked_domain"
                              | "muted_account";
                      }
                      | {
                          quoted_status: Status
                          | null;
                          state:
                              | "rejected"
                              | "pending"
                              | "accepted"
                              | "revoked"
                              | "deleted"
                              | "unauthorized"
                              | "blocked_account"
                              | "blocked_domain"
                              | "muted_account";
                      }
                      | null;
                      quote_approval: | {
                          automatic: ((...) | (...) | (...) | (...))[];
                          current_user: "unknown" | "automatic" | "manual" | "denied";
                          manual: ((...) | (...) | (...) | (...))[];
                      }
                      | null;
                      quote_id: string
                      | null;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblog: Status | null;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | {
                              description: string
                              | null;
                              id: string;
                              image_url: string | null;
                              title: string | null;
                              url: string;
                          }
                          | null;
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: { [key: string]: string }
                      | null;
                      tags: {
                          following?: boolean;
                          history: (...)[] | null;
                          name: string;
                          total: number | null;
                          url: string;
                      }[];
                      text: string
                      | null;
                      text_map: { [key: string]: string } | null;
                      thread_muted?: boolean;
                      translation:
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: string
                              | null;
                              language: string;
                              media_attachments: { description: ...; id: ... }[];
                              poll?: { id: ...; options: ... };
                              provider: string | null;
                              spoiler_text: string;
                          }
                          | null;
                      uri: string;
                      url: string;
                      visibility: string;
                  }[];
                  target_account: {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  };
                  updated_at?: string;
              },
          >

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

        • getReport: (
              reportId: string,
          ) => Promise<
              {
                  account: {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  };
                  action_taken?: boolean;
                  action_taken_at: string
                  | null;
                  action_taken_by_account:
                      | {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      }
                      | null;
                  assigned_account: | {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  }
                  | null;
                  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: Account
                      | null;
                      application: { name: string; website: string | null } | null;
                      approval_status: "rejected" | "pending" | "approval" | null;
                      bookmark_folder: string | null;
                      bookmarked: boolean;
                      card:
                          | {
                              author_name: string;
                              author_url: string;
                              authors: { account: ...; name: ...; url: ... }[];
                              blurhash: string | null;
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: string | null;
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: "link" | "video" | "photo" | "rich";
                              url: string;
                              width: number;
                          }
                          | null;
                      content: string;
                      content_map: { [key: string]: string }
                      | null;
                      content_type: string | null;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: string | null;
                      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: string
                          | null;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | {
                          end_time: string
                          | null;
                          join_mode: "free" | "restricted" | "invite" | "external" | null;
                          join_state: "pending" | "reject" | "accept" | null;
                          location:
                              | {
                                  country: ...;
                                  latitude: ...;
                                  locality: ...;
                                  longitude: ...;
                                  name: ...;
                                  postal_code: ...;
                                  region: ...;
                                  street: ...;
                                  url: ...;
                              }
                              | null;
                          name: string;
                          participants_count: number;
                          participation_request_count: number;
                          start_time: string
                          | null;
                      }
                      | null;
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: (...)[];
                              expires_at: (...) | (...);
                              filter_action: (...) | (...) | (...);
                              id: string;
                              title: string;
                          };
                          keyword_matches: string
                          | null;
                          status_matches: string | null;
                      }[];
                      group: | {
                          avatar: string;
                          avatar_default: boolean;
                          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_default: boolean;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: { id: ... }
                          | null;
                          relationship:
                              | { id: ...; member: ...; requested: ...; role?: ... }
                              | null;
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      }
                      | null;
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: string
                      | null;
                      in_reply_to_id: string | null;
                      interaction_policy: {
                          can_favourite: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                          can_reblog: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                          can_reply: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                      };
                      language: string
                      | null;
                      list_id: number | null;
                      local?: boolean;
                      local_only?: boolean;
                      location:
                          | {
                              country: string;
                              latitude: number
                              | null;
                              locality: string;
                              longitude: number | null;
                              name: string;
                              postal_code: string;
                              region: string;
                              street: string;
                              url: string;
                          }
                          | null;
                      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: string | null;
                      poll:
                          | {
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              expired: boolean;
                              expires_at: string
                              | null;
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: { title: ...; title_map: ...; votes_count: ... }[];
                              own_votes: (...)[] | null;
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          }
                          | null;
                      quote: | {
                          quoted_status_id: string
                          | null;
                          state:
                              | "rejected"
                              | "pending"
                              | "accepted"
                              | "revoked"
                              | "deleted"
                              | "unauthorized"
                              | "blocked_account"
                              | "blocked_domain"
                              | "muted_account";
                      }
                      | {
                          quoted_status: Status
                          | null;
                          state:
                              | "rejected"
                              | "pending"
                              | "accepted"
                              | "revoked"
                              | "deleted"
                              | "unauthorized"
                              | "blocked_account"
                              | "blocked_domain"
                              | "muted_account";
                      }
                      | null;
                      quote_approval: | {
                          automatic: ((...) | (...) | (...) | (...))[];
                          current_user: "unknown" | "automatic" | "manual" | "denied";
                          manual: ((...) | (...) | (...) | (...))[];
                      }
                      | null;
                      quote_id: string
                      | null;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblog: Status | null;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | {
                              description: string
                              | null;
                              id: string;
                              image_url: string | null;
                              title: string | null;
                              url: string;
                          }
                          | null;
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: { [key: string]: string }
                      | null;
                      tags: {
                          following?: boolean;
                          history: (...)[] | null;
                          name: string;
                          total: number | null;
                          url: string;
                      }[];
                      text: string
                      | null;
                      text_map: { [key: string]: string } | null;
                      thread_muted?: boolean;
                      translation:
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: string
                              | null;
                              language: string;
                              media_attachments: { description: ...; id: ... }[];
                              poll?: { id: ...; options: ... };
                              provider: string | null;
                              spoiler_text: string;
                          }
                          | null;
                      uri: string;
                      url: string;
                      visibility: string;
                  }[];
                  target_account: {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  };
                  updated_at?: string;
              },
          >

          View a single report

        • getReports: (
              params?: AdminGetReportsParams,
          ) => Promise<
              PaginatedResponse<
                  {
                      account: {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      };
                      action_taken?: boolean;
                      action_taken_at: string
                      | null;
                      action_taken_by_account:
                          | {
                              account: Account
                              | null;
                              actor_type: string | null;
                              approved: boolean;
                              confirmed: boolean;
                              created_at: string;
                              created_by_application_id?: string;
                              disabled: boolean;
                              display_name: string | null;
                              domain: string | null;
                              email: string | null;
                              id: string;
                              invite_request: string | null;
                              invited_by_account_id?: string;
                              ip: string | null;
                              ips: { ip: string; used_at: string }[];
                              locale: string | null;
                              role:
                                  | {
                                      color: string;
                                      highlighted: boolean;
                                      id: string;
                                      name: string;
                                      permissions: string;
                                  }
                                  | null;
                              sensitized: boolean;
                              silenced: boolean;
                              suggested: boolean
                              | null;
                              suspended: boolean;
                              username: string;
                          }
                          | null;
                      assigned_account: | {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      }
                      | null;
                      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: Account
                          | null;
                          application: { name: string; website: (...) | (...) } | null;
                          approval_status: "rejected" | "pending" | "approval" | null;
                          bookmark_folder: string | null;
                          bookmarked: boolean;
                          card:
                              | {
                                  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;
                              }
                              | null;
                          content: string;
                          content_map: { [key: string]: string }
                          | null;
                          content_type: string | null;
                          conversation_id?: string;
                          created_at: string;
                          direct_conversation_id?: string;
                          disliked: boolean;
                          dislikes_count: number;
                          edited_at: string | null;
                          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: | {
                              end_time: (...)
                              | (...);
                              join_mode: (...) | (...) | (...) | (...) | (...);
                              join_state: (...) | (...) | (...) | (...);
                              location: (...) | (...);
                              name: string;
                              participants_count: number;
                              participation_request_count: number;
                              start_time: (...) | (...);
                          }
                          | null;
                          expires_at?: string;
                          favourited: boolean;
                          favourites_count: number;
                          filtered: {
                              filter: {
                                  context: ...;
                                  expires_at: ...;
                                  filter_action: ...;
                                  id: ...;
                                  title: ...;
                              };
                              keyword_matches: (...)
                              | (...);
                              status_matches: (...) | (...);
                          }[];
                          group: | {
                              avatar: string;
                              avatar_default: boolean;
                              avatar_description: string;
                              avatar_static: string;
                              created_at: string;
                              display_name: string;
                              domain: string;
                              emojis: (...)[];
                              header: string;
                              header_default: boolean;
                              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;
                          }
                          | null;
                          id: string;
                          in_reply_to_account_acct?: string;
                          in_reply_to_account_id: string
                          | null;
                          in_reply_to_id: string | null;
                          interaction_policy: {
                              can_favourite: {
                                  automatic_approval: (...)[];
                                  manual_approval: (...)[];
                              };
                              can_reblog: { automatic_approval: (...)[]; manual_approval: (...)[] };
                              can_reply: { automatic_approval: (...)[]; manual_approval: (...)[] };
                          };
                          language: string
                          | null;
                          list_id: number | null;
                          local?: boolean;
                          local_only?: boolean;
                          location:
                              | {
                                  country: string;
                                  latitude: (...)
                                  | (...);
                                  locality: string;
                                  longitude: (...) | (...);
                                  name: string;
                                  postal_code: string;
                                  region: string;
                                  street: string;
                                  url: string;
                              }
                              | null;
                          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: string | null;
                          poll:
                              | {
                                  emojis: (...)[];
                                  expired: boolean;
                                  expires_at: (...) | (...);
                                  id: string;
                                  multiple: boolean;
                                  non_anonymous: boolean;
                                  options: (...)[];
                                  own_votes: (...) | (...);
                                  voted: boolean;
                                  voters_count: number;
                                  votes_count: number;
                              }
                              | null;
                          quote: | {
                              quoted_status_id: (...)
                              | (...);
                              state:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                          }
                          | {
                              quoted_status: (...)
                              | (...);
                              state:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                          }
                          | null;
                          quote_approval: | {
                              automatic: (...)[];
                              current_user: (...) | (...) | (...) | (...);
                              manual: (...)[];
                          }
                          | null;
                          quote_id: string
                          | null;
                          quote_url?: string;
                          quote_visible?: boolean;
                          quotes_count: number;
                          reblog: Status | null;
                          reblogged: boolean;
                          reblogs_count: number;
                          replies_count: number;
                          rss_feed:
                              | {
                                  description: (...)
                                  | (...);
                                  id: string;
                                  image_url: (...) | (...);
                                  title: (...) | (...);
                                  url: string;
                              }
                              | null;
                          scheduled_at: null;
                          sensitive: boolean;
                          spoiler_text: string;
                          spoiler_text_map: { [key: string]: string }
                          | null;
                          tags: {
                              following?: (...) | (...) | (...);
                              history: (...) | (...);
                              name: string;
                              total: (...) | (...);
                              url: string;
                          }[];
                          text: string
                          | null;
                          text_map: { [key: string]: string } | null;
                          thread_muted?: boolean;
                          translation:
                              | false
                              | {
                                  content: string;
                                  detected_source_language: string;
                                  id: (...)
                                  | (...);
                                  language: string;
                                  media_attachments: (...)[];
                                  poll?: (...) | (...);
                                  provider: (...) | (...);
                                  spoiler_text: string;
                              }
                              | null;
                          uri: string;
                          url: string;
                          visibility: string;
                      }[];
                      target_account: {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      };
                      updated_at?: string;
                  },
                  true,
              >,
          >

          View all reports View information about all reports.

        • reopenReport: (
              reportId: string,
          ) => Promise<
              {
                  account: {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  };
                  action_taken?: boolean;
                  action_taken_at: string
                  | null;
                  action_taken_by_account:
                      | {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      }
                      | null;
                  assigned_account: | {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  }
                  | null;
                  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: Account
                      | null;
                      application: { name: string; website: string | null } | null;
                      approval_status: "rejected" | "pending" | "approval" | null;
                      bookmark_folder: string | null;
                      bookmarked: boolean;
                      card:
                          | {
                              author_name: string;
                              author_url: string;
                              authors: { account: ...; name: ...; url: ... }[];
                              blurhash: string | null;
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: string | null;
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: "link" | "video" | "photo" | "rich";
                              url: string;
                              width: number;
                          }
                          | null;
                      content: string;
                      content_map: { [key: string]: string }
                      | null;
                      content_type: string | null;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: string | null;
                      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: string
                          | null;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | {
                          end_time: string
                          | null;
                          join_mode: "free" | "restricted" | "invite" | "external" | null;
                          join_state: "pending" | "reject" | "accept" | null;
                          location:
                              | {
                                  country: ...;
                                  latitude: ...;
                                  locality: ...;
                                  longitude: ...;
                                  name: ...;
                                  postal_code: ...;
                                  region: ...;
                                  street: ...;
                                  url: ...;
                              }
                              | null;
                          name: string;
                          participants_count: number;
                          participation_request_count: number;
                          start_time: string
                          | null;
                      }
                      | null;
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: (...)[];
                              expires_at: (...) | (...);
                              filter_action: (...) | (...) | (...);
                              id: string;
                              title: string;
                          };
                          keyword_matches: string
                          | null;
                          status_matches: string | null;
                      }[];
                      group: | {
                          avatar: string;
                          avatar_default: boolean;
                          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_default: boolean;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: { id: ... }
                          | null;
                          relationship:
                              | { id: ...; member: ...; requested: ...; role?: ... }
                              | null;
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      }
                      | null;
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: string
                      | null;
                      in_reply_to_id: string | null;
                      interaction_policy: {
                          can_favourite: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                          can_reblog: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                          can_reply: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                      };
                      language: string
                      | null;
                      list_id: number | null;
                      local?: boolean;
                      local_only?: boolean;
                      location:
                          | {
                              country: string;
                              latitude: number
                              | null;
                              locality: string;
                              longitude: number | null;
                              name: string;
                              postal_code: string;
                              region: string;
                              street: string;
                              url: string;
                          }
                          | null;
                      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: string | null;
                      poll:
                          | {
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              expired: boolean;
                              expires_at: string
                              | null;
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: { title: ...; title_map: ...; votes_count: ... }[];
                              own_votes: (...)[] | null;
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          }
                          | null;
                      quote: | {
                          quoted_status_id: string
                          | null;
                          state:
                              | "rejected"
                              | "pending"
                              | "accepted"
                              | "revoked"
                              | "deleted"
                              | "unauthorized"
                              | "blocked_account"
                              | "blocked_domain"
                              | "muted_account";
                      }
                      | {
                          quoted_status: Status
                          | null;
                          state:
                              | "rejected"
                              | "pending"
                              | "accepted"
                              | "revoked"
                              | "deleted"
                              | "unauthorized"
                              | "blocked_account"
                              | "blocked_domain"
                              | "muted_account";
                      }
                      | null;
                      quote_approval: | {
                          automatic: ((...) | (...) | (...) | (...))[];
                          current_user: "unknown" | "automatic" | "manual" | "denied";
                          manual: ((...) | (...) | (...) | (...))[];
                      }
                      | null;
                      quote_id: string
                      | null;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblog: Status | null;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | {
                              description: string
                              | null;
                              id: string;
                              image_url: string | null;
                              title: string | null;
                              url: string;
                          }
                          | null;
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: { [key: string]: string }
                      | null;
                      tags: {
                          following?: boolean;
                          history: (...)[] | null;
                          name: string;
                          total: number | null;
                          url: string;
                      }[];
                      text: string
                      | null;
                      text_map: { [key: string]: string } | null;
                      thread_muted?: boolean;
                      translation:
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: string
                              | null;
                              language: string;
                              media_attachments: { description: ...; id: ... }[];
                              poll?: { id: ...; options: ... };
                              provider: string | null;
                              spoiler_text: string;
                          }
                          | null;
                      uri: string;
                      url: string;
                      visibility: string;
                  }[];
                  target_account: {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      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: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  };
                  action_taken?: boolean;
                  action_taken_at: string
                  | null;
                  action_taken_by_account:
                      | {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      }
                      | null;
                  assigned_account: | {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  }
                  | null;
                  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: Account
                      | null;
                      application: { name: string; website: string | null } | null;
                      approval_status: "rejected" | "pending" | "approval" | null;
                      bookmark_folder: string | null;
                      bookmarked: boolean;
                      card:
                          | {
                              author_name: string;
                              author_url: string;
                              authors: { account: ...; name: ...; url: ... }[];
                              blurhash: string | null;
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: string | null;
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: "link" | "video" | "photo" | "rich";
                              url: string;
                              width: number;
                          }
                          | null;
                      content: string;
                      content_map: { [key: string]: string }
                      | null;
                      content_type: string | null;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: string | null;
                      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: string
                          | null;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | {
                          end_time: string
                          | null;
                          join_mode: "free" | "restricted" | "invite" | "external" | null;
                          join_state: "pending" | "reject" | "accept" | null;
                          location:
                              | {
                                  country: ...;
                                  latitude: ...;
                                  locality: ...;
                                  longitude: ...;
                                  name: ...;
                                  postal_code: ...;
                                  region: ...;
                                  street: ...;
                                  url: ...;
                              }
                              | null;
                          name: string;
                          participants_count: number;
                          participation_request_count: number;
                          start_time: string
                          | null;
                      }
                      | null;
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: (...)[];
                              expires_at: (...) | (...);
                              filter_action: (...) | (...) | (...);
                              id: string;
                              title: string;
                          };
                          keyword_matches: string
                          | null;
                          status_matches: string | null;
                      }[];
                      group: | {
                          avatar: string;
                          avatar_default: boolean;
                          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_default: boolean;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: { id: ... }
                          | null;
                          relationship:
                              | { id: ...; member: ...; requested: ...; role?: ... }
                              | null;
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      }
                      | null;
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: string
                      | null;
                      in_reply_to_id: string | null;
                      interaction_policy: {
                          can_favourite: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                          can_reblog: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                          can_reply: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                      };
                      language: string
                      | null;
                      list_id: number | null;
                      local?: boolean;
                      local_only?: boolean;
                      location:
                          | {
                              country: string;
                              latitude: number
                              | null;
                              locality: string;
                              longitude: number | null;
                              name: string;
                              postal_code: string;
                              region: string;
                              street: string;
                              url: string;
                          }
                          | null;
                      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: string | null;
                      poll:
                          | {
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              expired: boolean;
                              expires_at: string
                              | null;
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: { title: ...; title_map: ...; votes_count: ... }[];
                              own_votes: (...)[] | null;
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          }
                          | null;
                      quote: | {
                          quoted_status_id: string
                          | null;
                          state:
                              | "rejected"
                              | "pending"
                              | "accepted"
                              | "revoked"
                              | "deleted"
                              | "unauthorized"
                              | "blocked_account"
                              | "blocked_domain"
                              | "muted_account";
                      }
                      | {
                          quoted_status: Status
                          | null;
                          state:
                              | "rejected"
                              | "pending"
                              | "accepted"
                              | "revoked"
                              | "deleted"
                              | "unauthorized"
                              | "blocked_account"
                              | "blocked_domain"
                              | "muted_account";
                      }
                      | null;
                      quote_approval: | {
                          automatic: ((...) | (...) | (...) | (...))[];
                          current_user: "unknown" | "automatic" | "manual" | "denied";
                          manual: ((...) | (...) | (...) | (...))[];
                      }
                      | null;
                      quote_id: string
                      | null;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblog: Status | null;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | {
                              description: string
                              | null;
                              id: string;
                              image_url: string | null;
                              title: string | null;
                              url: string;
                          }
                          | null;
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: { [key: string]: string }
                      | null;
                      tags: {
                          following?: boolean;
                          history: (...)[] | null;
                          name: string;
                          total: number | null;
                          url: string;
                      }[];
                      text: string
                      | null;
                      text_map: { [key: string]: string } | null;
                      thread_muted?: boolean;
                      translation:
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: string
                              | null;
                              language: string;
                              media_attachments: { description: ...; id: ... }[];
                              poll?: { id: ...; options: ... };
                              provider: string | null;
                              spoiler_text: string;
                          }
                          | null;
                      uri: string;
                      url: string;
                      visibility: string;
                  }[];
                  target_account: {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  };
                  updated_at?: string;
              },
          >

          Mark report as resolved

          Mark a report as resolved with no further action taken.

          action_taken_comment param requires featuresFeatures.mastodonAdminResolveReportWithComment.

        • unassignReport: (
              reportId: string,
          ) => Promise<
              {
                  account: {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  };
                  action_taken?: boolean;
                  action_taken_at: string
                  | null;
                  action_taken_by_account:
                      | {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      }
                      | null;
                  assigned_account: | {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  }
                  | null;
                  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: Account
                      | null;
                      application: { name: string; website: string | null } | null;
                      approval_status: "rejected" | "pending" | "approval" | null;
                      bookmark_folder: string | null;
                      bookmarked: boolean;
                      card:
                          | {
                              author_name: string;
                              author_url: string;
                              authors: { account: ...; name: ...; url: ... }[];
                              blurhash: string | null;
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: string | null;
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: "link" | "video" | "photo" | "rich";
                              url: string;
                              width: number;
                          }
                          | null;
                      content: string;
                      content_map: { [key: string]: string }
                      | null;
                      content_type: string | null;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: string | null;
                      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: string
                          | null;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | {
                          end_time: string
                          | null;
                          join_mode: "free" | "restricted" | "invite" | "external" | null;
                          join_state: "pending" | "reject" | "accept" | null;
                          location:
                              | {
                                  country: ...;
                                  latitude: ...;
                                  locality: ...;
                                  longitude: ...;
                                  name: ...;
                                  postal_code: ...;
                                  region: ...;
                                  street: ...;
                                  url: ...;
                              }
                              | null;
                          name: string;
                          participants_count: number;
                          participation_request_count: number;
                          start_time: string
                          | null;
                      }
                      | null;
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: (...)[];
                              expires_at: (...) | (...);
                              filter_action: (...) | (...) | (...);
                              id: string;
                              title: string;
                          };
                          keyword_matches: string
                          | null;
                          status_matches: string | null;
                      }[];
                      group: | {
                          avatar: string;
                          avatar_default: boolean;
                          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_default: boolean;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: { id: ... }
                          | null;
                          relationship:
                              | { id: ...; member: ...; requested: ...; role?: ... }
                              | null;
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      }
                      | null;
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: string
                      | null;
                      in_reply_to_id: string | null;
                      interaction_policy: {
                          can_favourite: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                          can_reblog: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                          can_reply: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                      };
                      language: string
                      | null;
                      list_id: number | null;
                      local?: boolean;
                      local_only?: boolean;
                      location:
                          | {
                              country: string;
                              latitude: number
                              | null;
                              locality: string;
                              longitude: number | null;
                              name: string;
                              postal_code: string;
                              region: string;
                              street: string;
                              url: string;
                          }
                          | null;
                      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: string | null;
                      poll:
                          | {
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              expired: boolean;
                              expires_at: string
                              | null;
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: { title: ...; title_map: ...; votes_count: ... }[];
                              own_votes: (...)[] | null;
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          }
                          | null;
                      quote: | {
                          quoted_status_id: string
                          | null;
                          state:
                              | "rejected"
                              | "pending"
                              | "accepted"
                              | "revoked"
                              | "deleted"
                              | "unauthorized"
                              | "blocked_account"
                              | "blocked_domain"
                              | "muted_account";
                      }
                      | {
                          quoted_status: Status
                          | null;
                          state:
                              | "rejected"
                              | "pending"
                              | "accepted"
                              | "revoked"
                              | "deleted"
                              | "unauthorized"
                              | "blocked_account"
                              | "blocked_domain"
                              | "muted_account";
                      }
                      | null;
                      quote_approval: | {
                          automatic: ((...) | (...) | (...) | (...))[];
                          current_user: "unknown" | "automatic" | "manual" | "denied";
                          manual: ((...) | (...) | (...) | (...))[];
                      }
                      | null;
                      quote_id: string
                      | null;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblog: Status | null;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | {
                              description: string
                              | null;
                              id: string;
                              image_url: string | null;
                              title: string | null;
                              url: string;
                          }
                          | null;
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: { [key: string]: string }
                      | null;
                      tags: {
                          following?: boolean;
                          history: (...)[] | null;
                          name: string;
                          total: number | null;
                          url: string;
                      }[];
                      text: string
                      | null;
                      text_map: { [key: string]: string } | null;
                      thread_muted?: boolean;
                      translation:
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: string
                              | null;
                              language: string;
                              media_attachments: { description: ...; id: ... }[];
                              poll?: { id: ...; options: ... };
                              provider: string | null;
                              spoiler_text: string;
                          }
                          | null;
                      uri: string;
                      url: string;
                      visibility: string;
                  }[];
                  target_account: {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      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: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  };
                  action_taken?: boolean;
                  action_taken_at: string
                  | null;
                  action_taken_by_account:
                      | {
                          account: Account
                          | null;
                          actor_type: string | null;
                          approved: boolean;
                          confirmed: boolean;
                          created_at: string;
                          created_by_application_id?: string;
                          disabled: boolean;
                          display_name: string | null;
                          domain: string | null;
                          email: string | null;
                          id: string;
                          invite_request: string | null;
                          invited_by_account_id?: string;
                          ip: string | null;
                          ips: { ip: string; used_at: string }[];
                          locale: string | null;
                          role:
                              | {
                                  color: string;
                                  highlighted: boolean;
                                  id: string;
                                  name: string;
                                  permissions: string;
                              }
                              | null;
                          sensitized: boolean;
                          silenced: boolean;
                          suggested: boolean
                          | null;
                          suspended: boolean;
                          username: string;
                      }
                      | null;
                  assigned_account: | {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      suspended: boolean;
                      username: string;
                  }
                  | null;
                  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: Account
                      | null;
                      application: { name: string; website: string | null } | null;
                      approval_status: "rejected" | "pending" | "approval" | null;
                      bookmark_folder: string | null;
                      bookmarked: boolean;
                      card:
                          | {
                              author_name: string;
                              author_url: string;
                              authors: { account: ...; name: ...; url: ... }[];
                              blurhash: string | null;
                              description: string;
                              embed_url: string;
                              height: number;
                              html: string;
                              image: string | null;
                              image_description: string;
                              provider_name: string;
                              provider_url: string;
                              title: string;
                              type: "link" | "video" | "photo" | "rich";
                              url: string;
                              width: number;
                          }
                          | null;
                      content: string;
                      content_map: { [key: string]: string }
                      | null;
                      content_type: string | null;
                      conversation_id?: string;
                      created_at: string;
                      direct_conversation_id?: string;
                      disliked: boolean;
                      dislikes_count: number;
                      edited_at: string | null;
                      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: string
                          | null;
                          shortcode: string;
                          static_url: string;
                          url: string;
                          visible_in_picker: boolean;
                      }[];
                      event: | {
                          end_time: string
                          | null;
                          join_mode: "free" | "restricted" | "invite" | "external" | null;
                          join_state: "pending" | "reject" | "accept" | null;
                          location:
                              | {
                                  country: ...;
                                  latitude: ...;
                                  locality: ...;
                                  longitude: ...;
                                  name: ...;
                                  postal_code: ...;
                                  region: ...;
                                  street: ...;
                                  url: ...;
                              }
                              | null;
                          name: string;
                          participants_count: number;
                          participation_request_count: number;
                          start_time: string
                          | null;
                      }
                      | null;
                      expires_at?: string;
                      favourited: boolean;
                      favourites_count: number;
                      filtered: {
                          filter: {
                              context: (...)[];
                              expires_at: (...) | (...);
                              filter_action: (...) | (...) | (...);
                              id: string;
                              title: string;
                          };
                          keyword_matches: string
                          | null;
                          status_matches: string | null;
                      }[];
                      group: | {
                          avatar: string;
                          avatar_default: boolean;
                          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_default: boolean;
                          header_description: string;
                          header_static: string;
                          id: string;
                          locked: boolean;
                          members_count: number;
                          membership_required: boolean;
                          note: string;
                          owner: { id: ... }
                          | null;
                          relationship:
                              | { id: ...; member: ...; requested: ...; role?: ... }
                              | null;
                          statuses_visibility: string;
                          uri: string;
                          url: string;
                      }
                      | null;
                      id: string;
                      in_reply_to_account_acct?: string;
                      in_reply_to_account_id: string
                      | null;
                      in_reply_to_id: string | null;
                      interaction_policy: {
                          can_favourite: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                          can_reblog: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                          can_reply: {
                              automatic_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                              manual_approval: (
                                  (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                              )[];
                          };
                      };
                      language: string
                      | null;
                      list_id: number | null;
                      local?: boolean;
                      local_only?: boolean;
                      location:
                          | {
                              country: string;
                              latitude: number
                              | null;
                              locality: string;
                              longitude: number | null;
                              name: string;
                              postal_code: string;
                              region: string;
                              street: string;
                              url: string;
                          }
                          | null;
                      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: string | null;
                      poll:
                          | {
                              emojis: {
                                  category: ...;
                                  shortcode: ...;
                                  static_url: ...;
                                  url: ...;
                                  visible_in_picker: ...;
                              }[];
                              expired: boolean;
                              expires_at: string
                              | null;
                              id: string;
                              multiple: boolean;
                              non_anonymous: boolean;
                              options: { title: ...; title_map: ...; votes_count: ... }[];
                              own_votes: (...)[] | null;
                              voted: boolean;
                              voters_count: number;
                              votes_count: number;
                          }
                          | null;
                      quote: | {
                          quoted_status_id: string
                          | null;
                          state:
                              | "rejected"
                              | "pending"
                              | "accepted"
                              | "revoked"
                              | "deleted"
                              | "unauthorized"
                              | "blocked_account"
                              | "blocked_domain"
                              | "muted_account";
                      }
                      | {
                          quoted_status: Status
                          | null;
                          state:
                              | "rejected"
                              | "pending"
                              | "accepted"
                              | "revoked"
                              | "deleted"
                              | "unauthorized"
                              | "blocked_account"
                              | "blocked_domain"
                              | "muted_account";
                      }
                      | null;
                      quote_approval: | {
                          automatic: ((...) | (...) | (...) | (...))[];
                          current_user: "unknown" | "automatic" | "manual" | "denied";
                          manual: ((...) | (...) | (...) | (...))[];
                      }
                      | null;
                      quote_id: string
                      | null;
                      quote_url?: string;
                      quote_visible?: boolean;
                      quotes_count: number;
                      reblog: Status | null;
                      reblogged: boolean;
                      reblogs_count: number;
                      replies_count: number;
                      rss_feed:
                          | {
                              description: string
                              | null;
                              id: string;
                              image_url: string | null;
                              title: string | null;
                              url: string;
                          }
                          | null;
                      scheduled_at: null;
                      sensitive: boolean;
                      spoiler_text: string;
                      spoiler_text_map: { [key: string]: string }
                      | null;
                      tags: {
                          following?: boolean;
                          history: (...)[] | null;
                          name: string;
                          total: number | null;
                          url: string;
                      }[];
                      text: string
                      | null;
                      text_map: { [key: string]: string } | null;
                      thread_muted?: boolean;
                      translation:
                          | false
                          | {
                              content: string;
                              detected_source_language: string;
                              id: string
                              | null;
                              language: string;
                              media_attachments: { description: ...; id: ... }[];
                              poll?: { id: ...; options: ... };
                              provider: string | null;
                              spoiler_text: string;
                          }
                          | null;
                      uri: string;
                      url: string;
                      visibility: string;
                  }[];
                  target_account: {
                      account: Account
                      | null;
                      actor_type: string | null;
                      approved: boolean;
                      confirmed: boolean;
                      created_at: string;
                      created_by_application_id?: string;
                      disabled: boolean;
                      display_name: string | null;
                      domain: string | null;
                      email: string | null;
                      id: string;
                      invite_request: string | null;
                      invited_by_account_id?: string;
                      ip: string | null;
                      ips: { ip: string; used_at: string }[];
                      locale: string | null;
                      role:
                          | {
                              color: string;
                              highlighted: boolean;
                              id: string;
                              name: string;
                              permissions: string;
                          }
                          | null;
                      sensitized: boolean;
                      silenced: boolean;
                      suggested: boolean
                      | null;
                      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: number
                    | null;
                    text: string;
                    updated_at?: string;
                },
            >;
            deleteRule: (ruleId: string) => Promise<EmptyObject>;
            getRules: () => Promise<
                {
                    created_at?: string;
                    hint: string;
                    id: string;
                    priority: number
                    | null;
                    text: string;
                    updated_at?: string;
                }[],
            >;
            updateRule: (
                ruleId: string,
                params: AdminUpdateRuleParams,
            ) => Promise<
                {
                    created_at?: string;
                    hint: string;
                    id: string;
                    priority: number
                    | null;
                    text: string;
                    updated_at?: string;
                },
            >;
        }
      • statuses: {
            deleteStatus: (statusId: string) => Promise<EmptyObject>;
            getStatus: (statusId: string) => Promise<Status>;
            getStatuses: (
                params?: AdminGetStatusesParams,
            ) => Promise<PaginatedResponse<Status, true>>;
            getStatusSource: (
                statusId: string,
            ) => Promise<
                {
                    content_type: string;
                    id: string;
                    location: | {
                        country: string;
                        description: string;
                        geom: { coordinates: [(...), (...)] | null; srid: string }
                        | null;
                        locality: string;
                        origin_id: string;
                        origin_provider: string;
                        postal_code: string;
                        region: string;
                        street: string;
                        timezone: string;
                        type: string;
                        url: string;
                    }
                    | null;
                    spoiler_text: string;
                    spoiler_text_map: { [key: string]: string }
                    | null;
                    text: string;
                    text_map: { [key: string]: string } | null;
                },
            >;
            redactStatus: (
                statusId: string,
                params: EditStatusParams & { overwrite?: boolean },
            ) => Promise<Status>;
            updateStatus: (
                statusId: string,
                params: AdminUpdateStatusParams,
            ) => Promise<Status>;
        }
      • trends: {
            getTrendingLinks: () => Promise<
                {
                    author_name: string;
                    author_url: string;
                    blurhash: string
                    | null;
                    description: string;
                    embed_url: string;
                    height: number | null;
                    history: { accounts: number; day: number; uses: number }[] | null;
                    html: string;
                    id: string;
                    image: string | null;
                    image_description: string | null;
                    provider_name: string;
                    provider_url: string;
                    title: string;
                    type: "link" | "video" | "photo" | "rich";
                    url: string;
                    width: number | null;
                }[],
            >;
            getTrendingStatuses: () => Promise<Status[]>;
            getTrendingTags: () => Promise<
                {
                    following?: boolean;
                    history: { accounts: number; day: number; uses: number }[]
                    | null;
                    id: string;
                    name: string;
                    requires_review: boolean;
                    total: number | null;
                    trendable: boolean;
                    url: string;
                    usable: boolean;
                }[],
            >;
        }
        • getTrendingLinks: () => Promise<
              {
                  author_name: string;
                  author_url: string;
                  blurhash: string
                  | null;
                  description: string;
                  embed_url: string;
                  height: number | null;
                  history: { accounts: number; day: number; uses: number }[] | null;
                  html: string;
                  id: string;
                  image: string | null;
                  image_description: string | null;
                  provider_name: string;
                  provider_url: string;
                  title: string;
                  type: "link" | "video" | "photo" | "rich";
                  url: string;
                  width: number | null;
              }[],
          >

          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: { accounts: number; day: number; uses: number }[]
                  | null;
                  id: string;
                  name: string;
                  requires_review: boolean;
                  total: number | null;
                  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.