import { jsx as _jsx } from "react/jsx-runtime";
// (C) 2021-2026 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({ children, labels }) {
    return _jsx(LabelsContext.Provider, { value: labels, children: children });
}
