import { EventEmitter } from '@angular/core'; import { Workflow } from '../../models/workflow'; import { WorkflowLog } from '../../models/workflow-log'; import { ApiService, RestParameters } from '../api/api.service'; import { EnvironmentService } from '../environment/environment.service'; import * as i0 from "@angular/core"; export interface WorkflowServiceLogsOptions { since?: string; tail?: number; } export declare class WorkflowService { private apiService; private environmentService; basePath: string; onCreate: EventEmitter; onDelete: EventEmitter; onLogs: EventEmitter; onRead: EventEmitter; onUpdate: EventEmitter; constructor(apiService: ApiService, environmentService: EnvironmentService); count(parameters: RestParameters): Promise; create(parameters: Partial): Promise; delete(_id: string): Promise; find(parameters: RestParameters): Promise; findOne(_id: string): Promise; logs(_id: string, nodeId: string, parameters?: WorkflowServiceLogsOptions): Promise; update(parameters: Partial): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }