/** @packageDocumentation * @module Editing */ import { Format, SchemaItemFormatProps, SchemaItemKey, SchemaKey } from "@itwin/ecschema-metadata"; import { FormatType } from "@itwin/core-quantity"; import { SchemaContextEditor } from "./Editor"; import { SchemaItems } from "./SchemaItems"; /** * @alpha * A class allowing you to create schema items of type Format. */ export declare class Formats extends SchemaItems { protected get itemTypeClass(): typeof Format; constructor(schemaEditor: SchemaContextEditor); create(schemaKey: SchemaKey, name: string, formatType: FormatType, displayLabel?: string, units?: SchemaItemKey[]): Promise; /** * Creates a format through a SchemaItemFormatProps. * @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, formatProps: SchemaItemFormatProps): Promise; } //# sourceMappingURL=Formats.d.ts.map