import { Observable } from 'rxjs'; import { Actor, ErrorResponse, Form, Paged, Task, WorkflowAction } from 'verben-workflow-ui/src/lib/models'; import { HttpWebRequestService } from 'verben-workflow-ui/src/lib/services'; import * as i0 from "@angular/core"; export declare class MyQueueService { private httpService; constructor(httpService: HttpWebRequestService); /** * Get tasks with pagination and sorting * @param skip Number of records to skip * @param limit Number of records to take * @param sortParam Sort parameter * @param sortOrder Sort order ('asc' or 'desc') * @returns Promise containing the tasks */ getTasks(skip: number, limit: number, sortParam: string, sortOrder: string): Promise | ErrorResponse>; /** * Get tasks with additional parameter, pagination and sorting * @param param Search parameter * @param skip Number of records to skip * @param limit Number of records to take * @param sortParam Sort parameter * @param sortOrder Sort order ('asc' or 'desc') * @returns Promise containing the filtered tasks */ getTaskWithParam(param: string, skip: number, limit: number, sortParam: string, sortOrder: string): Promise | ErrorResponse>; /** * Save multiple tasks * @param requests Array of tasks to save * @returns Promise containing the save operation result */ saveTasks(requests: Task[]): Promise; /** * Approve or reject multiple tasks * @param requests Array of tasks to save * @param isApproval True for approval, false for decline * @returns Promise containing the save operation result */ processTasks(requests: Task[], isApproval: boolean): Promise; /** * Delete multiple tasks * @param requestIds Array of request IDs to delete * @returns Observable containing the delete operation result */ deleteTasks(requestIds: string[]): Observable; getTasksForUser(user: string, skip: number, limit: number, sortParam: string, sortOrder: string): Promise | ErrorResponse>; getQueueTasksForUser(user: string, skip: number, limit: number, sortParam: string, sortOrder: string): Promise | ErrorResponse>; getPossibleTasksForUser(user: string, skip: number, limit: number, sortParam: string, sortOrder: string): Promise | ErrorResponse>; getNextActions(taskCode: string): Promise; getPreviousActions(taskCode: string): Promise; getAllPreviousActions(taskCode: string): Promise; getNextActors(taskCode: string, forCurrentStage: boolean, stageCode?: string): Promise; passOn(fromStage: string, toStage: string, task: Task, comment: string, recipient?: string): Promise; passBack(fromStage: string, toStage: string, task: Task, comment: string, recipient?: string): Promise; pickTask(targetStage: string, task: Task, comment: string, recipient?: string): Promise; unPickTask(targetStage: string, task: Task, comment: string, recipient?: string): Promise; followTask(actorId: string, task: Task): Promise; unFollowTask(taskId: string, actorId: string): Promise; reAssign(task: Task, comment: string, fromUser?: string, toUser?: string): Promise; skipTo(fromStage: string, toStage: string, task: Task, comment: string, recipient?: string, isBackward?: boolean): Promise; getCurrentFormsForTask(taskCode: string): Promise; fillForm(form: Form, taskCode: string): Promise
; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }