RestTransport: {
    advertisedAuthModes?: GraviolaAuthMode[];
    auth: RestAuthConfig;
    baseUrl: string;
    delete(path: string, init?: RequestInit): Promise<Response>;
    get(path: string, init?: RequestInit): Promise<Response>;
    getUnchecked(path: string, init?: RequestInit): Promise<Response>;
    head(path: string, init?: RequestInit): Promise<Response>;
    headUnchecked(path: string, init?: RequestInit): Promise<Response>;
    mutatingJson(
        method: "POST" | "PUT" | "DELETE",
        path: string,
        body?: unknown,
        init?: RequestInit,
    ): Promise<Response>;
    postJson(
        path: string,
        body: unknown,
        init?: RequestInit,
    ): Promise<Response>;
    putJson(path: string, body: unknown, init?: RequestInit): Promise<Response>;
    request(
        method: string,
        path: string,
        init?: RequestInit,
    ): Promise<Response>;
}

Type declaration