import { firestore } from 'firebase-admin'; import { CategoriesService } from '../categories'; import { Config, firebase, Logger } from '../core'; export declare class PodacstsRepository { private readonly categoriesService; private readonly store; private readonly config; readonly podcastsCollection: firebase.firestore.CollectionReference; readonly logger: Logger; constructor(categoriesService: CategoriesService, store: firebase.firestore.Firestore, config: Config, logger: Logger); private podcastDataToLegacyData; private legacyDataToPodcastData; private snapToEntity; create(podcast: SoundonApi.Podcast): Promise>; batchCreate(podcast: SoundonApi.Podcast, batch: firestore.WriteBatch): string; update(podcastId: string, podcast: Partial): Promise>; transaction(podcastId: string, updatedFunc: (data: SoundonApi.Podcast) => Promise>): Promise; get(podcastId: string, tx?: firestore.Transaction): Promise>; getPodcastsOfUser(userId: string): Promise>>; }