/** * Class that represent an resource instance. Any model definition should inherit * from this class. */ export declare class ResourceInstance { constructor(data?: object); /** * Load data coming from an external (HTTP) source. * @param {Object} data * @returns {ResourceInstance} */ load(data: object): ResourceInstance; /** * Dump data fro an external (HTTP) source. * @returns {Object} */ dump(): object; /** * Checks if the instance is a phantom instance, meaning that it has not yet been * submitted to the server and does not come from the server. * @returns {boolean} */ isPhantom(): boolean; }