import mongoose = require('mongoose'); import Channel = require('../Entity/Application/Channel'); import List = require('../Entity/List'); export = ChannelLoader; declare class ChannelLoader { private model; static $inject: string[]; constructor(model: mongoose.Model); getById(eShopId: number, id: number, callback: (e: Error, channel?: Channel) => void): void; getCount(eShopId: number, callback: (e: Error, count?: number) => void): void; searchList(eShopId: number, query: string, filter: { limit?: number; offset?: number; }, callback: (e: Error, channelList?: List) => void): void; getMaxDateCreated(callback: (e: Error, maxDateCreated?: Date) => void): void; getListByChannelIds(eShopId: number, ids: number[], callback: (e: Error, channelList?: List) => void): void; }