import type { Bot, Context } from 'koishi'; import type { Context as KoaContext } from 'koa'; export default function handleFunction(context: Context, functionName: string, ...args: any[]): (ctx: KoaContext) => Promise; export declare function getGroupMemberRole(bot: Bot, groupId: string | number, userId: string | number): Promise<"owner" | "admin" | "member">;