export declare function toModelErrorMessage(error: Error): string; export declare function responseErrorMessage(response: Response): Promise;