import { SupportService } from './support.service';
import { UpdateTicketDto } from './update-ticket.dto';
import { UpdateStatusDto } from './update-status.dto';
import { CreateCommentDto } from './create-comment.dto';
import { CreateTicketWithMessageDto } from './CreateTicketWithMessageDto';
import { UserService } from 'src/appapi/user/user.services';
import { FirebaseService } from 'src/appapi/fcm/firebase.service';
import { Repository } from 'typeorm';
import { Ticket } from './ticket.entity';
export declare class SupportController {
    private readonly service;
    private readonly userService;
    private readonly firebaseService;
    private readonly ticketRepo;
    private readonly logger;
    constructor(service: SupportService, userService: UserService, firebaseService: FirebaseService, ticketRepo: Repository<Ticket>);
    create(dto: CreateTicketWithMessageDto): Promise<{
        status: boolean;
        message: string;
        data: Ticket;
    }>;
    findAll(page?: string, limit?: string, status?: string, priority?: string, q?: string, vendorId?: string, userId?: string): Promise<{
        items: Ticket[];
        total: number;
        page: number;
        limit: number;
    } | {
        items: Ticket[];
        total: number;
        page?: undefined;
        limit?: undefined;
    }>;
    findOne(id: string): Promise<Ticket>;
    update(id: string, dto: UpdateTicketDto): Promise<Ticket>;
    updateStatus(id: string, body: UpdateStatusDto): Promise<Ticket>;
    addComment(id: string, dto: CreateCommentDto): Promise<import("./comment.entity").Comment>;
    remove(id: string): Promise<{
        status: boolean;
        message: string;
    }>;
}
