export type CallAPI<T, R> = (params: T) => Promise<R>