import { PermissionDelegationService } from "../../../common/services/permission-delegation.service";
declare class CreateDelegationRequestDto {
    toUserId: string;
    resource?: string;
    validFrom: string;
    validTo: string;
    reason: string;
    organizationId?: string;
}
export declare class DelegationsController {
    private readonly service;
    constructor(service: PermissionDelegationService);
    listMine(userId: string): Promise<{
        id: string;
        createdAt: Date;
        updatedAt: Date;
        organizationId: string | null;
        resource: string;
        createdById: string;
        fromUserId: string;
        toUserId: string;
        validFrom: Date;
        validTo: Date;
        reason: string;
        revokedAt: Date | null;
    }[]>;
    create(body: CreateDelegationRequestDto, actorId: string): Promise<{
        id: string;
        createdAt: Date;
        updatedAt: Date;
        organizationId: string | null;
        resource: string;
        createdById: string;
        fromUserId: string;
        toUserId: string;
        validFrom: Date;
        validTo: Date;
        reason: string;
        revokedAt: Date | null;
    }>;
    revoke(id: string, actorId: string): Promise<{
        id: string;
        createdAt: Date;
        updatedAt: Date;
        organizationId: string | null;
        resource: string;
        createdById: string;
        fromUserId: string;
        toUserId: string;
        validFrom: Date;
        validTo: Date;
        reason: string;
        revokedAt: Date | null;
    }>;
}
export {};
