import { PrismaService } from '../prisma/prisma.service';
import { CreateRoleDto } from './create-role.dto';
import { UpdateRoleDto } from './update-role.dto';
import { BootstrapTableRequestDto } from 'src/commons/dto/bootstrap-table-request.dto';
import { BootstrapTableResponseDto } from 'src/commons/dto/bootstrap-table-response.dto';
export declare class RoleService {
    private readonly prisma;
    constructor(prisma: PrismaService);
    findAll(query: BootstrapTableRequestDto): Promise<BootstrapTableResponseDto<{
        id: string;
        createdAt: Date;
        modifiedAt: Date;
        code: string;
        name: string;
        accessAllBranch: boolean;
    }>>;
    findOne(id: string): Promise<{
        id: string;
        createdAt: Date;
        modifiedAt: Date;
        code: string;
        name: string;
        accessAllBranch: boolean;
    }>;
    create(dto: CreateRoleDto): Promise<{
        id: string;
        createdAt: Date;
        modifiedAt: Date;
        code: string;
        name: string;
        accessAllBranch: boolean;
    }>;
    update(id: string, dto: UpdateRoleDto): Promise<{
        id: string;
        createdAt: Date;
        modifiedAt: Date;
        code: string;
        name: string;
        accessAllBranch: boolean;
    }>;
    remove(id: string): Promise<{
        id: string;
        createdAt: Date;
        modifiedAt: Date;
        code: string;
        name: string;
        accessAllBranch: boolean;
    }>;
}
