import { BotService, Config, TmpFileStorage } from '../interface';
import { Bot, Context } from 'koishi';
import { ChannelInfo } from '../interface';
import { KoishiSession } from '../session/schedule-session';
declare module 'koishi' {
    interface Context {
        bots: Bot[];
    }
}
export * from './schedule-session';
export * from './cmd-session';
export declare class KoishiBotService implements BotService<ChannelInfo, KoishiSession> {
    ctx: Context;
    config: Config;
    tmpFileStorage: TmpFileStorage | undefined;
    constructor(ctx: Context, config: Config);
    getSessionByChannelInfo(channelInfo: ChannelInfo): KoishiSession;
}
