import { Context, ForkScope, Logger, Schema, Service } from 'koishi'; import BiliCmd from './cmd'; import Wbi from './wbi'; import BiliAPI from './api'; import Render from './render'; export declare const inject: string[]; export declare const name = "bilibili-notify"; declare module 'koishi' { interface Context { biliDaemon: BiliDaemon; } } export interface Config { api: BiliAPI.Config; wbi: Wbi.Config; render: Render.Config; main: BiliCmd.Config; } export declare const Config: Schema; declare class BiliDaemon extends Service { servers: ForkScope[]; restartCount: number; log: Logger; constructor(ctx: Context); protected start(): void | Promise; registerPlugin(): Promise; disposePlugin(): Promise; restartPlugin(count?: boolean): Promise; } export declare function apply(ctx: Context, config: Config): void; export {};