import { Context, Schema, Service } from 'koishi'; import GenshinCommand from './core/command'; declare module 'koishi' { interface Context { genshin: GDK; } } declare class GDK extends Service { constructor(app: Context, config: GDK.BasicConfig); } declare namespace GDK { interface BasicConfig { } const BasicConfig: Schema; type Config = BasicConfig & GenshinCommand.Config; const Config: Schema; } export default GDK;