import { FastifyReply } from "fastify"; import { ReferralInviteDTO } from "../dtos/referral-invite.dto"; import { ReferralModuleConfig } from "../interfaces/referral.config.interface"; import { ReferralService } from "../services/referral.service"; export declare class ReferralController { private readonly referralService; private readonly config; constructor(referralService: ReferralService, config: Required); /** * Check if the referral feature is enabled. * Throws NotFoundException when disabled to return 404 to clients. */ private checkEnabled; /** * GET /referrals/my-code - Get or generate company referral code * Returns JSON:API format response */ getMyCode(reply: FastifyReply): Promise; /** * POST /referrals/invite - Send referral invitation email * Returns 204 No Content on success */ sendInvite(reply: FastifyReply, body: ReferralInviteDTO): Promise; /** * GET /referrals/stats - Get referral statistics * Returns JSON:API format response */ getStats(reply: FastifyReply): Promise; } //# sourceMappingURL=referral.controller.d.ts.map