import { UsersService } from '../users/users.service.js';
import { CreateUserDto } from './dto/create-user.dto.js';
import { UserRole } from '../users/entities/user.entity.js';
import type { JwtPayload } from '../common/decorators/current-user.decorator.js';
import { UpdateCredentialsDto } from './dto/update-credentials.dto.js';
export declare class UsersController {
    private readonly usersService;
    constructor(usersService: UsersService);
    create(createUserDto: CreateUserDto): Promise<{
        data: any;
    }>;
    findAll(): Promise<{
        data: {
            id: string;
            name: string;
            email: string;
            role: UserRole;
            isActive: boolean;
            createdAt: Date;
            updatedAt: Date;
        }[];
    }>;
    updateRole(id: string, role: UserRole): Promise<{
        data: any;
    }>;
    toggleStatus(id: string): Promise<{
        data: any;
    }>;
    remove(id: string): Promise<{
        message: string;
    }>;
    updateCredentials(user: JwtPayload, dto: UpdateCredentialsDto): Promise<{
        message: string;
    }>;
}
