import { ObjectID } from "mongodb"; import { ChannelsRepoStructure, SubscriptionInterface } from "../Interfaces/ChannelsRepoStructure"; import { BaseRepository } from "./BaseRepository"; export declare class ChannelRepository extends BaseRepository { name: string; createChannel(channelData: ChannelsRepoStructure): Promise; createDefaultChannel(uri: string): Promise; subscribeTo(channelId: ObjectID, subData: SubscriptionInterface): Promise; unsubscribeTo(channelId: ObjectID, unsubData: { token: string; os: "ios" | "android"; }): Promise; getSubscriptions(channelId: ObjectID): Promise; }