import { BootstrapTableRequestDto } from 'src/commons/dto/bootstrap-table-request.dto';
import { CreateRoleDto } from './create-role.dto';
import { UpdateRoleDto } from './update-role.dto';
import { RoleService } from './role.service';
export declare class RoleController {
    private readonly service;
    constructor(service: RoleService);
    findAll(query: BootstrapTableRequestDto): Promise<import("../commons/dto/bootstrap-table-response.dto").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;
    }>;
}
