import { PrismaService } from '../prisma/prisma.service';
import { CreateBranchDto } from './dto/create-branch.dto';
import { UpdateBranchDto } from './dto/update-branch.dto';
import { BootstrapTableRequestDto } from '../commons/dto/bootstrap-table-request.dto';
import { BootstrapTableResponseDto } from '../commons/dto/bootstrap-table-response.dto';
import { Prisma } from 'generated/prisma/client';
export declare class BranchService {
    private prisma;
    constructor(prisma: PrismaService);
    create(data: CreateBranchDto): Prisma.Prisma__BranchClient<{
        id: string;
        createdAt: Date;
        modifiedAt: Date;
        code: string;
        address: string;
        name: string;
        beginEffective: Date;
        endEffective: Date | null;
    }, never, import("@prisma/client/runtime/client").DefaultArgs, {
        omit: Prisma.GlobalOmitConfig | undefined;
    }>;
    findAll(query: BootstrapTableRequestDto): Promise<BootstrapTableResponseDto<{
        id: string;
        createdAt: Date;
        modifiedAt: Date;
        code: string;
        address: string;
        name: string;
        beginEffective: Date;
        endEffective: Date | null;
    }>>;
    findOne(id: string): Prisma.Prisma__BranchClient<({
        users: ({
            user: {
                email: string;
                id: string;
                hash: string;
                firstName: string | null;
                lastName: string | null;
                createdAt: Date;
                modifiedAt: Date;
                roleId: string;
            };
        } & {
            id: string;
            userId: string;
            branchId: string;
        })[];
    } & {
        id: string;
        createdAt: Date;
        modifiedAt: Date;
        code: string;
        address: string;
        name: string;
        beginEffective: Date;
        endEffective: Date | null;
    }) | null, null, import("@prisma/client/runtime/client").DefaultArgs, {
        omit: Prisma.GlobalOmitConfig | undefined;
    }>;
    update(id: string, data: UpdateBranchDto): Prisma.Prisma__BranchClient<{
        id: string;
        createdAt: Date;
        modifiedAt: Date;
        code: string;
        address: string;
        name: string;
        beginEffective: Date;
        endEffective: Date | null;
    }, never, import("@prisma/client/runtime/client").DefaultArgs, {
        omit: Prisma.GlobalOmitConfig | undefined;
    }>;
    remove(id: string): Prisma.Prisma__BranchClient<{
        id: string;
        createdAt: Date;
        modifiedAt: Date;
        code: string;
        address: string;
        name: string;
        beginEffective: Date;
        endEffective: Date | null;
    }, never, import("@prisma/client/runtime/client").DefaultArgs, {
        omit: Prisma.GlobalOmitConfig | undefined;
    }>;
}
