import { Comment } from './models/comment'; import { Photo } from './models/photo'; import { Feature } from './options/photo'; export interface WithPagination { current_page: number; total_pages: number; total_items: number; } export interface WithFilters { filters: { /** * The ID of the category that photos were filtered by. */ category?: number[]; /** * The ID of the category that photos were excluded from. */ exclude?: number[]; }; } export interface Photos { photos: Photo[]; } export interface WithFeature { feature: Feature; } /** * It contains pagination fields */ export declare type DiscoverResponse = WithPagination & WithFeature & WithFilters & Photos; export declare type SearchResponse = WithPagination & Photos; export interface CommentsResponse extends WithPagination { comments: Comment[]; top_comments: Comment[]; }