declare module 'frisbee' { // TODO: improve with more specific types type RequestOptions = Record; type Response = any; declare class Frisbee { constructor(options: { baseURI?: string; headers?: Record }); get(path: string, options?: RequestOptions): Promise; post(path: string, options?: RequestOptions): Promise; // TODO: add missing methods } export default Frisbee; }