import { Context, Session } from 'koishi'; import 'koishi-plugin-adapter-onebot'; export declare function getUserName(ctx: Context, session: Session, userId: string): Promise; export declare function getUserNameWithoutSession(ctx: Context, channelId: string, userId: string): Promise; export declare function createTextMsgNode(userId: string, nickname: string, content: string): { type: string; data: { user_id: string; nickname: string; content: string; }; }; export declare function createTextMsg(content: string): { type: string; data: { text: string; }; }; export declare function createFileMsg(content: string, type?: string): { type: string; data: { file: string; }; };