import { useContextSelector } from '@fluentui/react-context-selector';
import { MaskedAttributesContext } from './context';
var useMaskedAttributesContext = function (selector) {
    return useContextSelector(MaskedAttributesContext, selector);
};
export var useUnmaskedAttributeValue = function (attributeValueUri) {
    return useMaskedAttributesContext(function (_a) {
        var unmaskedAttributes = _a.unmaskedAttributes;
        return unmaskedAttributes[attributeValueUri];
    });
};
export var useUnmaskAttributeValue = function () {
    return useMaskedAttributesContext(function (_a) {
        var unmaskAttributeValue = _a.unmaskAttributeValue;
        return unmaskAttributeValue;
    });
};
export var useMaskAttributeValue = function () { return useMaskedAttributesContext(function (_a) {
    var maskAttributeValue = _a.maskAttributeValue;
    return maskAttributeValue;
}); };
export var useDeleteUnmaskedAttributeForRelation = function () {
    return useMaskedAttributesContext(function (_a) {
        var deleteUnmaskedAttributeForRelation = _a.deleteUnmaskedAttributeForRelation;
        return deleteUnmaskedAttributeForRelation;
    });
};
