import { RoleService } from '../../role/services/role.service';
import { AdminCreateRoleDto, AdminUpdateRoleDto } from '../dto/admin-role.dto';
export declare class AdminRolesController {
    private readonly roles;
    constructor(roles: RoleService);
    listRoles(tenantId?: string, guard?: string): Promise<{
        data: {
            id: string;
            name: string;
            guard: string;
            isSystem: boolean;
            isActive: boolean;
            tenantId: string;
            tenant: {
                id: string;
                name: string;
                slug: string;
            };
            permissions: string[];
            createdAt: Date;
            updatedAt: Date;
        }[];
    }>;
    createRole(dto: AdminCreateRoleDto): Promise<{
        role: {
            id: string;
            name: string;
            guard: string;
            isSystem: boolean;
            isActive: boolean;
            tenantId: string;
            tenant: {
                id: string;
                name: string;
                slug: string;
            };
            permissions: string[];
            createdAt: Date;
            updatedAt: Date;
        };
    }>;
    updateRole(id: string, dto: AdminUpdateRoleDto): Promise<{
        role: {
            id: string;
            name: string;
            guard: string;
            isSystem: boolean;
            isActive: boolean;
            tenantId: string;
            tenant: {
                id: string;
                name: string;
                slug: string;
            };
            permissions: string[];
            createdAt: Date;
            updatedAt: Date;
        };
    }>;
    deleteRole(id: string): Promise<{
        message: string;
    }>;
    private toSafeRole;
}
//# sourceMappingURL=admin-roles.controller.d.ts.map