import { Context } from 'koishi'; /** * 星币操作工具类 */ export declare class StarCoinHelper { /** * 获取用户星币数量 */ static getUserStarCoin(ctx: Context, userId: string, channelId: string): Promise; /** * 设置用户星币数量 */ static setUserStarCoin(ctx: Context, userId: string, channelId: string, amount: number): Promise; /** * 增加用户星币数量 */ static addUserStarCoin(ctx: Context, userId: string, channelId: string, amount: number): Promise; /** * 减少用户星币数量 */ static removeUserStarCoin(ctx: Context, userId: string, channelId: string, amount: number): Promise; /** * 检查用户星币是否足够 */ static hasEnoughStarCoin(ctx: Context, userId: string, channelId: string, amount: number): Promise; }