import type { ImcServer } from "./../model/server";
import { Context } from "koishi";
export interface IfindArg {
    name?: string;
    groupId?: string;
}
export declare const varkeys: string[];
export declare class initMcBot {
    ctx: Context;
    private static instance;
    private constructor();
    static getInstance(ctx?: Context): initMcBot;
    findServer(findArg: IfindArg): Promise<ImcServer[]>;
    delteByName(findArg: IfindArg): Promise<import("minato").Driver.WriteResult>;
    upsert(server: ImcServer): Promise<import("minato").Driver.WriteResult>;
    pingServerList(findArg: IfindArg): Promise<any[]>;
    pingOneServer(opt: ImcServer): Promise<any>;
}
export declare const guoupArg: (groupKeep: boolean, arg?: IfindArg, obj?: any) => any;
export declare function removeMinecraftFormatting(text: string): string;
