import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ValtechAuthConfig } from '../auth/types'; import { AppRequest, RequestComment, RequestTypeConfig, RequestStatus, CreateRequestPayload, UpdateRequestPayload, TransitionPayload, AddCommentPayload, ListRequestsParams, ListRequestsResponse, ListCommentsResponse, ListRequestTypesResponse, CreateRequestTypePayload, UpdateRequestTypePayload } from './types'; import * as i0 from "@angular/core"; export declare class RequestService { private config; private http; constructor(config: ValtechAuthConfig, http: HttpClient); private get baseUrl(); private get typesUrl(); createRequest(payload: CreateRequestPayload): Observable<{ requestId: string; request: AppRequest; }>; createAnonymousRequest(payload: CreateRequestPayload): Observable<{ requestId: string; request: AppRequest; }>; listRequests(params?: ListRequestsParams): Observable; listMyRequests(params?: ListRequestsParams): Observable; getRequest(id: string): Observable; updateRequest(id: string, payload: UpdateRequestPayload): Observable; transition(id: string, payload: TransitionPayload): Observable<{ status: RequestStatus; }>; addComment(requestId: string, payload: AddCommentPayload): Observable; listComments(requestId: string): Observable; listRequestTypes(): Observable; getRequestType(typeId: string): Observable; createRequestType(payload: CreateRequestTypePayload): Observable; updateRequestType(typeId: string, payload: UpdateRequestTypePayload): Observable; deleteRequestType(typeId: string): Observable; private buildQueryString; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }