import { JSONAModel } from "../interfaces/JSONAModel"; import { RawJsonApiModel } from "./interfaces/RawJsonApiModel"; import { ResourceType } from "../interfaces/ResourceType"; export declare abstract class JsonApiModel = RawJsonApiModel> { relationshipNames: string[]; readonly type: ResourceType; /** * unfortunately, no way to tell the compiler from outside that this should not be overridden. * Final keyword would be very helpful here. * @see https://github.com/microsoft/TypeScript/issues/8306 */ readonly id: string; readonly __clientGeneratedEntity: boolean; constructor(model: R); getAttributes(): Partial; private setUpRelationshipNames; }