import type { Response } from 'express';
import { TransactionsService } from './transactions.service';
import { User } from '../users/entities/user.entity';
import { TransactionStatus } from './entities/transaction.entity';
export declare class TransactionsController {
    private readonly transactionsService;
    constructor(transactionsService: TransactionsService);
    findAll(user: User, campaignId?: string, status?: TransactionStatus, page?: string, limit?: string): Promise<{
        data: {
            id: string;
            reference: string;
            voter_name: string;
            voter_email: string;
            votes: number;
            amount: number;
            status: TransactionStatus;
            paid_at: Date;
            created_at: Date;
            contestant: {
                id: string;
                name: string;
            };
            campaign: {
                id: string;
                title: string;
            };
        }[];
        meta: {
            total: number;
            page: number;
            limit: number;
            totalPages: number;
        };
    }>;
    exportToCSV(user: User, campaignId: string, res: Response): Promise<void>;
}
