import { Cache } from 'cache-manager';
import { EnvironmentService } from '../environment/environment.service';
import { UnsplashCover, UnsplashPhotoList } from './unsplash.types';
export declare class UnsplashService {
    private readonly environmentService;
    private readonly cacheManager;
    private readonly logger;
    constructor(environmentService: EnvironmentService, cacheManager: Cache);
    isEnabled(): boolean;
    listPhotos(query: string, page: number): Promise<UnsplashPhotoList>;
    getCover(photoId: string, userId: string): Promise<UnsplashCover>;
    private searchPhotos;
    private listTopicPhotos;
    private fetchPhoto;
    private trackDownload;
    private takeCoverBudget;
    private requestJson;
    private request;
    private assertList;
    private buildUrl;
    private cachePhoto;
    private photoCacheKey;
    private assertEnabled;
}
