import { AUTHORIZATION_APPROVAL_STATUS, AUTHORIZATION_EFFECT } from '../enum'; import { ResourceAuthorizationCache } from '..'; /** * Verify a given policy */ export declare class VerifyResourceAuthorizationPolicyDto { action: string; resource: string; userId: string; } /** * The response to a policy verification request * * - effect is either ALLOW or DENY * - expiresAt is only included if set * Even if a policy is set to never expire, remote servers should verify * that it remains valid every 60 minutes. * - status is only set if the authorization is PENDING */ export declare class ResourceAuthorizationPolicyVerificationResponseDto implements ResourceAuthorizationCache { effect: AUTHORIZATION_EFFECT; expiresAt?: number; approvalStatus: AUTHORIZATION_APPROVAL_STATUS.PENDING; }