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