/** @packageDocumentation * @module Editing */ import { Constant, ConstantProps, SchemaItemKey, SchemaKey } from "@itwin/ecschema-metadata"; import { SchemaContextEditor } from "./Editor"; import { SchemaItems } from "./SchemaItems"; /** * @alpha * A class allowing you to create schema items of type Constant. */ export declare class Constants extends SchemaItems { protected get itemTypeClass(): typeof Constant; constructor(schemaEditor: SchemaContextEditor); create(schemaKey: SchemaKey, name: string, phenomenon: SchemaItemKey, definition: string, displayLabel?: string, numerator?: number, denominator?: number): Promise; /** * Creates a Constant through a ConstantProps. * @param schemaKey a SchemaKey of the Schema that will house the new object. * @param relationshipProps a json object that will be used to populate the new RelationshipClass. Needs a name value passed in. */ createFromProps(schemaKey: SchemaKey, constantProps: ConstantProps): Promise; } //# sourceMappingURL=Constants.d.ts.map