import { ECode } from '../types/ErrorPage'; export type ErrorPageCopy = { titleKey: string; titleFallback: string; descKey: string; descFallback: string; }; export type ResolvedErrorPageCopy = ErrorPageCopy & { code: ECode; }; type TranslateFn = (key: string, params?: Record) => string; export declare function translateErrorPageText(t: TranslateFn | undefined, key: string | undefined, fallback: string, params?: Record): string; export declare function getHttpStatus(error?: any, fallbackStatus?: number): number | undefined; export declare function isOffline(): boolean; export declare function isTimeoutError(error?: any): boolean; export declare function isFetchFailedError(error?: any): boolean; export declare function getNetworkErrorCopy(error?: any): ErrorPageCopy; export declare function getServerProxyErrorCopy(error?: any, fallbackStatus?: number): ErrorPageCopy; export declare function getErrorPageCopy(error?: any, options?: { code?: ECode; status?: number; }): ResolvedErrorPageCopy | undefined; export {};