export declare function fetchAndDecode(url: string, options?: { formatError?: (error: E) => Error; }): Promise;