import type { Client } from '../client/index.ts'; import type { DonationExtrasPayload, DonationPayload, DonationWeeklyRankPayload } from '../types/chat/donation.ts'; import { EventMessageType } from '../types/chat/payload.ts'; import type { Channel } from './channel.ts'; import { Extras } from './extras.ts'; import { BaseMessage } from './message.ts'; export declare class DonationWeeklyRank { client: Client; userID: string; nick: string; verified: boolean; cost: number; ranking: number; constructor(client: Client, data: DonationWeeklyRankPayload); getUserChannel(): Promise; } export declare class DonationExtras extends Extras { client: Client; type: DonationExtrasPayload['payType']; cost: number; nick: string; donationType: DonationExtrasPayload['donationType']; rankList: DonationWeeklyRank[]; authorUserRank: DonationWeeklyRank; constructor(client: Client, data: DonationExtrasPayload); getAuthorChannel(): Promise; } export declare class Donation extends BaseMessage { type: EventMessageType.DONATION; constructor(client: Client, data: DonationPayload); }