import { ConfigService } from '@nestjs/config';
import { VotesService } from '../votes/votes.service';
import { PaymentsService } from '../payments/payments.service';
interface PaymentWebhookPayload {
    event: 'payment.success' | 'payment.failed';
    data: {
        reference: string;
        amount: string;
        metadata: any;
    };
}
export declare class WebhooksController {
    private readonly votesService;
    private readonly paymentsService;
    private readonly configService;
    constructor(votesService: VotesService, paymentsService: PaymentsService, configService: ConfigService);
    handlePaymentWebhook(payload: PaymentWebhookPayload, apiKey: string): Promise<{
        status: string;
        message: string;
    }>;
}
export {};
