import type { Observable } from '../../../../libs/observable-api/index.js'; import type { UmbReferenceByUnique } from '../../models/index.js'; import { UmbGuardManagerBase, type UmbGuardRule } from '../../utils/index.js'; export interface UmbPropertyGuardRule extends UmbGuardRule { propertyType?: UmbReferenceByUnique; } /** * @description - A Guard to manage property rules. * @class UmbPropertyGuardManager * @augments {UmbGuardManagerBase} */ export declare class UmbPropertyGuardManager extends UmbGuardManagerBase { #private; /** * Checks if the property is permitted for the given property type * @param {UmbReferenceByUnique} propertyType - The property type to check. * @returns {Observable} - Observable that emits true if the property is permitted * @memberof UmbPropertyGuardManager */ isPermittedForProperty(propertyType: UmbReferenceByUnique): Observable; /** * Checks if the property is permitted for the given property type * @param {UmbReferenceByUnique} propertyType - The property type to check. * @returns {boolean} - Returns true if the property is permitted * @memberof UmbPropertyGuardManager */ getIsPermittedForProperty(propertyType: UmbReferenceByUnique): boolean; }