import { BootstrapTableRequestDto } from 'src/commons/dto/bootstrap-table-request.dto';
import { BranchService } from './branch.service';
import { CreateBranchDto } from './dto/create-branch.dto';
import { UpdateBranchDto } from './dto/update-branch.dto';
export declare class BranchController {
    private readonly service;
    constructor(service: BranchService);
    create(dto: CreateBranchDto): import("../../generated/prisma/models").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: import("../../generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
    }>;
    findAll(query: BootstrapTableRequestDto): Promise<import("../commons/dto/bootstrap-table-response.dto").BootstrapTableResponseDto<{
        id: string;
        createdAt: Date;
        modifiedAt: Date;
        code: string;
        address: string;
        name: string;
        beginEffective: Date;
        endEffective: Date | null;
    }>>;
    findOne(id: string): import("../../generated/prisma/models").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: import("../../generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
    }>;
    update(id: string, dto: UpdateBranchDto): import("../../generated/prisma/models").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: import("../../generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
    }>;
    remove(id: string): import("../../generated/prisma/models").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: import("../../generated/prisma/internal/prismaNamespace").GlobalOmitConfig | undefined;
    }>;
}
