import { WorkerAccount } from "@salaxy/core"; import { SalaxyContext } from "../../../services/index"; /** Provides a standard user interface to edit a worker object. */ export declare class NgWorkerListComponent { protected context: SalaxyContext; constructor(context: SalaxyContext); /** The item that is currently in edit / detail view */ readonly current: WorkerAccount; /** * Delete the item from repository. * Note that this may not always be possible. At least check model.isReadOnly * @param id - Identifier for the item to be deleted. */ delete(id: string): void; readonly list: WorkerAccount[]; setCurrentId(id: string): void; }