import Resource from "./Resource"; import Data from "./Generic/Data"; import { UrlTemplatesByType, DataWithLinksArgs } from "./index"; import MaybeDataWithLinks from "./MaybeDataWithLinks"; export default class ResourceSet extends MaybeDataWithLinks { protected _data: Data; protected constructor(it: DataWithLinksArgs); readonly ids: Data; readonly types: Data; readonly isSingular: boolean; toJSON(urlTemplates: UrlTemplatesByType): { links: { [linkName: string]: any; }; data: { id: string; type: string; attributes?: object | undefined; relationships?: { [name: string]: { data?: { type: string; id: string; } | { type: string; id: string; }[] | null | undefined; links?: { self?: string | undefined; related?: string | undefined; } | undefined; }; } | undefined; meta?: object | undefined; links?: { self?: string | undefined; } | undefined; } | { id: string; type: string; attributes?: object | undefined; relationships?: { [name: string]: { data?: { type: string; id: string; } | { type: string; id: string; }[] | null | undefined; links?: { self?: string | undefined; related?: string | undefined; } | undefined; }; } | undefined; meta?: object | undefined; links?: { self?: string | undefined; } | undefined; }[] | null | undefined; }; static of(it: DataWithLinksArgs): ResourceSet; }