import type { Context, Session } from 'koishi';
import type { Config, JrysData } from '../types';
/**
 * 生成运势卡片 HTML
 */
export declare function generateFortuneHTML(ctx: Context, session: Session, config: Config, dJson: JrysData, BackgroundURL_base64: string, logInfo: (...args: any[]) => void): Promise<string>;
/**
 * 获取图片 Buffer（用于 raw_jrys 模式）
 */
export declare function getImageBuffer(ctx: Context, rawUrl: string): Promise<Buffer>;
