import { BaseResource } from "./base-resource";
import { Response } from "./server";
export declare class BaseResourceWithErrorHandling extends BaseResource {
    /**
     * Indicates if the resource may have differences with the server data
     * True until its saved successfully
     */
    protected _dirty: boolean;
    /**
     * Indicates if the resource may have differences with the server data
     * True until its saved successfully
     */
    get isDirty(): boolean;
    /**
     * Provide an implementation for handling errors from the API server.
     *
     * @param responseError The response from the server,
     */
    protected static handleError(responseError: Response): Response;
}
