import { Repository } from 'typeorm';
import { Role } from './role.entity';
export declare class RolesService {
    private rolesRepo;
    constructor(rolesRepo: Repository<Role>);
    createRole(name: string, permissions: Record<string, boolean>, brandId?: string): Promise<Role>;
    getRoleByNameAndBrand(name: string, brandId?: string): Promise<Role | null>;
    getGlobalRoles(): Promise<Role[]>;
    getBrandRoles(brandId: string): Promise<Role[]>;
    updateRole(id: string, permissions: Record<string, boolean>): Promise<Role | null>;
    deleteRole(id: string): Promise<{
        success: boolean;
    }>;
}
