declare const apiMap: { [key: string]: string; }; interface FetchResponse { success: boolean; url: string; } type Category = keyof typeof apiMap; declare class Ultimate { fetch(category: Category): Promise; } export default Ultimate;