import { AdminCreatePermissionDto, AdminUpdatePermissionDto } from '../dto/admin-permission.dto';
import { PermissionService } from '../../permission/services/permission.service';
export declare class AdminPermissionsController {
    private readonly permissionService;
    constructor(permissionService: PermissionService);
    listPermissions(search?: string, category?: string, guard?: string, limit?: string): Promise<{
        data: {
            id: string;
            name: string;
            guard: string;
            description: string;
            category: string;
            createdAt: Date;
            updatedAt: Date;
        }[];
    }>;
    getGuards(): Promise<{
        data: string[];
    }>;
    searchPermissions(query: string, guard?: string, limit?: string): Promise<{
        data: {
            id: string;
            name: string;
            guard: string;
            description: string;
            category: string;
            createdAt: Date;
            updatedAt: Date;
        }[];
    }>;
    getCategories(): Promise<{
        data: string[];
    }>;
    createPermission(dto: AdminCreatePermissionDto): Promise<{
        permission: {
            id: string;
            name: string;
            guard: string;
            description: string;
            category: string;
            createdAt: Date;
            updatedAt: Date;
        };
    }>;
    getPermission(id: string): Promise<{
        permission: {
            id: string;
            name: string;
            guard: string;
            description: string;
            category: string;
            createdAt: Date;
            updatedAt: Date;
        };
    }>;
    updatePermission(id: string, dto: AdminUpdatePermissionDto): Promise<{
        permission: {
            id: string;
            name: string;
            guard: string;
            description: string;
            category: string;
            createdAt: Date;
            updatedAt: Date;
        };
    }>;
    deletePermission(id: string): Promise<{
        message: string;
    }>;
    private toSafePermission;
}
//# sourceMappingURL=admin-permissions.controller.d.ts.map