import type { Context, Session } from 'koishi';
import type { Config } from '../types';
/**
 * 发送 Markdown 消息
 */
export declare function sendmarkdownMessage(ctx: Context, session: Session, message: any, logInfo: (...args: any[]) => void): Promise<void>;
/**
 * 上传图片到 QQ 频道
 */
export declare function uploadImageToChannel(ctx: Context, imageBuffer: Buffer, appId: string, secret: string, token: string, channelId: string, config: Config): Promise<{
    url: string;
}>;
/**
 * 构建 Markdown 消息
 */
export declare function markdown(ctx: Context, session: Session, encodedMessageTime: string, imageUrl: string, imageToload: string, config: Config, logInfo: (...args: any[]) => void): Promise<any>;
/**
 * 替换占位符
 */
export declare function replacePlaceholders(content: any, context: any, isRawMode?: boolean): any;
