import mongoose = require('mongoose'); import Channel = require('../Entity/Application/Channel'); import List = require('../Entity/List'); export = ChannelRecorder; declare class ChannelRecorder { private model; private documentExecutor; static $inject: string[]; constructor(model: mongoose.Model); insertOrUpdateList(channelList: List, callback: (e: Error, channelList?: List) => void): void; insertOrUpdate(channel: Channel, callback: (e: Error, channel?: Channel) => void): void; }