/** @packageDocumentation * @module Editing */ import { SchemaItemKey, SchemaItemUnitProps, SchemaKey, Unit } from "@itwin/ecschema-metadata"; import { SchemaContextEditor } from "./Editor"; import { SchemaItems } from "./SchemaItems"; /** * @alpha * A class allowing you to create schema items of type Unit. */ export declare class Units extends SchemaItems { protected get itemTypeClass(): typeof Unit; constructor(schemaEditor: SchemaContextEditor); create(schemaKey: SchemaKey, name: string, definition: string, phenomenon: SchemaItemKey, unitSystem: SchemaItemKey, displayLabel?: string): Promise; createFromProps(schemaKey: SchemaKey, unitProps: SchemaItemUnitProps): Promise; } //# sourceMappingURL=Units.d.ts.map