export declare function isApiError(errorResponse: any): boolean;
export declare class ErrorService {
    constructor();
    /**
     * Parse an error that comes from the API for use inside the forms
     * In most cases this isn't required because the error handler will do it automatically,
     * but if you need to analyze the error message you can use this to extract it safely.
     * NOTE: Because it can be used for comparison the result is not translated. You must translate
     * it before providing it to the user.
     * @param error The error object from the API
     */
    parseApiError(errorResponse: any, unknownErrorDefault?: string): string;
    /**
     * Just a safe wrapper around console.error in case the browser doesn't have one exposed
     */
    logConsoleError(error: any): void;
}
