import { Adapter, Context, HTTP, Schema } from 'koishi'; import { OneBotBot } from './bot'; export declare class HttpServer extends Adapter> { static inject: string[]; bots: OneBotBot[]; fork(ctx: C, bot: OneBotBot): Promise; connect(bot: OneBotBot): Promise; } export declare namespace HttpServer { interface Options extends HTTP.Config { protocol: 'http'; path?: string; secret?: string; } const Options: Schema; }