import { CollectionData, CollectionsData } from './../types/Collection'; import { BaseClient } from './BaseClient'; export declare class CollectionClient extends BaseClient { private readonly accessToken; /** * @ignore */ constructor(accessToken: string); /** * * @param {string} id Collection Id * * @returns {Promise} * Collection object contains collection details */ getById(id: string): Promise; /** * * * @param before * If `data.collections.pageInfo.hasPreviousPage` is `true`, then request previous page by passing * `data.collections.pageInfo.startCursor` as `before` parameter. You can also pass `data.collections.edges[i].cursor` * as `before` parameter to get results before that cursor. * * @param after * If `data.collections.pageInfo.hasNextPage` is `true`, then request next page by passing * `data.collections.pageInfo.endCursor` as `after` parameter. You can also pass `data.collections.edges[i].cursor` * as `after` parameter to get results after that cursor. * * @returns {Promise} * Paginated collections list of maximum 250 collections. To request further collections, use `after` parameter. */ getAll(before?: string, after?: string): Promise; }