Why does the body type of `invokeRemote` accept URLSearchParams?

I am working with invokeRemote of the @forge/api package. The exported RequestInit type looks as follows:

export interface RequestInit {
    body?: ArrayBuffer | string | URLSearchParams;
    headers?: Record<string, string>;
    method?: string;
    redirect?: RequestRedirect;
    signal?: AbortSignal;
}

Can someone explain what the idea is behind the body parameter accepting URLSearchParams?

I just found out that this is a valid body parameter of the XMLHttpRequest API : XMLHttpRequest - Web APIs | MDN