import { type ICatalogAttributeHierarchy, type IDateHierarchyTemplate, type ObjRef } from "@gooddata/sdk-model"; /** * Service for handle workspace attribute hierarchies * * @alpha */ export interface IAttributeHierarchiesService { /** * Creates attribute hierarchy */ createAttributeHierarchy(title: string, attributes: ObjRef[]): Promise; /** * Updates attribute hierarchy */ updateAttributeHierarchy(catalogAttributeHierarchy: ICatalogAttributeHierarchy): Promise; /** * Deletes attribute hierarchy */ deleteAttributeHierarchy(attributeHierarchyId: string): Promise; /** * Gets valid descendants for given attributes */ getValidDescendants(attributes: ObjRef[]): Promise; /** * Gets hierarchy template for date dataset */ getDateHierarchyTemplates(): Promise; } //# sourceMappingURL=index.d.ts.map