interface JsonApiHydratedDataInterface { jsonApi: any; included: any[]; allData?: any[]; } interface ApiDataInterface { get included(): any[]; get type(): string; get id(): string; get createdAt(): Date; get updatedAt(): Date; get self(): string | undefined; get jsonApi(): any; get identifier(): string; generateApiUrl(params?: any): string; dehydrate(): JsonApiHydratedDataInterface; rehydrate(data: JsonApiHydratedDataInterface): this; createJsonApi(data: any): any; } export type { ApiDataInterface as A, JsonApiHydratedDataInterface as J };