import type { AuthenticationService } from '../services'; /** * Gets indication whether user is authorized * @param authSvc - Instance of Authentication service * @param condition - Condition to be checked against users permissions * @param andCondition - Indication that AND condition should be used isntead of OR condition if multiple permissions are provided * @param conditionString - Indication that provided string is set of loggical operations among permission names, if this is true andCondition is ignored * @param addCondition - Additional condition that is added to evaluation of permission */ export declare function isAuthorized(authSvc: AuthenticationService, condition: string | string[], andCondition?: boolean, conditionString?: boolean, addCondition?: boolean): boolean; /** * Evaluates permissions and conditions and returns result * @param permissions - Array of user permissions to be checked * @param condition - Condition to be checked against users permissions * @param andCondition - Indication that AND condition should be used isntead of OR condition if multiple permissions are provided * @param conditionString - Indication that provided string is set of loggical operations among permission names, if this is true andCondition is ignored * @param addCondition - Additional condition that is added to evaluation of permission */ export declare function evaluatePermissions(permissions: string[], condition: string | string[], andCondition?: boolean, conditionString?: boolean, addCondition?: boolean): boolean; //# sourceMappingURL=utils.d.ts.map