import { Observable } from "rxjs"; import { IEntity } from "../models/entity"; import { Repo, RepoEntity } from "./types"; /** * Permanently removes an entity and it's associated data from supplied repository. The * entity must have an `id` field, remaining fields are optional. * * @remarks * * This can trigger cascading removal of all depanent objects associated with the entity. * For example removing a {@link Device} would remove all {@link LogRecord}s associated * with it. * * @param repo - The repo to remove entity from. * @param entity - The entity to remove. * @returns Squat. */ export declare function remove, TEntity extends IEntity = RepoEntity>(repo: TRepo, entity: Partial & Pick): Observable; //# sourceMappingURL=remove.d.ts.map