import { ItemsService } from "./items.service";
export declare class ItemsController {
    private readonly itemsService;
    constructor(itemsService: ItemsService);
    findAll(): Promise<any[]>;
    searchItems(query: string): Promise<any[]>;
    findByCode(itemCode: string): Promise<any>;
    create(body: {
        itemCode: string;
        itemName: string;
        brand: string;
        barcode?: string;
        countryOfOrigin?: string;
        blend?: string;
        grainType?: string;
        varietyType?: string;
        processType?: string;
        unit?: string;
    }): Promise<any>;
    findBatches(id: string, warehouseId: string): Promise<{
        id: string;
        batchNumber: string;
        expiryDate: string;
        availableBags: number | undefined;
        availableMt: number;
    }[]>;
    update(id: string, body: Partial<{
        itemCode: string;
        itemName: string;
        brand: string;
        barcode: string;
        countryOfOrigin: string;
        blend: string;
        grainType: string;
        varietyType: string;
        processType: string;
        unit: string;
        bagWeightKg: number;
    }>): Promise<any>;
}
