/** @packageDocumentation * @module Editing */ import { CustomAttributeClass, CustomAttributeClassProps, CustomAttributeContainerType, SchemaItemKey, SchemaKey } from "@itwin/ecschema-metadata"; import { SchemaContextEditor } from "./Editor"; import { ECClasses } from "./ECClasses"; /** * @alpha * A class extending ECClasses allowing you to create schema items of type CustomAttributeClass. */ export declare class CustomAttributes extends ECClasses { constructor(schemaEditor: SchemaContextEditor); protected get itemTypeClass(): typeof CustomAttributeClass; create(schemaKey: SchemaKey, name: string, appliesTo: CustomAttributeContainerType, displayLabel?: string, baseClassKey?: SchemaItemKey): Promise; /** * Creates a CustomAttributeClass through a CustomAttributeClassProps. * @param schemaKey a SchemaKey of the Schema that will house the new object. * @param caProps a json object that will be used to populate the new CustomAttributeClass. Needs a name value passed in. */ createFromProps(schemaKey: SchemaKey, caProps: CustomAttributeClassProps): Promise; } //# sourceMappingURL=CustomAttributes.d.ts.map