import { ErrorService } from 'src/error/error.service';
import { Repository } from 'typeorm';
import { UserService } from '../user/user.service';
import { UpdateWithdrawDto } from './dto/update-withdraw.dto';
import { WithdrawEntity } from './entities/withdraw.entity';
export declare class WithdrawService {
    private withdrawRepository;
    private error;
    private userService;
    constructor(withdrawRepository: Repository<WithdrawEntity>, error: ErrorService, userService: UserService);
    getById(withdrawId: number): Promise<WithdrawEntity>;
    withdrawList(page?: number, limit?: number, filters?: any, sorts?: any): Promise<{
        items: WithdrawEntity[];
        pagination: {
            itemsPerPage: number;
            totalItems: number;
            currentPage: number;
            totalPages: number;
        };
    }>;
    updateWithdraw(withdrawId: number, dto: UpdateWithdrawDto): Promise<import("typeorm").UpdateResult>;
}
