import { EntityManager } from 'typeorm'; import { PointExchange } from './points.entities'; export interface PointChangeEventPayload { point: number; type: string; event: string; profileId: string; remark?: string; } export interface VipVideoExchangeBody { uuid: string; } export declare class PointsHelper { static exchangeVipVideo(uuid: string, profileId: string): Promise; static checkExchange(type: string, profileId: string, body: any): Promise; static getPointsByType(type: string, profileId: string, after?: Date): Promise<{ total: number; items: PointExchange[]; }>; static savePoints(change: number, type: string, profileId: string, remark: string, manager?: EntityManager): Promise; static handlePoints(type: string, profileId: string, event: string, change?: number, remark?: string): Promise; }