import { Prisma } from "../generated/prisma/client.js";
export declare class VegetableRepository {
    create(data: Prisma.VegetableCreateInput): Promise<{
        name: string;
        id: bigint;
        status: boolean;
        createdAt: Date;
        updatedAt: Date;
        tamilName: string | null;
        createdBy: bigint | null;
        hindiName: string | null;
        kannadaName: string | null;
        malayalamName: string | null;
        teluguName: string | null;
        hsnCode: string | null;
        isFlexible: boolean;
    }>;
    findAll(skip?: number, take?: number, search?: string, status?: boolean): Promise<{
        items: {
            name: string;
            id: bigint;
            status: boolean;
            createdAt: Date;
            updatedAt: Date;
            tamilName: string | null;
            createdBy: bigint | null;
            hindiName: string | null;
            kannadaName: string | null;
            malayalamName: string | null;
            teluguName: string | null;
            hsnCode: string | null;
            isFlexible: boolean;
        }[];
        total: number;
    }>;
    findById(id: bigint): Promise<{
        name: string;
        id: bigint;
        status: boolean;
        createdAt: Date;
        updatedAt: Date;
        tamilName: string | null;
        createdBy: bigint | null;
        hindiName: string | null;
        kannadaName: string | null;
        malayalamName: string | null;
        teluguName: string | null;
        hsnCode: string | null;
        isFlexible: boolean;
    } | null>;
    findByName(name: string, excludeId?: bigint): Promise<{
        name: string;
        id: bigint;
        status: boolean;
        createdAt: Date;
        updatedAt: Date;
        tamilName: string | null;
        createdBy: bigint | null;
        hindiName: string | null;
        kannadaName: string | null;
        malayalamName: string | null;
        teluguName: string | null;
        hsnCode: string | null;
        isFlexible: boolean;
    } | null>;
    findByTamilName(tamilName: string, excludeId?: bigint): Promise<{
        name: string;
        id: bigint;
        status: boolean;
        createdAt: Date;
        updatedAt: Date;
        tamilName: string | null;
        createdBy: bigint | null;
        hindiName: string | null;
        kannadaName: string | null;
        malayalamName: string | null;
        teluguName: string | null;
        hsnCode: string | null;
        isFlexible: boolean;
    } | null>;
    findByHindiName(hindiName: string, excludeId?: bigint): Promise<{
        name: string;
        id: bigint;
        status: boolean;
        createdAt: Date;
        updatedAt: Date;
        tamilName: string | null;
        createdBy: bigint | null;
        hindiName: string | null;
        kannadaName: string | null;
        malayalamName: string | null;
        teluguName: string | null;
        hsnCode: string | null;
        isFlexible: boolean;
    } | null>;
    update(id: bigint, data: Prisma.VegetableUpdateInput): Promise<{
        name: string;
        id: bigint;
        status: boolean;
        createdAt: Date;
        updatedAt: Date;
        tamilName: string | null;
        createdBy: bigint | null;
        hindiName: string | null;
        kannadaName: string | null;
        malayalamName: string | null;
        teluguName: string | null;
        hsnCode: string | null;
        isFlexible: boolean;
    }>;
    delete(id: bigint): Promise<{
        name: string;
        id: bigint;
        status: boolean;
        createdAt: Date;
        updatedAt: Date;
        tamilName: string | null;
        createdBy: bigint | null;
        hindiName: string | null;
        kannadaName: string | null;
        malayalamName: string | null;
        teluguName: string | null;
        hsnCode: string | null;
        isFlexible: boolean;
    }>;
}
//# sourceMappingURL=VegetableRepository.d.ts.map