export const DonatorType2024: Readonly<{ GENERAL: "general"; CORPORATE: "corporate"; }>; export const DonationVerificationStatus2024: Readonly<{ PENDING: "pending"; REJECTED: "rejected"; APPROVED: "approved"; }>; /** * @typedef {Object} IDonation * @property {string} name * @property {number} amount * @property {string} email * @property {string} phone * @property {string |File} [proof=""] Path to storage ref * @property {typeof DonatorType2024[keyof typeof DonatorType2024]} donatorType * @property {string |File} [logo=""] Path to storage ref * @property {typeof DonationVerificationStatus2024[keyof typeof DonationVerificationStatus2024]} [isVerified=DonationVerificationStatus2024.PENDING] * @property {string} [code="suxtb_2024"] * @property {string} [message] * @property {Date} [created_at] */ /** * @type {IDonation} */ export class Donation2024 { constructor({ name, amount, email, proof, donatorType, logo, isVerified, code, created_at, message, phone, }: IDonation); amount: number; code: string | undefined; donatorType: "general" | "corporate"; email: string; isVerified: "pending" | "rejected" | "approved" | undefined; logo: string | File | undefined; name: string; proof: string | File | undefined; created_at: Date | undefined; message: string | undefined; phone: string; } export type IDonation = { name: string; amount: number; email: string; phone: string; /** * Path to storage ref */ proof?: string | File | undefined; donatorType: (typeof DonatorType2024)[keyof typeof DonatorType2024]; /** * Path to storage ref */ logo?: string | File | undefined; isVerified?: "pending" | "rejected" | "approved" | undefined; code?: string | undefined; message?: string | undefined; created_at?: Date | undefined; }; //# sourceMappingURL=index.d.ts.map