UNPKG

unsplash-js

Version:

Official JavaScript wrapper for the Unsplash API

13 lines (12 loc) 480 B
import { PaginationParams } from '../types/request'; export declare const getCollections: (collectionIds?: string[] | undefined) => { collections: string; } | { collections?: undefined; }; export declare const getTopics: (topicIds?: string[] | undefined) => { topics: string; } | { topics?: undefined; }; export declare const getFeedParams: ({ page, perPage, orderBy }: PaginationParams) => Record<string, number | import("../types/request").OrderBy>;