import { BaseDataPageService, FilterHandlerService, SortHandlerService } from 'verben-workflow-ui/src/lib/base'; import { ErrorResponse, FormEntity, Tag, Workflow, WorkflowOperation } from 'verben-workflow-ui/src/lib/models'; import { HttpWebRequestService } from 'verben-workflow-ui/src/lib/services'; import { WorkflowApiService } from './workflows.api'; import * as i0 from "@angular/core"; /** * Service for workflow API operations. * * `GetWorkflows`, `GetWorkflowsWithParam` and `SaveWorkflows` follow the base's * conventions for endpoint `Workflows`. Two do not, and are overridden below: * the search endpoint is **singular** (`SearchWorkflow`), and delete takes a * query string rather than a path segment. */ export declare class WorkflowsService extends BaseDataPageService { private api; constructor(server: HttpWebRequestService, filterHandler: FilterHandlerService, sortHandler: SortHandlerService, api: WorkflowApiService); getEndpoint(): string; /** Singular, unlike every other workflow endpoint. */ protected filterSearchUrl(skip: number, limit: number, sortParam: string, sortOrder: string): string; /** Query string, not a path segment. */ protected deleteUrl(itemIds: string[]): string; /** * Approve or reject workflows. Distinct from save: it posts to * `WorkflowAction/{isApproval}` and returns the updated records. */ processWorkflows(requests: Workflow[], isApproval: boolean): Promise; getOperations(): Promise; getForms(): Promise; getTags(): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }