import { TypeOf } from "../util"; import { EntityType, IEntity } from "../metadata"; export interface Builder { build(entities: IEntity[]): void; } /** * A service implements a connection to an api for loading, saving and deleting entities. * They must always return entities in their dto format (if they have one). */ export declare function BuilderFor(entityTypes?: EntityType[]): (type: TypeOf) => void; export declare function hasBuilderFor(entityClass: EntityType): boolean; export declare function getBuilderClass(entityType: EntityType): TypeOf; export declare function getAllBuilderClasses(): Map, TypeOf>;