import { HttpBody } from './HttpBody'; import { IValidator } from '../../types'; export declare abstract class Model extends HttpBody implements IValidator { /** * Name of entity */ readonly $name: string; /** * Validates resource. Shows toast if there are errors and interrupts the code * @returns {Promise} */ validate(): Promise; }