import { WorkerAccount } from "@salaxy/core"; import { SalaxyContext } from "../../../services/index"; /** * Provides a standard user interface to edit a worker object. * The current implementation is bound to SalaxyContext.workers.current. * If you need to bind the model to some other item, you need to extend this code. */ export declare class NgWorkerDetailEditComponent { private context; constructor(context: SalaxyContext); /** The WorkerAccount model that is edited. */ readonly model: WorkerAccount; /** Save the current model back to repository */ save(): void; /** * Delete this item from repository. * Note that this may not always be possible. At least check model.isReadOnly */ delete(): void; /** Creates a new worker component to the currnt connection (does not commit to server yet). */ createNew(): void; }