import 'nowjs-core'; import { BpmsEngine } from '../BpmsEngine'; import { QueryOptions, QueryResult, ScalarOptions, FilterExpression, IdExpression } from '../data/Repository'; import { BpmsService } from '../BpmsService'; import { SystemRepository } from './SystemRepository'; export interface SystemServiceOptions { systemRepository?: SystemRepository; name: string; } export interface BpmsSystem { id?: string; key?: string; icon: string; class: string; target: string; title: string; enabled?: boolean; name: string; displayOrder?: string; category?: string; tags?: string; } export declare class SystemService implements BpmsService { private bpmsEngine?; private systemRepository; private id; private options; constructor(bpmsEngine?: BpmsEngine | undefined, options?: SystemServiceOptions); static createService(options?: SystemServiceOptions): SystemService; static createService(bpmsEngine?: BpmsEngine, options?: SystemServiceOptions): SystemService; get Id(): string; get Name(): string; get BpmsEngine(): BpmsEngine | undefined; clear(): Promise; create(entity: T): Promise; remove(entityId: string): Promise; find(entityId: IdExpression): Promise; find(filter: FilterExpression): Promise; list(filter?: FilterExpression): Promise; count(filter: FilterExpression): Promise; query(options: QueryOptions): Promise>; scalar(options: ScalarOptions): Promise; }