import type SoundCloud from '../SoundCloud.js'; import { type EntityClasses, type EntityClassesToTypes, type EntityConstructor, type EntityType } from '../utils/EntityTypes.js'; import CollectionContinuation from './CollectionContinuation.js'; export type CollectionOptions = { requireTypes?: EntityClasses; asType?: undefined; } | { requireTypes?: undefined; asType: EntityConstructor; }; export default class Collection { #private; static readonly type: string; readonly type: string; items: EntityClassesToTypes>[]; continuation: CollectionContinuation | null; constructor(json: any, client: SoundCloud, opts: CollectionOptions); protected getItems(): EntityClassesToTypes>[]; getJSON(prop?: undefined): any; getJSON(prop: string): T | null | undefined; getJSON(prop: string): T | undefined; protected getClient(): SoundCloud; } //# sourceMappingURL=Collection.d.ts.map