/** * Generates a unique referral code * @param length - Length of the code (default: 8) * @returns A random alphanumeric code */ export declare function generateReferralCode(length?: number): string; /** * Generates a unique referral code with a prefix * @param prefix - Prefix for the code (e.g., "REF") * @param length - Length of the random part (default: 6) * @returns A code with prefix and random characters */ export declare function generateReferralCodeWithPrefix(prefix: string, length?: number): string;