import { MaintenanceHistoryService } from "./maintenance-history.service";
import { CreateMaintenanceHistoryDto } from "./dto/create-maintenance-history.dto";
export declare class MaintenanceHistoryController {
    private readonly maintenanceHistoryService;
    constructor(maintenanceHistoryService: MaintenanceHistoryService);
    create(dto: CreateMaintenanceHistoryDto, req: any): Promise<{
        id: string;
        createdAt: Date;
        updatedAt: Date;
        cylinderId: string;
        remark: string | null;
        date: Date;
        workType: string;
        createdBy: string;
        createdByName: string;
        dueDate: Date | null;
    } | undefined>;
    findAll(page?: string, perPage?: string, workType?: string, query?: string, dateFrom?: string, dateTo?: string, warehouseId?: string, req?: any): Promise<{
        items: ({
            cylinder: {
                item_id: string;
                rfid: string | null;
            };
        } & {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            cylinderId: string;
            remark: string | null;
            date: Date;
            workType: string;
            createdBy: string;
            createdByName: string;
            dueDate: Date | null;
        })[];
        pagination: {
            total: number;
            per_page: number;
            current_page: number;
            last_page: number;
        };
    } | undefined>;
    search(query: string, limit?: string, page?: string): Promise<{
        items: ({
            cylinder: {
                rfid: string | null;
            };
        } & {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            cylinderId: string;
            remark: string | null;
            date: Date;
            workType: string;
            createdBy: string;
            createdByName: string;
            dueDate: Date | null;
        })[];
        pagination: {
            total: number;
            per_page: number;
            current_page: number;
            last_page: number;
        };
    }>;
    findAllByCylinder(id: string, limit?: string, page?: string): Promise<{
        items: {
            id: string;
            createdAt: Date;
            updatedAt: Date;
            cylinderId: string;
            remark: string | null;
            date: Date;
            workType: string;
            createdBy: string;
            createdByName: string;
            dueDate: Date | null;
        }[];
        pagination: {
            total: number;
            per_page: number;
            current_page: number;
            last_page: number;
        };
    } | undefined>;
}
