import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2021-2025 GoodData Corporation
import { createContext, useContext } from "react";
const defaultLabels = {
    accessTypeLabel: "access-type-label",
    accessRegimeLabel: "access-regime-label",
    removeAccessGranteeTooltip: "remove-access-grantee-tooltip",
    removeAccessCreatorTooltip: "remove-access-creator-tooltip",
};
const LabelsContext = createContext(defaultLabels);
/**
 * @internal
 */
export const useComponentLabelsContext = () => useContext(LabelsContext);
/**
 * @internal
 */
export function ComponentLabelsProvider(props) {
    const { children, labels } = props;
    return _jsx(LabelsContext.Provider, { value: labels, children: children });
}
//# sourceMappingURL=ComponentLabelsContext.js.map