import { ObjectID } from "mongodb"; import { AppRepoStructureInterface } from "../Interfaces/AppRepoStructure"; import { ChannelsRepoStructure } from "../Interfaces/ChannelsRepoStructure"; import { BaseRepository } from "./BaseRepository"; export declare class AppRepository extends BaseRepository { name: string; getDriverInfo(appId: ObjectID): Promise<{ config?: { [key: string]: string; }; driver: string; }>; getEnvironment(appId: ObjectID): Promise<"production" | "development" | "test">; getChannels(appId: ObjectID): Promise; createApp(appData: AppRepoStructureInterface): Promise; addChannel(appId: ObjectID, channel: ChannelsRepoStructure): Promise; removeChannel(appId: ObjectID, channel: ChannelsRepoStructure): Promise; deleteApp(appId: ObjectID): Promise; getAppFrom(query: { _id?: ObjectID; name?: string; app_id?: string; environment?: string; }): Promise; setDefaultChannel(appId: ObjectID, channel: ChannelsRepoStructure): Promise; }