export interface ErrorResponse extends Response { data: { meta: any; errors: any[]; }; } export declare const isErrorResponse: (response: any) => response is ErrorResponse; export declare function fetchFromDuffelAPI(withClientKey: string, path: string, method?: string, body?: string): Promise;