Deleted Prismic TypeSafety

Hi TypeScript,

My team and I are currently looking to migrate from Prismic v5 to Prismic v6. Due to some constraints regarding multi repo on Prismic's end, we've had to create a system that pulls in which repo the user is requesting.
We have been able to make this typesafe as well using prismic types in v5. Unfortunately, it seems that some of these types/interfaces have been completely removed and no replacements seem to have been put into place.

I'll list some examples below but if there is any clear documentation on tyepscript types, best practices, etc. that would be immensely helpful.

Types that are now missing:

import { DefaultClient } from '@prismicio/client/types/client';
import { QueryOptions } from '@prismicio/client/types/ResolvedApi';

// types/ResolvedApi code 
export interface QueryOptions {
    [key: string]: string | number | string[];
}

// types/client code 
import { Document } from "./documents";
import ResolvedApi, { QueryOptions } from './ResolvedApi';
import ApiSearchResponse from './ApiSearchResponse';
import LazySearchForm from './LazySearchForm';
import { RequestCallback } from './request';
import Api, { ApiOptions } from './Api';
import { PreviewResolver } from './PreviewResolver';
export interface Client {
    query<T>(q: string | string[], optionsOrCallback?: QueryOptions | RequestCallback<ApiSearchResponse<T>>, cb?: RequestCallback<ApiSearchResponse<T>>): Promise<ApiSearchResponse<T>>;
    queryFirst<T>(q: string | string[], optionsOrCallback?: QueryOptions | RequestCallback<Document<T>>, cb?: RequestCallback<Document<T>>): Promise<Document<T>>;
    getByID<T>(id: string, options: QueryOptions, cb: RequestCallback<Document<T>>): Promise<Document<T>>;
    getByIDs<T>(ids: string[], options: QueryOptions, cb: RequestCallback<ApiSearchResponse<T>>): Promise<ApiSearchResponse<T>>;
    getByUID<T>(type: string, uid: string, options: QueryOptions, cb: RequestCallback<Document<T>>): Promise<Document<T>>;
    getSingle<T>(type: string, options: QueryOptions, cb: RequestCallback<Document<T>>): Promise<Document<T>>;
    getBookmark<T>(bookmark: string, options: QueryOptions, cb: RequestCallback<Document<T>>): Promise<Document<T>>;
    getPreviewResolver(token: string, documentId?: string): PreviewResolver;
}
export declare class DefaultClient implements Client {
    api: Api;
    constructor(url: string, options?: ApiOptions);
    getApi(): Promise<ResolvedApi>;
    everything(): LazySearchForm;
    form(formId: string): LazySearchForm;
    query<T>(q: string | string[], optionsOrCallback?: QueryOptions | RequestCallback<ApiSearchResponse<T>>, cb?: RequestCallback<ApiSearchResponse<T>>): Promise<ApiSearchResponse<T>>;
    queryFirst<T>(q: string | string[], optionsOrCallback?: QueryOptions | RequestCallback<Document<T>>, cb?: RequestCallback<Document<T>>): Promise<Document<T>>;
    getByID<T>(id: string, options: QueryOptions, cb?: RequestCallback<Document<T>>): Promise<Document<T>>;
    getByIDs<T>(ids: string[], options: QueryOptions, cb?: RequestCallback<ApiSearchResponse<T>>): Promise<ApiSearchResponse<T>>;
    getByUID<T>(type: string, uid: string, options: QueryOptions, cb?: RequestCallback<Document<T>>): Promise<Document<T>>;
    getSingle<T>(type: string, options: QueryOptions, cb?: RequestCallback<Document<T>>): Promise<Document<T>>;
    getBookmark<T>(bookmark: string, options: QueryOptions, cb?: RequestCallback<Document<T>>): Promise<Document<T>>;
    getTags(): Promise<string[]>;
    getPreviewResolver(token: string, documentId?: string): PreviewResolver;
    static getApi(url: string, options?: ApiOptions): Promise<ResolvedApi>;
}

Hello @vincent.nyamu

Thanks for reaching out to us.

We have the Next.js TypeScript article:

In addition to the Next article, we also have:

However, we only officially support TypeScript with Slice Machine. It's possible to type your Prismic content with `@prismicio/types".

Other than that, I don't have much information at the moment. I have raised the question with my dedicated team and will return to you once I hear back from them.

Thanks,
Priyanka

Thank you! Truly appreciate it.
I may have mistakenly read the docs but will go over them again and if anything else pops up, I'll reply. If not, I'll await any updates if any come up.

Thank you!