// (C) 2023-2025 GoodData Corporation
export function loadDateHierarchyTemplates({ backend, workspace, }) {
    if (!backend.capabilities.supportsAttributeHierarchies) {
        return Promise.resolve([]);
    }
    return backend.workspace(workspace).attributeHierarchies().getDateHierarchyTemplates();
}
//# sourceMappingURL=loadDateHierarchyTemplates.js.map