import type { ProtectedItems } from "../modules/BasicAccessControl/ProtectedItems.ta.mjs"; import type ProtectedItem from "../types/ProtectedItem.mjs"; import { NameAndOptionalUID } from "../modules/SelectedAttributeTypes/NameAndOptionalUID.ta.mjs"; import { EvaluateFilterSettings } from "../utils/evaluateFilter.mjs"; /** * @summary Whether the requested item is protected by the `ProtectedItems`. * @description * * This function determines whether the requested item is targeted by the * `ProtectedItems`. * * @param {object} request The aspect of the entry to which authorization is * being requested. * @param {ProtectedItems} protectedItems The data structure that defines what * is protected by the ACI item. * @param {function} getEqualityMatcher A function that takes an object * identifier and returns another function (if one can be found) that can be * used to compare two values of the same attribute type. * @returns {boolean} A `boolean` that is `true` if the requested item is * protected by the `ProtectedItems` and `false` if it is not. * @function */ export declare function itemIsProtected(request: ProtectedItem, protectedItems: ProtectedItems, requester: NameAndOptionalUID | undefined | null, settings: EvaluateFilterSettings): boolean; export default itemIsProtected; //# sourceMappingURL=itemIsProtected.d.mts.map