import { RolesService } from './roles.service';
export declare class RolesController {
    private readonly rolesService;
    constructor(rolesService: RolesService);
    getGlobalRoles(): Promise<import("./role.entity").Role[]>;
    createGlobalRole(body: {
        name: string;
        permissions: Record<string, boolean>;
    }): Promise<import("./role.entity").Role>;
    getBrandRoles(req: any): Promise<import("./role.entity").Role[]>;
    createBrandRole(req: any, body: {
        name: string;
        permissions: Record<string, boolean>;
    }): Promise<import("./role.entity").Role>;
    updateRole(id: string, body: {
        permissions: Record<string, boolean>;
    }): Promise<import("./role.entity").Role | null>;
    deleteRole(id: string): Promise<{
        success: boolean;
    }>;
}
