@itwin/presentation-testing
Version:
Testing utilities for iTwin.js Presentation library
22 lines • 1.06 kB
TypeScript
/** @packageDocumentation
* @module IModel
*/
import { IModelDb } from "@itwin/core-backend";
import { Id64String } from "@itwin/core-bentley";
import { BisCodeSpec, Code, CodeScopeProps, ElementAspectProps, ElementProps, ModelProps, RelationshipProps } from "@itwin/core-common";
import { TestIModelBuilder } from "./IModelUtilities.js";
/**
* Default implementation of the IModel builder interface.
* @internal
*/
export declare class TestIModelBuilderImpl implements TestIModelBuilder {
private _iModel;
constructor(iModel: IModelDb);
insertModel<TProps extends ModelProps>(props: TProps): Id64String;
insertElement<TProps extends ElementProps>(props: TProps): Id64String;
insertAspect<TProps extends ElementAspectProps>(props: TProps): Id64String;
insertRelationship<TProps extends RelationshipProps>(props: TProps): Id64String;
createCode(scopeModelId: CodeScopeProps, codeSpecName: BisCodeSpec, codeValue: string): Code;
importSchema(schemaXml: string): Promise<void>;
}
//# sourceMappingURL=IModelBuilderImpl.d.ts.map